Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l2geth: allow 0 gasprice txs for OVM_GasPriceOracle.owner #1241

Merged
merged 1 commit into from
Jul 9, 2021

Commits on Jul 9, 2021

  1. l2geth: allow 0 gasprice txs for OVM_GasPriceOracle.owner

    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.
    tynes committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    0404c96 View commit details
    Browse the repository at this point in the history