diff --git a/CHANGELOG.md b/CHANGELOG.md index 22b2fb3b0b..431ee455f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,11 +35,12 @@ Ref: https://keepachangelog.com/en/1.0.0/ # Changelog -## Unreleased +## [v8.2.3] - 2022-10-15 ### Improvements -- (cli)[#971](https://github.com/evmos/evmos/pull/971) Add `prune` command. +- (cmd) [#973](https://github.com/evmos/evmos/pull/973) Set IAVL config +- (cli) [#971](https://github.com/evmos/evmos/pull/971) Add `prune` command. ## [v8.2.2] - 2022-10-14 diff --git a/cmd/evmosd/root.go b/cmd/evmosd/root.go index 07c2c138c6..719af8121b 100644 --- a/cmd/evmosd/root.go +++ b/cmd/evmosd/root.go @@ -215,6 +215,7 @@ func initAppConfig() (string, interface{}) { srvCfg.StateSync.SnapshotInterval = 1500 srvCfg.StateSync.SnapshotKeepRecent = 2 + srvCfg.IAVLDisableFastNode = false return customAppTemplate, srvCfg } @@ -268,6 +269,8 @@ func (a appCreator) newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, a baseapp.SetSnapshotStore(snapshotStore), baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(sdkserver.FlagStateSyncSnapshotInterval))), baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(sdkserver.FlagStateSyncSnapshotKeepRecent))), + baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(sdkserver.FlagIAVLCacheSize))), + baseapp.SetIAVLDisableFastNode(cast.ToBool(appOpts.Get(sdkserver.FlagIAVLFastNode))), ) return evmosApp