Use base_fee_per_gas when executing a transaction
Closed this issue · 0 comments
elmato commented
Add a new parameter std::optional<uint64_t> base_fee_per_gas
to the helper function eosevm::prepare_block_header
.
This new parameter should be set to the header.base_fee_per_gas
field.
When eos_evm_version >= 1
the contract must call eosevm::prepare_block_header
with the updated gas_price
or std::nullopt
otherwise.
evmtx_v0
event will include a new field uint64_t base_fee_per_gas
.
it should be use when eos_evm_version >= 1
.