8000 Set IAVL config by facs95 · Pull Request #973 · evmos/evmos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Set IAVL config #973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions cmd/evmosd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ func initAppConfig() (string, interface{}) {

srvCfg.StateSync.SnapshotInterval = 1500
srvCfg.StateSync.SnapshotKeepRecent = 2
srvCfg.IAVLDisableFastNode = false

return customAppTemplate, srvCfg
}
Expand Down Expand Up @@ -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
Expand Down
0