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

Refactor revm_spec function to simplify hardfork detection logic #74

Closed
wants to merge 2 commits into from

Commits on Oct 27, 2024

  1. Refactor revm_spec function to simplify hardfork detection logic

    Replaced individual hardfork checks in revm_spec with a loop-based approach using find. Moved hardfork-to-SpecId mapping logic to a separate helper function (map_hardfork_to_spec_id) for cleaner and more maintainable code.
    cypherpepe authored Oct 27, 2024
    Configuration menu
    Copy the full SHA
    efae205 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Update revm_spec to use forks_iter() for hardfork iteration

    Replaced .iter() with .forks_iter() in revm_spec as recommended to improve clarity when iterating through hardfork conditions.
    cypherpepe authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    e0a3835 View commit details
    Browse the repository at this point in the history