Skip to content

Commit 15ff972

Browse files
author
colinlyguo
committed
fix unit tests
1 parent 8882d4d commit 15ff972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rollup/tests/rollup_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func testCommitBatchAndFinalizeBatchOrBundleWithAllCodecVersions(t *testing.T) {
113113
}, chainConfig, db, nil)
114114

115115
bup := watcher.NewBundleProposer(context.Background(), &config.BundleProposerConfig{
116-
BatchNumPerBundle: 1000000,
116+
BatchNumPerBundle: 2,
117117
}, chainConfig, db, nil)
118118

119119
l2BlockOrm := orm.NewL2Block(db)
@@ -279,7 +279,7 @@ func testCommitBatchAndFinalizeBatchOrBundleCrossingAllTransitions(t *testing.T)
279279
}, chainConfig, db, nil)
280280

281281
bup := watcher.NewBundleProposer(context.Background(), &config.BundleProposerConfig{
282-
BatchNumPerBundle: 1000000,
282+
BatchNumPerBundle: 1,
283283
}, chainConfig, db, nil)
284284

285285
cp.TryProposeChunk()

0 commit comments

Comments
 (0)