• Joshua Gutow's avatar
    op-node: Adjust L1 Info Transaction Gas Parameters (#2582) · 50d2b108
    Joshua Gutow authored
    This reduces the gas on the L1 Info Transaction from 99,999,999
    down to 75,000. This is required as the gas from deposits is now
    being counted against the total gas used in the L2 block.
    
    Typically the transaction only uses around 30k gas and 35k would
    be fine; however, for the first transaction, it uses more gas to
    set the storage slots from zero (around 70k gas). As such, we
    set it to a single gas limit for the time being. We also give
    it a buffer of 5k gas to ensure that this transaction will not
    fail.
    50d2b108
Name
Last commit
Last update
..
backoff Loading commit data...
cmd Loading commit data...
eth Loading commit data...
flags Loading commit data...
l1 Loading commit data...
l2 Loading commit data...
node Loading commit data...
p2p Loading commit data...
predeploy Loading commit data...
rollup Loading commit data...
testlog Loading commit data...
testutils Loading commit data...
version Loading commit data...
withdrawals Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
service.go Loading commit data...