Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 15 01:26
    Manik-Jain opened #101
  • Sep 01 17:25
    nurajc edited #100
  • Sep 01 17:21
    nurajc opened #100
  • Apr 08 15:39

    bertani on master

    feat: adds contract api compati… chore: changes supported compil… chore: rm deprecated .value(...… and 1 more (compare)

  • Apr 08 15:39
    bertani closed #98
  • Apr 08 15:19
    allemanfredi synchronize #98
  • Apr 08 15:19

    allemanfredi on solidity_0.6

    chore: rm deprecated .value(...… (compare)

  • Apr 05 18:52
    D-Nice commented #99
  • Apr 01 12:37
    BaldyAsh commented #99
  • Mar 28 20:52
    BaldyAsh opened #99
  • Mar 18 12:23
    allemanfredi synchronize #98
  • Mar 18 12:23

    allemanfredi on solidity_0.6

    chore: changes supported compil… (compare)

  • Mar 18 12:19
    bertani commented #98
  • Mar 18 10:09
    riccardopersiani review_requested #98
  • Mar 17 18:11
    allemanfredi review_requested #98
  • Mar 17 18:11
    allemanfredi opened #98
  • Mar 17 18:08

    allemanfredi on solidity_0.6

    feat: adds contract api compati… (compare)

  • Nov 12 2019 02:08
    emilianobonassi removed as member
  • Nov 12 2019 02:08
    emilianobonassi added as member
  • Sep 12 2019 09:12
    riccardopersiani unassigned #88
Oraclize Support
@oraclize-support
We have public instances running on all major ethereum testnets
bonedaddy
@bonedaddy
where are the addresses for them? i cant seem to find it
Oraclize Support
@oraclize-support
You don’t need to specify any OAR as they resolve automatically, similarly to the mainnet
bonedaddy
@bonedaddy
oh ok
Oraclize Support
@oraclize-support
If you want to dive deeper, here there are more details, but in order to use them you don t need to specify anything really, they resolve automatically https://github.com/provable-things/ethereum-api/blob/9f34daaa550202c44f48cdee7754245074bde65d/oraclizeAPI_0.4.25.sol#L324
bonedaddy
@bonedaddy
make sense, thanks
bonedaddy
@bonedaddy
when making a request to oraclize we specify the gas limit, if the callback from oraclize would go above this gas limit, does oraclize submit the TX to the blockchain at all
or does oraclize just not send the tx
Oraclize Support
@oraclize-support
@bonedaddy it is technically impossible to have 100% guarantee that the tx will fail before sending it onchain as the receiving contract may depend on the chain state which evolves over time and whose ultimate judges are miners, hence we always send it onchain regardless of the offchain "simulation" of the tx execution
bonedaddy
@bonedaddy
is there a docker image for the ethereum-bridge
Oraclize Support
@oraclize-support
we don't provide one but it should be simple to create one in case you need it
0xlegos
@0xlegos
@oraclize-support I can specify the gaslimit when I specify the callback. How do I specify the gasprice?
For instance you can use provable_setCustomGasPrice(4000000000);
0xlegos
@0xlegos
@oraclize-support I have seen, is it possible for me to get the current optimal gasprice directly in the contract and set it every time I request it?
Oraclize Support
@oraclize-support
@0xlegos - you could set up a Provable query to hit the API of the ethgasstation or similar in order to get a price before you then set your price.
Oraclize Support
@oraclize-support
@0xlegos we expect in the next few weeks to provide an onchain oracle for that but that's not available as we speak so you will need to proceed as described above, let us know if this works for you or not!
0xlegos
@0xlegos
@oraclize-support At present, if I don't specify the gasprice, what gasprice is used to generate the callback by default?
Oraclize Support
@oraclize-support
@0xlegos - the default is 20gwei.
0xlegos
@0xlegos
@oraclize-support Is there more detailed information about what to publish?
Yes, when I tested on the mainnet, it hasn’t arrived yet. I thought you would choose the average gasprice by default for the callback.
Oraclize Support
@oraclize-support
@0xlegos - the default is a constant otherwise users query prices would no longer be under their control.
0xlegos
@0xlegos
@oraclize-support Then if I use the provable_getPrice method to pass in the custom gaslimit parameter in the contract, the calculated gasprice is only the default price of 21Gwei, which is actually an inaccurate value on the main network. Is my understanding correct?
Yes, this is reasonable, I just make sure what I will do next
Oraclize Support
@oraclize-support
@0xlegos - the provable_getPrice method accepts as it's arguments a datasource and a gas limit. The gas price used in that calculation is the one you're set via your contract OR, if you've not set one, the default of 20gwei.
0xlegos
@0xlegos
@oraclize-support Okay, I see, is there an example to see how to get the best gasprice?
TENDA BLCX
@tendacx
Hi support, is there a way to know the range of egress IPs when using the Computational Data Source? This is necessary if we need to whitelist the Source IP of the t3 machine when it Mae's the calls to our API.
Oraclize Support
@oraclize-support
Hi @tendacx - there is no such list as they are not constant. You'll have to use some other credential options to allow it to interact with your API.
TENDA BLCX
@tendacx
Hi support, Is there a way to whitelist the source IPs of the t2.micro instance when using the computation data source. Perhaps there is a known range assigned to the load balancer or firewall of the egress IPs of the t2.micro instance from AWS?
Hi support, if we were to compile ngrok or localtunnel service in the docker machine spawned by the t2.micro instance could this achieve a static callback IP?
Oraclize Support
@oraclize-support
@tendacx potentially, but I would recommend differently, for instance you can use a partially encrypted query where you encrypt a secret apikey in the computation datasource arguments, then you use it to call your authenticated api. Would that work?
TENDA BLCX
@tendacx
Yes, that's feasible, if usi g a credentials based access at the app level. It seems impossible to have network level ACL because the t2.micro instance IPs are unknown, can't be known.
TristanPinkham
@TristanPinkham
Are there any resources or documentation explaining how to set-up an ethereum-bridge with the matic network?
Oraclize Support
@oraclize-support
Hi @tristanPinkham - the ethereum bridge is compatible with any network that follows the EVM spec. If Matic confirms to that spec, it'll be compatible out of the box. If Matic does not confirm to that EVM spec, then we currently don't support it.
bonedaddy
@bonedaddy
trying to debug why callbacks from oraclize aren't submitting any results. When oraclize makes the callback, does it lookup anything in smart contract variables or something like that?
bonedaddy
@bonedaddy
does oraclize throttle requests made through the etheruem bridge?
Oraclize Support
@oraclize-support
Hi @bonedaddy - the __callback is entirely under your control, since you write that function in your smart contract. The Provable service merely calls it with the string result of your query, and the queryId. As for why yours are failing, do you happen to have a query ID of one of your calls? There is no throttling on the ethereum-bridge either.
Jeevanjot Singh
@genievot
hello guys, I was wondering Can I also be a miner for provable?
Oraclize Support
@oraclize-support
Hi @genievot - the Provable oracle service has no mining requirements. Another Provable project, the pTokens, are currently progressing towards the next phase in which external validators are required. You can learn more about this project here: https://ptokens.io/
Jeevanjot Singh
@genievot
Nice ! thank you
Are there any grant programs you have to support the use of Provable for my project?
Oraclize Support
@oraclize-support
@genievot the service is almost free of charge and is currently operating at a loss to sustain projects in this space, so you can consider the service itself as a grant =D additionally we are always happy to help in this channel, in case you have any doubt
Jeevanjot Singh
@genievot
got it! thank you @oraclize-support it's nice to have you here :)
@oraclize-support can you please forward me the links where I can read what nodes process our query?
Oraclize Support
@oraclize-support
the queries are currently processed by our nodes but backed by authenticity proofs so you can have guarantees the data is authentic and hasn't been tampered with - we have done tons of presentations in the past few years to explain how they work (look on youtube for oraclize/provable), but here is a good starting point for you: http://docs.provable.xyz/#security-deep-dive
Jeevanjot Singh
@genievot
got it! Provable doing a great job, I will keep in mind that if I use this as a service then to report the progress here :)
one more thing @oraclize-support can I have multiple callback functions in a single contract?
Oraclize Support
@oraclize-support
@genievot - please do keep us informed! As for multiple __callback functions, your contract can only have the one which the Provable service will use to callback to. However you can use multiple different types of Provable calls in your contract. Then, by tracking the queryIds of those calls, you can have logic in your __callback function to change behaviour depending on which of your Provable queries is calling back. In this way you can mimic the effect of having multiple different __callback functions.
Jeevanjot Singh
@genievot
@oraclize-support brilliant idea, thank you. see you soon if I have a query