Skip to content

Use SpecId::is_enabled_in for spec checking #2936

@eyusufatik

Description

@eyusufatik

Summary

requests_hash: if let SpecId::PRAGUE = evm_spec {
    Some(EMPTY_REQUESTS_HASH)
} else {
    None
},

this is not really okay, bc once we upgrade to whatever comes after prague, we'll still need to use EMPTY_REQUESTS_HASH. but this is just making an if check

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions