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

Lower SafetyChecker gas to below 1.5 million #214

Closed
wants to merge 42 commits into from

Conversation

geohot
Copy link
Contributor

@geohot geohot commented Aug 13, 2020

Depends on "kall" compiler change.

Note that opcodeWhitelist is now hardcoded, this needs to be updated.

ExternStateToken.json is also failing, looking into why.

@geohot geohot changed the title Lower gas to below 1.5 million Lower SafetyChecker gas to below 1.5 million Aug 13, 2020
@geohot
Copy link
Contributor Author

geohot commented Aug 13, 2020

Yea, it seems like the ExternStateToken.json thing isn't a bug, the contract actually contains "JUMPDEST 0xD2". I don't think the compiler change could have caused this, there's probably just randomness or something.

(note that you can comment out all the speed stuff and the contract still works)

@geohot
Copy link
Contributor Author

geohot commented Aug 13, 2020

Tests fixed!

@K-Ho
Copy link
Contributor

K-Ho commented Aug 20, 2020

closing in favor of #218

@K-Ho K-Ho closed this Aug 20, 2020
protolambda pushed a commit to protolambda/optimism that referenced this pull request May 1, 2022
This enables tracking code coverage across packages to see an increase
in code coverage due to the e2e test.
@mslipper mslipper mentioned this pull request May 16, 2022
bap2pecs pushed a commit to babylonlabs-io/optimism that referenced this pull request Jul 31, 2024
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.

2 participants