[go: up one dir, main page]

EVM/Node: Verify that gas_limit covers da_fees and don't exceed maximum gas_limit

What

To validate that a transaction is valid, the node will compute the da_fees of the transaction and then verify that the gas_limit provided covers it. There's also a verification on the execution_gas_limit that it doesn't exceed the maximum (30_000_000)

Why

TPS Imrpovement

How

Move gas_for_da_fees computation outside of the simulator and then use it in the validation

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
Edited by Arnaud Bihan

Merge request reports

Loading