diff --git a/CHANGELOG.md b/CHANGELOG.md index 0971cc4f..5da88e6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Improvements - [#316](https://github.com/babylonlabs-io/babylon/pull/316) Add testnet upgrade data +- [#334](https://github.com/babylonlabs-io/babylon/pull/334) Default IAVL cache size ### Bug fixes diff --git a/cmd/babylond/cmd/testnet.go b/cmd/babylond/cmd/testnet.go index 07dff9fb..44dfb5b0 100644 --- a/cmd/babylond/cmd/testnet.go +++ b/cmd/babylond/cmd/testnet.go @@ -196,10 +196,9 @@ func InitTestnet( babylonConfig.GRPC.Enable = true babylonConfig.GRPC.Address = "0.0.0.0:9090" - // Disable IAVL cache by default as Babylon leaf nodes can be large, and in case - // of big cache values, Babylon node can run out of memory. - babylonConfig.IAVLCacheSize = 0 - babylonConfig.IAVLDisableFastNode = true + // IAVLCacheSize of 5000 shouldn't exceed memory usage of 3GB + babylonConfig.IAVLCacheSize = 5000 + babylonConfig.IAVLDisableFastNode = false var ( genAccounts []authtypes.GenesisAccount