Skip to content

Commit

Permalink
simplify unit tests without sacrificing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Jul 5, 2024
1 parent e005fe0 commit 6d6e9e6
Show file tree
Hide file tree
Showing 2 changed files with 185 additions and 463 deletions.
7 changes: 2 additions & 5 deletions rollup/tests/bridge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,8 @@ func TestFunction(t *testing.T) {

// l1 rollup and watch rollup events
t.Run("TestCommitAndFinalizeGenesisBatch", testCommitAndFinalizeGenesisBatch)
t.Run("TestCommitBatchAndFinalizeBatch", testCommitBatchAndFinalizeBatch)
t.Run("TestCommitBatchAndFinalizeBatch4844", testCommitBatchAndFinalizeBatch4844)
t.Run("TestCommitBatchAndFinalizeBatchBeforeAndAfter4844", testCommitBatchAndFinalizeBatchBeforeAndAfter4844)
t.Run("TestCommitBatchAndFinalizeBatchBeforeAndAfterCompression", testCommitBatchAndFinalizeBatchBeforeAndAfterCompression)
t.Run("TestCommitTwoBatchesAndFinalizeByOneBundle", testCommitTwoBatchesAndFinalizeByOneBundle)
t.Run("testCommitBatchAndFinalizeBatchOrBundleWithAllCodecVersions", testCommitBatchAndFinalizeBatchOrBundleWithAllCodecVersions)
t.Run("TestCommitBatchAndFinalizeBatchOrBundleCrossingAllTransitions", testCommitBatchAndFinalizeBatchOrBundleCrossingAllTransitions)

// l1/l2 gas oracle
t.Run("TestImportL1GasPrice", testImportL1GasPrice)
Expand Down
Loading

0 comments on commit 6d6e9e6

Please sign in to comment.