Skip to content

Commit

Permalink
fix filters compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Oct 18, 2024
1 parent 3c5fede commit d42eb5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eth/filters/filter_system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ func TestGetLogsRange(t *testing.T) {
gspec := &core.Genesis{
Config: params.TestChainConfig,
}
_, err := gspec.Commit(db, trie.NewDatabase(db, &trie.Config{IsUsingZktrie: true}))
_, err := gspec.Commit(db, trie.NewDatabase(db, nil))
if err != nil {
t.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion eth/filters/filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func TestFilters(t *testing.T) {

// Hack: GenerateChainWithGenesis creates a new db.
// Commit the genesis manually and use GenerateChain.
_, err = gspec.Commit(db, trie.NewDatabase(db, &trie.Config{IsUsingZktrie: true}))
_, err = gspec.Commit(db, trie.NewDatabase(db, nil))
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit d42eb5e

Please sign in to comment.