• 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
..
accounts Loading commit data...
build Loading commit data...
cmd Loading commit data...
common Loading commit data...
consensus Loading commit data...
console Loading commit data...
contracts/checkpointoracle Loading commit data...
core Loading commit data...
crypto Loading commit data...
diffdb Loading commit data...
docs/audits Loading commit data...
eth Loading commit data...
ethclient Loading commit data...
ethdb Loading commit data...
ethstats Loading commit data...
event Loading commit data...
graphql Loading commit data...
internal Loading commit data...
les Loading commit data...
light Loading commit data...
log Loading commit data...
metrics Loading commit data...
miner Loading commit data...
mobile Loading commit data...
node Loading commit data...
p2p Loading commit data...
params Loading commit data...
rlp Loading commit data...
rollup Loading commit data...
rpc Loading commit data...
scripts Loading commit data...
signer Loading commit data...
swarm Loading commit data...
tests Loading commit data...
trie Loading commit data...
whisper Loading commit data...
.golangci.yml Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CHANGELOG.md Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
fuzzbuzz.yaml Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
interfaces.go Loading commit data...
package.json Loading commit data...