@@ -140,6 +140,7 @@ func testBatchProposerLimitsCodecV4(t *testing.T) {
140140 BatchTimeoutSec : tt .batchTimeoutSec ,
141141 GasCostIncreaseMultiplier : 1.2 ,
142142 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
143+ MaxChunksPerBatch : math .MaxInt32 ,
143144 }, encoding .CodecV4 , & params.ChainConfig {
144145 LondonBlock : big .NewInt (0 ),
145146 BernoulliBlock : big .NewInt (0 ),
@@ -228,6 +229,7 @@ func testBatchCommitGasAndCalldataSizeEstimationCodecV4(t *testing.T) {
228229 BatchTimeoutSec : 0 ,
229230 GasCostIncreaseMultiplier : 1.2 ,
230231 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
232+ MaxChunksPerBatch : math .MaxInt32 ,
231233 }, encoding .CodecV4 , & params.ChainConfig {LondonBlock : big .NewInt (0 ), BernoulliBlock : big .NewInt (0 ), CurieBlock : big .NewInt (0 ), DarwinTime : new (uint64 ), DarwinV2Time : new (uint64 )}, db , nil )
232234 bp .TryProposeBatch ()
233235
@@ -317,6 +319,7 @@ func testBatchProposerBlobSizeLimitCodecV4(t *testing.T) {
317319 BatchTimeoutSec : math .MaxUint32 ,
318320 GasCostIncreaseMultiplier : 1 ,
319321 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
322+ MaxChunksPerBatch : math .MaxInt32 ,
320323 }, encoding .CodecV4 , chainConfig , db , nil )
321324
322325 for i := 0 ; i < 2 ; i ++ {
@@ -406,6 +409,7 @@ func testBatchProposerMaxChunkNumPerBatchLimitCodecV4(t *testing.T) {
406409 BatchTimeoutSec : math .MaxUint32 ,
407410 GasCostIncreaseMultiplier : 1 ,
408411 MaxUncompressedBatchBytesSize : math .MaxUint64 ,
412+ MaxChunksPerBatch : math .MaxInt32 ,
409413 }, encoding .CodecV4 , chainConfig , db , nil )
410414 bp .TryProposeBatch ()
411415
0 commit comments