Skip to content

Commit 97f3c21

Browse files
authored
Set iavl cachesize, fastnode config (CosmosContracts#320)
1 parent 46af112 commit 97f3c21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/junod/root.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ func (ac appCreator) newApp(
235235
baseapp.SetSnapshotStore(snapshotStore),
236236
baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval))),
237237
baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent))),
238+
baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))),
239+
baseapp.SetIAVLDisableFastNode(cast.ToBool(appOpts.Get(server.FlagIAVLFastNode))),
238240
)
239241
}
240242

0 commit comments

Comments
 (0)