Skip to content

Commit

Permalink
chore: fix TestWithTrie while instantiating a runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
EclesioMeloJunior committed Feb 27, 2024
1 parent 439320c commit 15f7305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/wazero/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestWithLogLevel(lvl log.Level) TestInstanceOption {

func TestWithTrie(tt *trie.Trie) TestInstanceOption {
return func(c *Config) {
c.Storage = storage.NewTrieState(trie.NewEmptyTrie())
c.Storage = storage.NewTrieState(tt)
}
}

Expand Down

0 comments on commit 15f7305

Please sign in to comment.