We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18256c2 + dbf2a65 commit 334c337Copy full SHA for 334c337
core/blockchain.go
@@ -158,6 +158,11 @@ type CacheConfig struct {
158
SnapshotWait bool // Wait for snapshot construction on startup. TODO(karalabe): This is a dirty hack for testing, nuke it
159
}
160
161
+// arbitrum: exposing CacheConfig.triedbConfig to be used by Nitro when initializing arbos in database
162
+func (c *CacheConfig) TriedbConfig() *triedb.Config {
163
+ return c.triedbConfig()
164
+}
165
+
166
// triedbConfig derives the configures for trie database.
167
func (c *CacheConfig) triedbConfig() *triedb.Config {
168
config := &triedb.Config{Preimages: c.Preimages}
0 commit comments