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
Failed to call an external function of another contract #4310
Comments
@evgen-povt Could you please give some more information on your OS and web browser? Your issue seems to be related to #4162 which we're currently trying to track down. |
@bit-shift The difference with the #4162 is that my case has a warning for 0.4.21 either. And one major thing: Remix IDE is connected to the geth node, not Javascript VM. |
I think the problem here is that you did not enable Byzantium mode in geth: ethereum/go-ethereum#16931 |
Should be solved by #4259. |
Please comment if using byzantium mode in geth didn't solve the problem. |
Which version of Solidity you are using
0.4.21 vs 0.4.24
What was the source code
Which platform are you running on
Remix IDE + geth 1.8.11-stable on Mac
How to reproduce the issue
What was the result of the issue
The steps above work if the contracts are compiled with compiler 0.4.21.
But they fail if the contracts are compiled with compiler 0.4.24
Also in both cases the compiler prints warning 'Gas requirement of function Contract2.getContractValue(uint256) high: infinite.'
What the expected behaviour is
The contracts should work when compiled with 0.4.24
There is no the warning message.
The text was updated successfully, but these errors were encountered: