-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
A bug on opcode CALL #1224
Comments
The input is
The steps are
Isn't it a correct behavior? |
It's a correct behavior, but not a correct logic. Comment on
But i'm afraid it's not implemented in
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I executed ethereumj with a solidity program, I found that the requred gas is greater than left gas, throwing an exception.
org.ethereum.vm.VM#step
for example:
program.getGas()=100
gasCost=40
callGasWord comes from stack, it is 100 when call is contract call, and 0 when call is transfer. transfer is OK, but for contract call callGasWord is 100, gasLeft is 60, blockchainConfig.getCallGas will throw the exception.
The text was updated successfully, but these errors were encountered: