• 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
..
derive Loading commit data...
driver Loading commit data...
sync Loading commit data...
types.go Loading commit data...
types_test.go Loading commit data...