Skip to content
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

Merged
merged 4 commits into from
Jul 15, 2022
Merged

Feature/st log tests #102

merged 4 commits into from
Jul 15, 2022

Conversation

ignasirv
Copy link
Contributor

  • 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

Copy link
Contributor

@krlosMata krlosMata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😸

Copy link
Contributor

@laisolizq laisolizq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😸

@@ -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)
Copy link
Contributor

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 ^^

@ignasirv ignasirv force-pushed the feature/stLogTests branch from 3442be8 to e3c9b71 Compare July 15, 2022 10:27
@ignasirv ignasirv merged commit 71f2333 into main Jul 15, 2022
@ignasirv ignasirv deleted the feature/stLogTests branch July 15, 2022 10:27
krlosMata pushed a commit that referenced this pull request Jan 26, 2024
Alias check in resulting Fp2 inverses computation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants