Skip to content

Implement transaction gas limit cap (EIP-7825) #119

Description

@mw2000

Summary

Cap any single transaction's gas_limit at 2^24 = 16,777,216. Activates with Fusaka.

Spec

Scope

  • Add Fusaka (:osaka / :fusaka) to EEVM.HardforkConfig with EIP activation flag.
  • Reject any transaction with gas_limit > 16_777_216 in EEVM.Transaction.Validator when the flag is enabled.

Definition of Done

  • Fixtures under BlockchainTests/.../EIP7825* pass via the test harness.
  • Negative-path test: oversized gas_limit produces a validation error.

Parent

Metadata

Metadata

Assignees

No one assigned

    Labels

    eipEIP specification implementationenhancementNew feature or requestgasGas metering and cost rules

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions