• Mark Tyneway's avatar
    l2geth: allow 0 gasprice txs for `OVM_GasPriceOracle.owner` · 0404c964
    Mark Tyneway authored
    This PR allows the owner of the `OVM_GasPriceOracle` to send
    transactions with 0 gas price when the enforce fees config option
    is turned on.
    
    The L2 gas price is currently updated by sending transactions to the
    chain to a special contract. In the future it should be updated as a
    side effect of transaction execution. Having the gas price on chain is
    important so that it can be replicated accross the network to ensure
    that users can send transactions with a high enough fee.
    
    Having the `OVM_GasPriceOracle.owner` key not need to maintain
    ETH on L2 is an operational simplification as well prevents a
    terrible scenario where a bug causes the L2 gas price to go so high
    that it is impossible for the owner to update it.
    0404c964
Name
Last commit
Last update
..
dump Loading commit data...
fees Loading commit data...
client.go Loading commit data...
client_test.go Loading commit data...
config.go Loading commit data...
sync_service.go Loading commit data...
sync_service_test.go Loading commit data...
types.go Loading commit data...