Skip to content

Commit ecf08b0

Browse files
committed
fix(fast-inbox): drop unused isFirstBlock binding in blob-data fixtures (A-1384)
The flip made every block carry the l1-to-l2 message tree root, so makeBlockEndBlobData no longer branches on isFirstBlock. The parameter is still accepted for call-site compatibility (makeBlockBlobData, the archiver data-retrieval test) but is now bound to an underscore name to satisfy no-unused-vars, which was failing lint --check from this branch upwards.
1 parent c6d4f8b commit ecf08b0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

yarn-project/blob-lib/src/encoding/fixtures.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ export function makeBlockEndStateField({
131131
}
132132

133133
export function makeBlockEndBlobData({
134-
isFirstBlock = true,
134+
// Accepted for call-site compatibility, but no longer read: post-flip every block carries the
135+
// l1-to-l2 message tree root regardless of position, so the blob format no longer branches on it.
136+
isFirstBlock: _isFirstBlock = true,
135137
seed = 1,
136138
...overrides
137139
}: { seed?: number; isFirstBlock?: boolean } & Partial<

0 commit comments

Comments
 (0)