Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 02 13:07
    cTatu commented #103
  • Mar 11 09:31
    gskapka commented #78
  • Feb 12 13:08
    ytrezq commented #78
  • Feb 12 02:41
    ytrezq opened #104
  • Feb 09 05:47
    kroos47 commented #103
  • Feb 04 09:55
    kroos47 commented #103
  • Feb 04 09:55
    kroos47 closed #103
  • Feb 04 08:39
    kroos47 opened #103
  • Jan 14 08:12
    MoMannn closed #102
  • Jan 14 08:12
    MoMannn commented #102
  • Jan 13 14:15
    MoMannn edited #102
  • Jan 13 13:06
    MoMannn opened #102
  • Nov 15 2020 01:26
    Manik-Jain opened #101
  • Sep 01 2020 17:25
    nurajc edited #100
  • Sep 01 2020 17:21
    nurajc opened #100
  • Apr 08 2020 15:39

    bertani on master

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

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

    allemanfredi on solidity_0.6

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

  • Apr 05 2020 18:52
    D-Nice commented #99
execc
@execc
I've depoyed my contract to mainnet
Here i've created a query
Query ID is C9F3B882D4481FD45B3BEF685E287AD1485581FF1DCE49FDD70B515F253E324F
However, I can not check it's status
image.png
Can you take a look at it pls?
Oraclize Support
@oraclize-support

@execc excellent :) I see the contract has received the callback correctly here @ https://etherscan.io/tx/0x4d5745c2790d044c1378f5fcc7400d7815b90dac3668e6ed29284af55bc73293

do you have any specific question re that query?

Milan Velebit
@mvelebit

@oraclize-support Any clues about my issue? I've tried it again, same result, query id: f2f2fb69ba2a8af545151c76ff0e51e8962a17bca7bb0edf843f5488f2c92a66
txn hash:
0xf569dab90f01908e0facd57b8e0e81085505ec4831dcaab8d249d61d142b8d72

It says that a transaction from your address to my contract failed with an out of gas error :/

Perhaps I need to rework my logic so that the callback function doesn't actually execute anything else?
Milan Velebit
@mvelebit
Okay, I just noticed a section in the docs that I missed regarding that, my bad. Thanks!
sand3sh
@sand3sh
Is the service down any provable call I make with or without ether I see no response via Callback its making me doubtful to use
I deployed in Ropsten network at this address 0x0940E224165273b12468f36bd5d06eB625736283
Received no callbacks yet
What is the problem ?
Oraclize Support
@oraclize-support
Hi @sand3sh - our ropsten node is encountering some issues. The service is currently fine on other public testnets such as Rinkeby.
Milan Velebit
@mvelebit
@oraclize-support Is there a certain gas threshold that causes callback invocations to timeout/fail? I have noticed that if I remove all of the computation logic from my _callback, it works as intended. If I keep the computation logic within the _callback AND NOT increase the provided max gas to provable_query, I see that it fails (on etherscan) with an out of gas error (as intended, all is ok). However, if I keep the computation logic and increase the max gas a hundredfold or whatever (plenty of gas, most likely more than enough), no errors are thrown, nothing happens (the callback is probably invoked but it never finishes and I see no events from it) but I see that the query has passed on query checker tool. What I'd like is to keep the parsing logic (I need to parse a string of int numbers delimited by ",", like "1,2,3,4" into uint[1,2,3,4]) within the _callback invocation and not just store it as a string in the contract, but it seems that the invoking contract doesn't like that. Any suggestions? Can't wait to sort all of this out and migrate to mainnet..
Oraclize Support
@oraclize-support
@mvelebit can you share here the txid for the last scenario you have described?
This would help us to dive deeper
Jamie M
@Jamchello
@oraclize-support Any chance the Ropsten node will be repaired anytime soon?
Milan Velebit
@mvelebit
@oraclize-support Found a workaround, no worries, thanks
@oraclize-support Btw, I think Rinkeby is currently experiencing some issues, I'm not getting my callback invoked and I can't seem to check the query status on your tool, example query id:
0x74d2456fc9d4f200794fc3bb12467aecc775e0aaf04ab41e605d51615d623c4b
Jonathan Weeks
@JohnWeeks1

@oraclize-support Hello, How would I do a post request inside the callback function after I've got a result? Here is an example.

function callback(bytes32 myid, string result) public { 
    if (msg.sender != provable_cbAddress()) revert(); 
    statusFromDatabase = result; 
    provable_query("URL", 
        "http://mywebsite/api/pending-orders", 
        '{"address":"0x5b38da6a701c568545dcfcb03fcb875f56beddc4", "status":"1"}' 
    ); 
}

Everything I try seems to not work. Thanks in advance

