-
Notifications
You must be signed in to change notification settings - Fork 50
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
Feature/st log tests #102
Feature/st log tests #102
Conversation
ignasirv
commented
Jul 15, 2022
- stLogTests
- Fix overflow at savemem (use LT + JMPC not JMPN)
- Fix bug at MSTORE
- Fix overflow at logX opcode (use LT + JMPC not JMPN)
- stEIP158Specific tests
- Bug at mstore8
- Selfdestruct should not deduct 25000 gas if the balance to transfer is 0, although the dest account is empty
- stBadOpcodesTests
- Small optimization (change EQ + JMPC to JMPN)
- At en deploy, if memSizeLinearPoseidon, should stop deploy smt store
b825ec4
to
3442be8
Compare
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.
😸
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.
😸
main/process-tx.zkasm
Outdated
@@ -414,6 +413,8 @@ endDeploy: | |||
; save offset memory and length to compute contract hash | |||
E :MSTORE(memOffsetLinearPoseidon) | |||
C :MSTORE(memSizeLinearPoseidon) | |||
; If 0 len, nothing to compute | |||
C - 1 :JMPN(handleGas) |
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.
good one! can be 2 lines before this check also ^^
3442be8
to
e3c9b71
Compare
Alias check in resulting Fp2 inverses computation