Skip to content

Reuse validate_initial_tx_gas in EVM handler #2222

@klkvr

Description

@klkvr

this duplicates a bunch of revm logic right now, ideally we tune it a bit more so that we can reuse revm's function

hmm @rakita can we not have default impl for validate_initial_tx_gas take gas params? it's abstracted but not propagated deep enough it seems and we're still forced to duplicate e.g access list checks

Originally posted by @klkvr in #2166 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions