Skip to content

Commit

Permalink
add missing wasmTargets in NewDatabaseWithConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Aug 22, 2024
1 parent cb03c12 commit 2e8eafa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/state/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ func NewDatabaseWithConfig(db ethdb.Database, config *triedb.Config) Database {
// Arbitrum only
activatedAsmCache: lru.NewSizeConstrainedCache[activatedAsmCacheKey, []byte](activatedWasmCacheSize),
wasmTag: wasmTag,
wasmTargets: db.WasmTargets(),

disk: db,
wasmdb: wasmdb,
Expand Down

0 comments on commit 2e8eafa

Please sign in to comment.