We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the function mulmod(evm)
mulmod(evm)
def mulmod(evm): a, b = evm.stack.pop(), evm.stack.pop() N = evm.stack.pop() evm.stack.push((a + b) * N) evm.pc += 1 evm.gas_dec(8)
this part evm.stack.push((a + b) * N) should be evm.stack.push((a * b) % N)
evm.stack.push((a + b) * N)
evm.stack.push((a * b) % N)
The text was updated successfully, but these errors were encountered:
you are right, could you do a PR?
Sorry, something went wrong.
No branches or pull requests
In the function
mulmod(evm)
this part
evm.stack.push((a + b) * N)
should beevm.stack.push((a * b) % N)
The text was updated successfully, but these errors were encountered: