Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 25 23:47
    Amaris101 opened #109
  • Apr 25 23:46
    Amaris101 commented #108
  • Apr 24 01:45
    Amaris101 opened #108
  • Feb 23 19:29
    oliviera9 opened #107
  • Jan 28 21:57
    chitokiser opened #106
  • Jan 11 10:03
    vishnu-rai commented #100
  • Jun 16 2021 21:09
    aelmanaa edited #105
  • Jun 16 2021 21:09
    aelmanaa edited #105
  • Jun 16 2021 09:54
    aelmanaa opened #105
  • Jun 15 2021 10:08
    nft1126 commented #100
  • Jun 15 2021 10:02
    lhoenig commented #100
  • Jun 15 2021 09:58
    nft1126 commented #100
  • Jun 08 2021 15:07
    lhoenig commented #100
  • Jun 08 2021 14:52
    nft1126 commented #100
  • Jun 08 2021 14:34
    lhoenig commented #100
  • Jun 08 2021 14:34
    lhoenig commented #100
  • Jun 08 2021 14:13
    nft1126 commented #100
  • May 13 2021 21:53
    lhoenig commented #100
  • May 13 2021 18:37
    citizen-stig commented #99
  • May 12 2021 14:11
    lhoenig commented #100
That's the transaction where the query was created. If there's a way for you guys to force query execution to return a particular result, PLEASE let me know before doing it!
Oraclize Support
@oraclize-support
@nicolas-siplis we cannot forge any result unless this is what your contract queries asked for. If you are missing a mainnet result we need to dive deeper to see ifthe error was in your or our end. We’ll look into it and let you know. Feel free to send us an email to info@provable.xyz too, thanks
Nicolás Siplis
@nicolas-siplis
Understandable, at the very minimum I need the query to actually execute so that at least part of the funds can be recovered. Also sent you guys an email, but can you give me an ETA for a solution?
Oraclize Support
@oraclize-support
@nicolas-siplis the calback was just sent. It wasn't sent as you haven't specified any gasprice so the default free one of 20 gwei got used, which is insufficient to get the tx accepted by nodes as the baseprice is currently much higher than that. We have sent it back to your contract with 120 gwei of gasprice paying out the gas for that tx put of our pocket, for the future please select the correct gasprice when sending the query (as recommended by the documentation). Callback tx: https://etherscan.io/tx/0x90034ade4512ac63a7cc201e68011c9a766e0d3a2252103f0f94460ea5e7227d
Alexey
@NazarovALAL
Hello. Does anyone have a working remix example of getting site data using xpath? I am trying to reproduce https://github.com/provable-things/ethereum-examples/blob/master/solidity/YoutubeViews.sol and deploy to Kovan testnet. It's running without errors but, I can't wait results, they are blank, it's seems __callback does not event start. (I slightly changed xpath to a new manner but it still not works)
Oraclize Support
@oraclize-support

Hi @NazarovALAL, unfortunately YouTube doesn't provide the same HTML code you see when accessing the page through your browser, hence why the xpath clause fails to get the views. This happened to other users before and the code there is a bit out of date for that purpose but still valid as an example if you want to access an HTML through .xpath().

You can do a test by looking for an website where you get the same HTML by other means other than the browser (using curl or wget for example)

Alexey
@NazarovALAL
@oraclize-support Hi, ty for answer, as I said I changed xpath for new version of youtube. Actually example with "provable_query("WolframAlpha", "temperature in London");" was working yesterday, but today, like in the example with YouTube I can't wait response, maybe temporary problems
Nicolás Siplis
@nicolas-siplis
@oraclize-support hey guys, are you having issues in the Ropsten testnet? A callback should've executed about 10 mins ago but still got nothing
Oraclize Support
@oraclize-support
Hi @nicolas-siplis, we are checking the ropsten service for you
Oraclize Support
@oraclize-support
@nicolas-siplis - in order to fix this we would need an update of our Ropsten client nodes and a re-sync which requires time. In the meantime you can use the Kovan testnet which should work fine
Nicolás Siplis
@nicolas-siplis
@oraclize-support thanks for the update, do you know of any faucets for Kovan? I'll need to redeploy my contract on the network
Oraclize Support
@oraclize-support
@nicolas-siplis this one should work fine https://gitter.im/kovan-testnet/faucet#
Nicolás Siplis
@nicolas-siplis
Yeah tried that but 0.001 ETH is too low for my needs. Found https://app.mycrypto.com/faucet which gives 0.01 3 times, which is just enough!
Oraclize Support
@oraclize-support
Ah thanks for sharing then ; )
zachrosen
@zachrosen
What's size limit when returning data from oraclized API? Can I return a map that's iterated over by contract?
Oraclize Support
@oraclize-support
@zachrosen - since the returned data is a string, you're limited either by what you're willing to pay for gas wise, or the block gas limit.
Nicolás Siplis
@nicolas-siplis
@oraclize-support Hi there! I'm wondering if there's any detailed documentation on the XML language used to parse query results. I thought it was pretty much a copy of JsonPath, but looks like that isn't actually the case
I know you can use XPath for XML as well as HTML, but I'm wondering how Provable's simplified XML-specific path specification works
Oraclize Support
@oraclize-support
Hi @nicolas-siplis, thanks for your question. As XML-specific we are using the xmltodict python module, you can have more details here: https://pypi.org/project/xmltodict
Nicolás Siplis
@nicolas-siplis
Thanks!
Oraclize Support
@oraclize-support
@wiskDev - you've got it!
Eric Vander Wal
@ericvanderwal
@oraclize-support , who should I contact for adding support to a L2 EVM compatible chain that is not on ethereum ?
Oraclize Support
@oraclize-support
@Hedge-FX have you tried importing the latest version? It should work fine with little to no changes: https://github.com/provable-things/ethereum-api/blob/master/provableAPI_0.6.sol
@ericvanderwal please send us an email, info@provable.xyz
1 reply
Minh Nguyen
@nhatminh12369
@oraclize-support Hi! Does provable working on Kavan test net at the moment? I am trying the YoutubeViews.sol and able to run the update method but the callback never get called.
Minh Nguyen
@nhatminh12369
Rinkeby doesn't seem to work too
DavideCl
@dave_95:matrix.org
[m]
I have the same issue, I can't see the __callback Txn by using Rinkeby Testnet
Minh Nguyen
@nhatminh12369
Hey @oraclize-support , btw, here is my query id on Kovan 0x1d241954e00599797de78a4030297f9e4c45b77a4f018e2ee68d748bb104017c, just in case u need it for investigation. I also try the https://app.provable.xyz/home/check_query but it unable to find my query. I am not sure if that tool only check for query on the main net?
Oraclize Support
@oraclize-support
Hi @nhatminh12369, will check shortly, that check query tool should work for testnet too
Hedge-FX
@Hedge-FX
Hello, im looking to pass a API response into my DeFi Smart contract. Any advice on handling the response and passing it into a function?
Oraclize Support
@oraclize-support
@Hedge-FX - the response comes as a string to your __callback function. From there you can do whatever you wish with it, including passing to to other functions etc.
Hedge-FX
@Hedge-FX
@oraclize-support fantastic thanks, im new to oracles
Hedge-FX
@Hedge-FX
@oraclize-support do you have any examples i could follow? I want to pass the_callback into a minter function
Minh Nguyen
@nhatminh12369
Hey @oraclize-support , I saw that my query on Kovan already received a __callback, however, the viewsCount is still empty meaning that the __callback didn't send a correct value
Oraclize Support
@oraclize-support
@Hedge-Fx the callback is the entrypoint so if you want to do anything with the result you can postprocess it within callback and then call your own minter function straight from there, there are plenty of examples in our official doc at docs.provable.xyz or on github in the ethereum-examples repo of the provable-things org
@nhatminh12369 please share here the txid of the callback on kovan or check yourself from the tx payload what was received by the callback method: there may be an issue with your query or with the way your callback parses the result
Minh Nguyen
@nhatminh12369
@oraclize-support This is the txid of the callback transaction on kovan: 0x0188b254d00cb09991de70547b4ada3a0d111c5d493d6c3f6c5f91afce356bab. I checked on Etherscan, the _result parameter is empty.
Oraclize Support
@oraclize-support
@nhatminh - what does your query solidity code look like?
Minh Nguyen
@nhatminh12369
function update() public payable
    {
        emit LogNewProvableQuery("Provable query was sent, standing by for the answer...");
        currentID = provable_query("URL", 'html(https://www.youtube.com/watch?v=9bZkp7q19f0).xpath(//*[contains(@class, "watch-view-count")]/text())');
    }
I just added the currentID parameter to store the query id, the rest is the same as the sample code in YoutubeViews.sol
Oraclize Support
@oraclize-support

@nhatminh12369 - unfortunately that sample code is deprecated (we will mark as deprecated soon, since there are a lot of users reporting the same issue) because the youtube html page retrieved by our engine misses the html element containing the number of views.
You can check that yourself running this command

`curl https://www.youtube.com/watch?v=9bZkp7q19f0` -o youtube.html

and check the content of the youtube.html\ page.

We suggest you to run the test above before running the query in order to be 100% sure that the html element you're looking for exists inside the page.

Minh Nguyen
@nhatminh12369
@oraclize-support it worked for me now when I try with my own API. However, it took 1h20 mins for the callback to be called on Kovan and that's very long (https://kovan.etherscan.io/address/0xCB511504a4Dd627a395d043a9C41a23A1CB47706). I tried ChainLink before and it usually took around 1-2 minutes to receive the callback call. Why does Provable take so long to make the callback call? Is it the same on other test nets and main net?

unfortunately that sample code is deprecated

btw, thanks for letting me know, I didn't notice that an html element was missing

Kisile
@Kisile
Anyone else been having issues today? Getting no __callbacks on rinkeby
@oraclize-support your service down or?
Kisile
@Kisile
Same for Kovan
Oraclize Support
@oraclize-support
I can confirm we are having some issues on some testnets, the ethereum-bridge component being used there isn't super stable unfortunately - on mainnet that's not being used. We’ll restore the service on testnet in the next few hours
1 reply
Dhanush
@Dhanush49294653_twitter
Hey @oraclize-support is provable implemented in polygon network?
Oraclize Support
@oraclize-support
Hi @Dhanush - the oracle is not implemented on Polygon, but token bridges are.
coiny123
@coiny123
hi all, there's a new EVM network called songbird. is there a way i can use the wolfram 'random number' question on songbird? i have to deploy the provable contract on songbird right?