-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compiler error #64
Comments
This happens on the test net, but works on a private net running the most recent version of Ontology. |
did you use the lastest compiler to run the on ontology main net? I think you can check out the lastest tag |
So when running it with the latest version of the python compiler the script hash does not match the one with smartx version. When running it with the release version 1.1.0 it matches smartx. Why does the newer build of the compiler give a different script hash? |
because of different byte code generated |
Is it a problem that they have different byte code? Will that not effect the contract when being used? |
Would you recommend using the v1.1.0 compiler for releases to the mainnet? |
yes. that why I tag the v1. 1.0 |
Great, thanks! |
When compiling the Ryu NFT contract and running the
name
method I get the error:If I compile it with SmartX, it works. SmartX gives me the script hash
bd97b827693a1ab0aa2c61d647915851676daa8e
and the compiler locally gives me08bb4246c8ef7c3891c46749b02d07ada3fdac07
.The text was updated successfully, but these errors were encountered: