Skip to content

Commit

Permalink
Merge branch 'master' into merge-v1.13.15
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee authored Jul 22, 2024
2 parents f802673 + 334c337 commit 27b6208
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ type CacheConfig struct {
SnapshotWait bool // Wait for snapshot construction on startup. TODO(karalabe): This is a dirty hack for testing, nuke it
}

// arbitrum: exposing CacheConfig.triedbConfig to be used by Nitro when initializing arbos in database
func (c *CacheConfig) TriedbConfig() *triedb.Config {
return c.triedbConfig()
}

// triedbConfig derives the configures for trie database.
func (c *CacheConfig) triedbConfig() *triedb.Config {
config := &triedb.Config{Preimages: c.Preimages}
Expand Down

0 comments on commit 27b6208

Please sign in to comment.