Skip to content

Configurable tx validation #3215

@rakita

Description

@rakita

Custom transaction should have the ability to choose what kind of validation they expect from revm, this could be done as a bitflags that has few options (Check base fee, check auth list, check blob fee, etc). This would allow custom transactions to opt into the validations they need but still allow Ethereum transactions to do their default checks.

It should be an enum

pub enum ValidationTypes {
  None,
  ByTxType,
  Custom(Validations),
}

where ValidationChecks is the list of bitflags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions