Skip to content

Commit

Permalink
Merge branch 'main' into store/genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-develope committed Jun 27, 2024
2 parents 46767e2 + e3c5b25 commit faf3033
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion store/v2/root/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,10 @@ func (s *RootStoreTestSuite) TestPrune() {
deleted []uint64
saved []uint64
}{
{"prune nothing", 10, *store.NewPruningOption(store.PruningNothing), nil, []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}},
{"prune nothing", 10, store.PruningOption{
KeepRecent: 0,
Interval: 0,
}, nil, []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}},
{"prune everything", 12, store.PruningOption{
KeepRecent: 1,
Interval: 10,
Expand Down

0 comments on commit faf3033

Please sign in to comment.