• Joshua Gutow's avatar
    op-node: Reproduce invalid advance in unit tests · 525e1721
    Joshua Gutow authored
    This reproduces a bug found by mdehoog. This bug causes the system
    to halt under certain circustances. Specifically, when generating
    batches at the end of the sequence window the batch queue would attempt
    to generate empy batches from the next L2 timestamp to the timestamp of
    the next L1 origin. If the timestamp of the next L1 origin was less than
    the timestamp of the next L2 block time, no batches would be generated
    and the internal L1 blocks would be advanced. This would cause L1 origins
    to be skipped. This got caught by a consistency check we have in the batch
    queue, but loops in an unrecoverable error until this bug is fixed.
    525e1721
Name
Last commit
Last update
..
chaincfg Loading commit data...
client Loading commit data...
cmd Loading commit data...
eth Loading commit data...
flags Loading commit data...
heartbeat Loading commit data...
metrics Loading commit data...
node Loading commit data...
p2p Loading commit data...
rollup Loading commit data...
sources Loading commit data...
testlog Loading commit data...
testutils Loading commit data...
version Loading commit data...
withdrawals Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
service.go Loading commit data...