-
Notifications
You must be signed in to change notification settings - Fork 402
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
Upgrade EVM for better compatibility with ETH ecosystem #548
Comments
I have the same problem. |
Just to add more detail to this problem.
|
To follow up further on this issue, we can work around this problem by asking solc to emit code for homestead instead of byzantium:
The generated code would avoid using returndatacopy and returndatasize. Also, beware of the return value truncation issue: bytes, int256, small structs should be ok. |
👍 for upgrading the EVM. Just tried deploying my compiled contracts which was compiled with the newest It compiles and deploys fine on Remix though. |
An upgraded EVM is planned to be included in the x86 hard fork |
use my fork of solar, added go get -u github.com/ethgamble/solar/cli/solar |
Hi, I just wanted to confirm if I got it right: As of now, isn't there any way of calling a contract function from another contract in qtum? |
You can call other contract's functions in Qtum, make sure to compile both contracts with |
Thanks! Is there a way of compiling for that version using Remix? |
Just replying that question, using Remix's compiler version 0.4.21 will do it. |
Fixed here: #736 |
The popular OpenZeppelin contracts can't run on QTUM's EVM. Two instructions are missing:
There are also upcoming "revert with reason" instruction (EIP 140) that would help a lot with debugging. Toolchains and Solidity will soon have support for this.
The text was updated successfully, but these errors were encountered: