Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 11 23:57
    eduardoamdev commented #102
  • Jul 07 13:58

    oliviera9 on add-polygon-oar

    (compare)

  • Jul 07 13:58

    oliviera9 on master

    feat: add Polygon mainnet OAR Merge pull request #111 from pr… (compare)

  • Jul 07 13:58
    oliviera9 closed #111
  • Jul 07 13:23
    oliviera9 synchronize #111
  • Jul 07 13:23

    oliviera9 on add-polygon-oar

    feat: add Polygon mainnet OAR (compare)

  • Jul 07 13:23

    oliviera9 on add-bsc-oar

    (compare)

  • Jul 07 13:19
    oliviera9 closed #107
  • Jul 07 13:19

    oliviera9 on master

    feat: add BSC mainnet OAR Merge pull request #107 from ol… (compare)

  • Jul 07 13:00
    oliviera9 commented #111
  • Jul 07 12:46
    oliviera9 synchronize #111
  • Jul 07 12:46

    oliviera9 on add-polygon-oar

    feat: add Polygon mainnet OAR (compare)

  • Jul 07 11:54
    oliviera9 commented #111
  • Jul 07 11:54
    oliviera9 review_requested #111
  • Jul 07 11:53
    oliviera9 synchronize #107
  • Jul 07 11:51

    oliviera9 on add-bsc-oar

    feat: add BSC mainnet OAR (compare)

  • Jul 07 09:24
    oliviera9 synchronize #111
  • Jul 07 09:24

    oliviera9 on add-polygon-oar

    feat: add Polygon mainnet OAR (compare)

  • Jul 07 09:11
    oliviera9 opened #111
  • Jul 07 09:10

    oliviera9 on add-polygon-oar

    feat: add Polygon mainnet OAR (compare)

Oraclize Support
@oraclize-support
@nicolas-siplis glad you got it working correctly, on mainnet the delay/future-timestamp argument should get processed more accurately, without delays
coiny123
@coiny123
hi @oraclize-support any thoughts on my question above? haha
rawinsonde
@rawinsonde
hi @oraclize-support , getting 0 back as ethusd price for some reason from coinbase API, tx'n hash is 0x781c3650b7b595b0a5a5ba54af60ee10c294a9d220da1748563c3df70d3efe5f
Nicolás Siplis
@nicolas-siplis
Hey @oraclize-support , I was wondering if you had any examples of extracting multiple results in one query? Any format works, JSON/XML/HTML doesn't really matter, I'm just curious how those results get put together as a single string.
Oraclize Support
@oraclize-support
Hi @rawinsonde, the android proof service was having issues which has been solved, so if you can retry everything should work as expected
João Benno
@bennoXav
hello @oraclize-support , i'm having some troubles running a smart contract. the error reads: "Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" }".
Oraclize Support
@oraclize-support
@benno - this means your contract is failing to deploy for some reason or another. If you forced the transaction through, you'll see it'll revert somewhere. What are you doing and what is your environment?
João Benno
@bennoXav
the error seems to be with the "payable". Not enough eth on metamask isn't the problem.
I'm testing with the youtube views contract example: https://github.com/provable-things/ethereum-examples/blob/master/solidity/YoutubeViews.sol
pragma solidity >= 0.5.0 < 0.6.0;

import "github.com/provable-things/ethereum-api/provableAPI_0.5.sol";

contract YoutubeViews is usingProvable {

    string public viewsCount;

    event LogYoutubeViewCount(string views);
    event LogNewProvableQuery(string description);


    function __callback(
        bytes32 _myid,
        string memory _result
    )
        public
    {
        require(msg.sender == provable_cbAddress());
        viewsCount = _result;
        emit LogYoutubeViewCount(viewsCount);
        // Do something with viewsCount, like tipping the author if viewsCount > X?
    }

    function update()
        public
        payable
    {
        emit LogNewProvableQuery("Provable query was sent, standing by for the answer...");
        provable_query("URL", 'html(https://www.youtube.com/watch?v=9bZkp7q19f0).xpath(//*[contains(@class, "watch-view-count")]/text())');
    }


    constructor()
        public
    {
        update()
    }

}
Adolfo Soler
@AdolfoSoler_twitter
hello, i am getting an error in the functin __callback saying i need to specify override, how do i fix this?
TypeError: Overriding function is missing "override" specifier.
function callback(
^ (Relevant source part starts here and spans across multiple lines).
github.com/provable-things/ethereum-api/blob/master/provableAPI_0.6.sol:359:5: Overridden function is here:
function
callback(bytes32 _myid, string memory _result) virtual public {
^ (Relevant source part starts here and spans across multiple lines).
Kallol Borah
@kallolborah
@oraclize-support every once in a while, I see a HTTP query error for a URL that is correctly working otherwise. Is this is a provable issue ? Please see the log below from ethereum-bridge 5998c8 HTTP query result:
{
"result": {
"_timestamp": 1632625814,
"id": "cdbf9974417cd837613899afdfe6db6d67443d5587e9a81c99c8f0036f5998c8",
"daterange": [
1632625808,
1632627608
],
"_lock": false,
"id2": "480275701fa7888931d79d0e49ab5ab2662062936b42a14e8a06c70103c47326",
"actions": [],
"interval": 3600,
"checks": [
{
"errors": [
"ReadTimeout",
"parsing_helper.wrong_path"
],
"success": true,
"timestamp": 1632625813,
"results": [
""
],
"proofs": [
null
],
"match": true
}
],
"version": 3,
"_timestamp_creation": 1632625808,
"context": {
"protocol": "eth",
"relative_timestamp": 1632625805, "type": "blockchain",
"name": "eth_9DE4150C94"
},
"active": false,
"hidden": false,
"payload": {
"conditions": [
{
"query": "json(https://via-oracle.azurewebsites.net/rates/er/VXUSD_to_VXEUR).rate",
"proof_type": 0,
"check_op": "tautology",
"datasource": "URL",
"value": null
}
]
}
},
"success": true
}
[2021-09-26T03:10:14.356Z] ERROR HTTP query error
[
"ReadTimeout",
"parsing_helper.wrong_path"
]
Oraclize Support
@oraclize-support
Hello @kallolborah, are you sure that such api call doesn’t timeout (as the error suggests) every now and then? If it sometimes need more than X seconds (20 iirc) provable will fail and return an empty answer. Please make sure the apicall always returns in a short period of time.
Kallol Borah
@kallolborah
@oraclize-support thanks, the API timeout duration is set to 90 secs, but in these http query error cases, they return almost immediately. Not sure what is happening but we will check again. Another question I have is - is OAR required for ropsten/testnet deployment ? For some reason, the oracle service does not seem to be working on testnet.
Deepak Majjiga
@MajjigaDeepak
Guys, Can someone help me with step by step process(by referring docs or blogs) to implement a simple oraclized smart contract.
William Phan
@WilliamPhan_Lotus_gitlab
Hi, I can't receive the response from Provable for my request to get price on Coinbase via KOVAN testnet.
Is Provable work well on TESTNET?
William Phan
@WilliamPhan_Lotus_gitlab
Hi @oraclize-support
robertmagier
@robertmagier
Hi @oraclize-support I think kovan testnet doesn't work. Last calls of callback functions happened almost three days ago. Can you please have a look ?
victor
@victor91865496_twitter
Hi Oraclize support,
Kallol Borah
@kallolborah
@oraclize-support oracle service on local host using ethereum bridge is working but not working on ropsten - is the service up and running ??
Oraclize Support
@oraclize-support
Hi, there may be problems on some testnets, we will investigate tomorrow, sorry for the inconvenience
victor
@victor91865496_twitter
Hi Oraclize support. Thank you for your help. I’m not able to emit logs from the __callback function and therefore I can’t inform my frontend of the result of the query. Is there anything I’m missing to correctly log a event?
robertmagier
@robertmagier
Hi @oraclize-support any update on test networks ?
gwills
@gwills:matrix.org
[m]
so...is provable depreciated beyond reasonable use? Looks like the testnet is down, and I can't find any examples that will compile. Even the 0.4.22 versions on docs.provable.com fail as the import line to "github.com/provable-things/ethereum-api/provableAPI_0.4.25.sol"; no longer works...
Oraclize Support
@oraclize-support
Hello everyone, we apologize for not having provided any feedback. We are currently experiencing issues on most of the testnets netowrk which we planned to solve in the next few hours. We will post here any updates soon
Oraclize Support
@oraclize-support

@gwills:[matrix.org](http://matrix.org) probably remix doesn't support github sym link anymore. Try to replace the import string with the following one:

import "github.com/provable-things/ethereum-api/provableAPI_0.5.sol";

This should compile fine

Oraclize Support
@oraclize-support
Hello everybody, kovan testnet has been restored, unfortunately the ropsten one needs more time since our node provider stopped supporting a feature required by our ethereum bridge. We are working on it to restore the service there as soon as possible
robertmagier
@robertmagier
@oraclize-support I am not sure if it is working. https://kovan.etherscan.io/address/0x8ebca32bd42d86ee51f762e968667e40b612b6f1
No callback called for the last 7 days.
Oraclize Support
@oraclize-support
@robertmagier very strange, we just retried and it worked. Could you please share the id of the query that didn't work?
robertmagier
@robertmagier
@oraclize-support 0x80fa2d62303d6c5949391fc89f6f9e66a836f49af8265b7e75026eb86a1874ab
where can I see if your Smart Contracts execute callbacks ?
Oraclize Support
@oraclize-support
on testnets you cannot really see that easily
robertmagier
@robertmagier
It would make things much easier if I can see if there was some issue in my function or you just don't call the callback. I thought this address is somethign I can use: https://kovan.etherscan.io/address/0x8ebca32bd42d86ee51f762e968667e40b612b6f1 Because this is the SC which executes callback. I think...
Oraclize Support
@oraclize-support
you're right @robertmagier, there were still other issues on our end and we apologies for giving you a false advert. Kovan testnet should work now, could you please retry and let us know?
robertmagier
@robertmagier
@oraclize-support Yes. It works now. Thank you. I hope this is not going to be like that on mainnet. :/
Oraclize Support
@oraclize-support
@robertmagier we can reassure you that the infrastructure and components used on mainnet are different
Nicolás Siplis
@nicolas-siplis
@oraclize-support hey guys, i find myself in a... difficult situation. i've coded myself out of some funds, which basically will be burned unless i force an oracle query to execute with a particular result. is this something you could give me a hand with?
Nicolás Siplis
@nicolas-siplis
@oraclize-support the query I mentioned in my comment above should've executed about 20 minutes ago, but that hasn't happened. Can you guys please give me some assistance with this? We're talking about 0.3 ETH here so it's not a huge amount of money but it would be GREAT if there was some way to recover it.
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