• Mark Tyneway's avatar
    l2geth: only accept txs with exact nonce · 709c85d6
    Mark Tyneway authored
    This PR makes it so that the sequencer will
    only accept transactions if the nonce exactly
    matches what is in the state. This is because the
    mempool in upstream geth has different rules than
    what l2geth needs.
    
    This prevents issues with local nonce managers that
    send transactions with a too large of nonce and
    end up having all of the transactions revert since
    the transaction is still accepted but reverts
    in the OVM
    709c85d6
tx_pool.go 54.1 KB