Skip to content

Commit 89f8c3a

Browse files
authored
Remove a Caff node comment (#225)
* Remove a comment * Restore devnet test in CI * Disable the CI again
1 parent 4c58f23 commit 89f8c3a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

op-node/rollup/derive/attributes_queue.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ func (aq *AttributesQueue) Origin() eth.L1BlockRef {
141141
//
142142
// This is similar to the batcher's flow: espressoBatchLoadingLoop -> getSyncStatus -> refresh -> Update -> Next,
143143
// but with a few key differences:
144-
// - CaffNextBatch obtains sync state differently from the batcher, it treated parent.Number() as the latest safe batch number.
145144
// - It only calls Update() when needed and everytime only calls Next() once. While the batcher calls Next() in a loop.
146145
// - It performs additional checks, such as validating the timestamp and parent hash, which does not apply to the batcher.
147146
func CaffNextBatch(s *espresso.EspressoStreamer[EspressoBatch], ctx context.Context, parent eth.L2BlockRef, blockTime uint64, l1Fetcher L1Fetcher) (*SingularBatch, bool, error) {

0 commit comments

Comments
 (0)