• Joshua Gutow's avatar
    Eager Batch Derivation (#2882) · 0fea4f52
    Joshua Gutow authored
    * Eager Batch Derivation
    
    Does the following:
    - Split the batch queue into a batch queue & payload attributes queue
    - Change batch derivation rules to enable eager batch derivation
    - Eagerly create payload attributes
    
    * Cleanup inclusion block
    
    * Batch Queue: Add tests
    
    Only for the batch queue & not the attributes queue.
    
    * Fix lint + go mod tidy
    
    * backport fixes from attributes-cleanup
    
    * Update op-node/rollup/derive/batch_queue.go
    Co-authored-by: default avatarDiederik Loerakker <proto@protolambda.com>
    
    * address PR comments
    
    * revert testlog
    
    * use timestamp as RNG seed
    
    * explain anti overflow check
    
    * fix lint
    
    * better logging
    
    * only adjust maxL2Time based on minL2Time when epoch is not already started (#2939)
    Co-authored-by: default avatarDiederik Loerakker <proto@protolambda.com>
    Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    0fea4f52
batches.go 3.77 KB