From 4b20e9dbc5a93988dde1027fb4731794b8b0d6a1 Mon Sep 17 00:00:00 2001 From: yihuang Date: Wed, 31 Aug 2022 17:45:45 +0800 Subject: [PATCH] fix: call `SetIAVLCacheSize` with the configured value in simapp (#13107) * Call `SetIAVLCacheSize` with the configured value in simapp. * Update CHANGELOG.md --- simd/cmd/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/simd/cmd/root.go b/simd/cmd/root.go index 568a1fe3505e..9b0965458d70 100644 --- a/simd/cmd/root.go +++ b/simd/cmd/root.go @@ -301,6 +301,7 @@ func newApp( baseapp.SetTrace(cast.ToBool(appOpts.Get(server.FlagTrace))), baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))), baseapp.SetSnapshot(snapshotStore, snapshotOptions), + baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))), ) }