• Joshua Gutow's avatar
    op-node: Fix invalid epoch advance · 77137e38
    Joshua Gutow authored
    This includes an op-e2e action test which can be used as a regression test
    against the invalid epoch advancement. I also had to fix several other tests.
    
    This bug is caused by the batch queue advancing to the next epoch prior to
    having the full sequence window for that epoch. This occurs when auto generating
    batches. Once it has generated all of the batches for the current epoch, it
    creates the first batch of the next epoch before it should.
    
    Note: I had to remove the assumption that the epoch of the safe head is
    the same as the epoch inside the batch queue. This is not true when generating
    the last batch of an epoch. We can advance the batch queue, but we don't
    generate a safehead with the new origin.
    77137e38
Name
Last commit
Last update
..
attributes.go Loading commit data...
attributes_queue.go Loading commit data...
attributes_queue_test.go Loading commit data...
attributes_test.go Loading commit data...
batch.go Loading commit data...
batch_queue.go Loading commit data...
batch_queue_test.go Loading commit data...
batch_test.go Loading commit data...
batch_tob_test.go Loading commit data...
batches.go Loading commit data...
batches_test.go Loading commit data...
calldata_source.go Loading commit data...
calldata_source_test.go Loading commit data...
channel.go Loading commit data...
channel_bank.go Loading commit data...
channel_bank_test.go Loading commit data...
channel_in_reader.go Loading commit data...
channel_out.go Loading commit data...
channel_out_test.go Loading commit data...
channel_test.go Loading commit data...
deposit_log.go Loading commit data...
deposit_log_test.go Loading commit data...
deposit_log_tob_test.go Loading commit data...
deposit_source.go Loading commit data...
deposits.go Loading commit data...
doc.go Loading commit data...
engine_consolidate.go Loading commit data...
engine_queue.go Loading commit data...
engine_queue_test.go Loading commit data...
engine_update.go Loading commit data...
error.go Loading commit data...
frame.go Loading commit data...
frame_queue.go Loading commit data...
frame_test.go Loading commit data...
fuzz_parsers_test.go Loading commit data...
l1_block_info.go Loading commit data...
l1_block_info_test.go Loading commit data...
l1_block_info_tob_test.go Loading commit data...
l1_retrieval.go Loading commit data...
l1_retrieval_test.go Loading commit data...
l1_traversal.go Loading commit data...
l1_traversal_test.go Loading commit data...
params.go Loading commit data...
payload_util.go Loading commit data...
payloads_queue.go Loading commit data...
payloads_queue_test.go Loading commit data...
pipeline.go Loading commit data...
pipeline_test.go Loading commit data...
system_config.go Loading commit data...