Skip to content

Kernel/EVM: ignore priority fee

Emma Turner requested to merge emturner@eth-ignore-priority into master

What

We ignore the field tx.max_priority_fee_per_gas, as if it were always set to zero.

Why

As a sequenced L2, there is no need to tip the sequencer explicitly. The sequencer is compensated through the base_fee/gas_limit that is paid.

See !11512 (merged) for the full context.

How

We make max_priority_fee_per_gas to private, and remove all references to it.

Manually testing the MR

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports