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

chore: Refactor precompile list from Hash to vec #823

Merged
merged 12 commits into from
Oct 25, 2023

Conversation

rakita
Copy link
Member

@rakita rakita commented Oct 20, 2023

Replace the precompile address check with something more robust. Precompiles are now saved inside a Vec and the search if account address is a precompile is done by binary search of that sorted Vec. This allows us to have arbitrary addresses inside precompiles.

Added a few comments and inlined JournalState functions.

@rakita rakita merged commit 885c0cc into main Oct 25, 2023
8 checks passed
@rakita rakita deleted the refactor_precompile_checks branch October 25, 2023 15:39
@github-actions github-actions bot mentioned this pull request Jan 12, 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.

None yet

2 participants