-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fix issue push at last opcode #398
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😸
|
||
opAuxPUSHA2: | ||
; check out-of-gas | ||
GAS - %GAS_FASTEST_STEP => GAS :JMPN(outOfGas) | ||
; read bytes from calldata | ||
D => E :CALL(readPush); in: [D,E: bytes to read] out: [E: value read] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D => E :CALL(readPush); in: [D,E: bytes to read] out: [E: value read]
Change comment, only in D, E it's just output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both are used at readPush as input
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true ^^
Fixed issue where last opcode of a contract is a push following issue 0xPolygonHermez/cdk-erigon#1073