Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle failing in online compiler #57

Brianspha opened this issue Jun 14, 2018 · 2 comments


Copy link

commented Jun 14, 2018

Hi there for some reason the oracle fails to send a query when i try run it on the online remix compiler

i tried the example contracts and this is the message i get

VM error: revert.
revert The transaction has been reverted to the initial state.
Note: The constructor should be payable if you send value. Debug the transaction to get more information.

it fails on this line in the api's contract

OraclizeI oraclize;
modifier oraclizeAPI {

    if(address(oraclize) != OAR.getAddress()) //it fails here
        oraclize = OraclizeI(OAR.getAddress());


I was running the WolframAlpha example this happens with all the contracts


This comment has been minimized.

Copy link

commented Jun 14, 2018

If testing with JVM, can you please confirm that you are using which is our fork of remix with Oraclize module integrated, and using <=solc 0.4.20 for compatibility reasons?


This comment has been minimized.

Copy link

commented Oct 24, 2018

closing due to inactivity, recommended browser IDE to use is now the official Remix one, which is currently bundled by default with the Oraclize plugin under settings tab.

@D-Nice D-Nice closed this Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.