eosnetworkfoundation/eos-evm-contract

Emit configchange event

Closed this issue · 0 comments

This issue will cover all the process regarding the gas parameter and/or minimum gas fee.

  • Store the five gas parameters discussed in https://github.com/eosnetworkfoundation/eos-evm-internal/issues/132#issuecomment-1890082284.
  • Add administrative action that takes ram_price as single argument to set those five gas parameters
  • Implement some mechanism to allow the contract to detect changes and emit configchange actions in proper time.
    • configchange must before any evmtx in the time frame of an virtual EVM block.
    • Provide way for the contract to get the correct (changed) parameter before and after the event.

Design the interface for the configchange event that captures minimum gas price and the five gas parameters.