Skip to content

Commit 37cfa0d

Browse files
committed
test(fast-inbox): carry bucketHint in archiver propose-calldata fixtures (A-1384)
The L1 ProposeArgs gained bucketHint at the flip; the archiver's fake L1 state and calldata-retriever fixtures must encode it too.
1 parent efd87e6 commit 37cfa0d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

yarn-project/archiver/src/l1/calldata_retriever.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ describe('CalldataRetriever', () => {
140140
archive,
141141
oracleInput: { feeAssetPriceModifier: BigInt(0) },
142142
header: viemHeader,
143+
bucketHint: 0n,
143144
},
144145
attestations,
145146
signers,
@@ -368,6 +369,7 @@ describe('CalldataRetriever', () => {
368369
archive,
369370
oracleInput: { feeAssetPriceModifier },
370371
header,
372+
bucketHint: 0n,
371373
},
372374
attestations,
373375
[], // signers

yarn-project/archiver/src/test/fake_l1_state.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,7 @@ export class FakeL1State {
746746
header,
747747
archive,
748748
oracleInput: { feeAssetPriceModifier: 0n },
749+
bucketHint: 0n,
749750
},
750751
verbatimAttestations,
751752
attestationsAndSigners.getSigners().map(signer => signer.toString()),

0 commit comments

Comments
 (0)