@@ -124,7 +124,7 @@ func testBatchProposerLimitsCodecV4(t *testing.T) {
124124 CurieBlock : big .NewInt (0 ),
125125 DarwinTime : new (uint64 ),
126126 DarwinV2Time : new (uint64 ),
127- }, db , db , nil )
127+ }, db , nil )
128128 cp .TryProposeChunk () // chunk1 contains block1
129129 cp .TryProposeChunk () // chunk2 contains block2
130130
@@ -148,7 +148,7 @@ func testBatchProposerLimitsCodecV4(t *testing.T) {
148148 CurieBlock : big .NewInt (0 ),
149149 DarwinTime : new (uint64 ),
150150 DarwinV2Time : new (uint64 ),
151- }, db , db , nil )
151+ }, db , nil )
152152 bp .TryProposeBatch ()
153153
154154 batches , err := batchOrm .GetBatches (context .Background (), map [string ]interface {}{}, []string {}, 0 )
@@ -214,7 +214,7 @@ func testBatchCommitGasAndCalldataSizeEstimationCodecV4(t *testing.T) {
214214 ChunkTimeoutSec : 300 ,
215215 GasCostIncreaseMultiplier : 1.2 ,
216216 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
217- }, encoding .CodecV4 , & params.ChainConfig {LondonBlock : big .NewInt (0 ), BernoulliBlock : big .NewInt (0 ), CurieBlock : big .NewInt (0 ), DarwinTime : new (uint64 ), DarwinV2Time : new (uint64 )}, db , db , nil )
217+ }, encoding .CodecV4 , & params.ChainConfig {LondonBlock : big .NewInt (0 ), BernoulliBlock : big .NewInt (0 ), CurieBlock : big .NewInt (0 ), DarwinTime : new (uint64 ), DarwinV2Time : new (uint64 )}, db , nil )
218218 cp .TryProposeChunk () // chunk1 contains block1
219219 cp .TryProposeChunk () // chunk2 contains block2
220220
@@ -232,7 +232,7 @@ func testBatchCommitGasAndCalldataSizeEstimationCodecV4(t *testing.T) {
232232 GasCostIncreaseMultiplier : 1.2 ,
233233 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
234234 MaxChunksPerBatch : math .MaxInt32 ,
235- }, encoding .CodecV4 , & params.ChainConfig {LondonBlock : big .NewInt (0 ), BernoulliBlock : big .NewInt (0 ), CurieBlock : big .NewInt (0 ), DarwinTime : new (uint64 ), DarwinV2Time : new (uint64 )}, db , db , nil )
235+ }, encoding .CodecV4 , & params.ChainConfig {LondonBlock : big .NewInt (0 ), BernoulliBlock : big .NewInt (0 ), CurieBlock : big .NewInt (0 ), DarwinTime : new (uint64 ), DarwinV2Time : new (uint64 )}, db , nil )
236236 bp .TryProposeBatch ()
237237
238238 batches , err := batchOrm .GetBatches (context .Background (), map [string ]interface {}{}, []string {}, 0 )
@@ -301,7 +301,7 @@ func testBatchProposerBlobSizeLimitCodecV4(t *testing.T) {
301301 ChunkTimeoutSec : 0 ,
302302 GasCostIncreaseMultiplier : 1 ,
303303 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
304- }, encoding .CodecV4 , chainConfig , db , db , nil )
304+ }, encoding .CodecV4 , chainConfig , db , nil )
305305
306306 blockHeight := int64 (0 )
307307 block = readBlockFromJSON (t , "../../../testdata/blockTrace_03.json" )
@@ -323,7 +323,7 @@ func testBatchProposerBlobSizeLimitCodecV4(t *testing.T) {
323323 GasCostIncreaseMultiplier : 1 ,
324324 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
325325 MaxChunksPerBatch : math .MaxInt32 ,
326- }, encoding .CodecV4 , chainConfig , db , db , nil )
326+ }, encoding .CodecV4 , chainConfig , db , nil )
327327
328328 for i := 0 ; i < 2 ; i ++ {
329329 bp .TryProposeBatch ()
@@ -397,7 +397,7 @@ func testBatchProposerMaxChunkNumPerBatchLimitCodecV4(t *testing.T) {
397397 ChunkTimeoutSec : 0 ,
398398 GasCostIncreaseMultiplier : 1 ,
399399 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
400- }, encoding .CodecV4 , chainConfig , db , db , nil )
400+ }, encoding .CodecV4 , chainConfig , db , nil )
401401
402402 block = readBlockFromJSON (t , "../../../testdata/blockTrace_03.json" )
403403 for blockHeight := int64 (1 ); blockHeight <= 60 ; blockHeight ++ {
@@ -414,7 +414,7 @@ func testBatchProposerMaxChunkNumPerBatchLimitCodecV4(t *testing.T) {
414414 GasCostIncreaseMultiplier : 1 ,
415415 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
416416 MaxChunksPerBatch : math .MaxInt32 ,
417- }, encoding .CodecV4 , chainConfig , db , db , nil )
417+ }, encoding .CodecV4 , chainConfig , db , nil )
418418 bp .TryProposeBatch ()
419419
420420 batches , err := batchOrm .GetBatches (context .Background (), map [string ]interface {}{}, []string {}, 0 )
0 commit comments