• 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
.changeset Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
examples Loading commit data...
go Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
specs Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...