Oraclize Support
@oraclize-support
Hi @JohnWeeks1 - to perform a post request you'll need to use the computation datasource. We have a great example here for you to play with: https://github.com/provable-things/ethereum-examples/tree/master/solidity/truffle-examples/url-requests
Jonathan Weeks
@JohnWeeks1
@oraclize-support Thanks for the help
Milan Velebit
@mvelebit
@oraclize-support Hey guys, is the Rinkeby node online? I still can't seem to check out my queries on the query checker :/
Oraclize Support
@oraclize-support
Hi @mvelebit - the rinkeby instance actually dogfoods the ethereum_bridge , and so if you require accurate insight on your testnet queries via the check query tool, you'll get more information using Ropsten.
1 reply
udkreddySomish
@udkreddySomish
Hii guys
Does Oraclize support Matic network?
Oraclize Support
@oraclize-support
Hi @udkreddySomish - will integrate wherever there is demand, so we'll note you demand for matic and look into integrating there.
Jamie M
@Jamchello

@oraclize-support Any chance the Ropsten node will be repaired anytime soon?

@oraclize-support

┗(°0°)┛
@DanMarti93_twitter
Hello guys, are you aware of any issue in Ropsten?
I do not receive any callback from the oracle when requesting a random number.
Thanks
hisarkopite
@hisarkopite_twitter

@oraclize-support i have set up oraclize on my ethereum based private network with the help of ethereum bridge module.

Now in docs it is mentioned that some account will be deducted from my contract to pay for the fees.

The fee consist of two parts, as mentioned in the docs-
a) The amount of Wei which corresponds, using a recent exchange rate, to the USD price for the data source and the authenticity proof requested
b) The amount of Wei which Provable will spend in gas for sending the callback transaction

But on my private network , amount is being deducted from my contract and also my account is being used to send the callback transaction.

i run the bridge with this command

node bridge.js -H https://myRpcUrl -a 7 --oar 0x519039A70733C152344d4517020C2362c580Ef20

and this account 7 is actually paying the callback transaction fees, gasLimit 200000, gasPrice 20GWei

Am i paying extra or is this how it works on ethereum based private networks ?

Oraclize Support
@oraclize-support
@hisarkopite_twitter - That account is being used to make the callback transactions itself, which accounts for the spending you're seeing happen on that account.
hisarkopite
@hisarkopite_twitter

@oraclize-support i don't think the same happens on ethereum mainnet or testnets, on private network i have funded the above mentioned account from which the callback transactions are being made.

I don't think on ethereum networks people fund accounts for the callback transactions.

Oraclize Support
@oraclize-support
@hisakopite - you are correct thta the same thing doesn't happen on the public testnets & mainnet, because there the callback address(es) are controlled by the Provable service. So on those networks you won't see their balances changes unless you're specifically looking to.
Hassan Abdel-Rahman
@habdelra
@oraclize-support is there an outage with Rinkeby right now? My query ID is 0x13483a83d1b8d09c99f7011828c71bdaf7acdc7b45123f40959934d21a6d2310, which was issued in transaction 0x9243dc2451edface44ffe1759de63e8acf885810e23025c8b2fce7fb9013709e on rinkeby for a nested computation query, but I've never received a callback
2 replies
phyermax
@phyermax
creation of Spectrum errored: Internal JSON-RPC error. { "code": -32000, "message": "gas required exceeds allowance (30000000) or always failing transaction" }
image.png
why!!! please!
Kallol Borah
@kallolborah
@oraclize-support do you support Quorum at all ? We are deploying some contracts on quorum and I just do not see a way of funding the oracle service.
poa010101
@poa010101
@oraclize-support when Provable start supporting Binance Smart Chain?
Oraclize Support
@oraclize-support

@phyermax - what network are you on?

@kallolborah - we are not integrated on Quorom at the moment but we integrate wherever there is demand and so we will log your demand.

@habdelra - thank you for your info and your helping that other user - much appreciated!

@poa010101 - the oracle is not integrated on Binance yet either but we'll note your demand.

Jonathan Weeks
@JohnWeeks1
@oraclize-support Hi guys, me again.
I still can't seem to get this working. Trying to make a post request inside a callback function programmatically (without clicking a button to trigger it). It's working fine if I put it as a public function and click it, but still, nothing gets sent to my DB if I want to do it straight after the callback function has been called.
What I'm trying to do is a get request and when the callback is fired then do the post request
Thanks again
function callback(bytes32 myid, string result) public { 
    if (msg.sender != provable_cbAddress()) revert(); 
    statusFromDatabase = result; 
    provable_query("URL", 
        "http://mywebsite/api/pending-orders", 
        '{"address":"0x5b38da6a701c568545dcfcb03fcb875f56beddc4", "status":"1"}' 
    ); 
}
┗(°0°)┛
@DanMarti93_twitter
provable for Ropsten is down since last week, any news?
Oraclize Support
@oraclize-support
@JohnWeeks1 - to make a POST request, you'd need to use the computation datasource since the URL datasource only supports GET requests. See here for an example: https://github.com/provable-things/ethereum-examples/tree/master/solidity/truffle-examples/url-requests
Milan Velebit
@mvelebit
Please post any updates here in case Rinkeby gets fixed as well. Thank you!
Oraclize Support
@oraclize-support
@mvelebit - rinkeby is back online!
1 reply
┗(°0°)┛
@DanMarti93_twitter
does this work on BSC?
Oraclize Support
@oraclize-support
@DanMarti93_twitter - the oracle is not yet implemented on the BSC chain, though we'll note your demand.