diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a7d7fb23e1b..416e4dbe1d65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Bug Fixes * (x/gov) [#13728](https://github.com/cosmos/cosmos-sdk/pull/13728) Fix propagation of message events to the current context in `EndBlocker`. +* (store) [#13803](https://github.com/cosmos/cosmos-sdk/pull/13803) Add an error log if iavl set operation failed. ## [v0.46.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.46.4) - 2022-11-01 diff --git a/store/iavl/store.go b/store/iavl/store.go index f2a6c113d592..093dd2f0d81d 100644 --- a/store/iavl/store.go +++ b/store/iavl/store.go @@ -36,9 +36,8 @@ var ( // Store Implements types.KVStore and CommitKVStore. type Store struct { - tree Tree - logger types.Logger - metrics metrics.StoreMetrics + tree Tree + logger log.Logger } // LoadStore returns an IAVL Store as a CommitKVStore. Internally, it will load the @@ -89,9 +88,8 @@ func LoadStoreWithInitialVersion(db dbm.DB, logger log.Logger, key types.StoreKe } return &Store{ - tree: tree, - logger: logger, - metrics: metrics, + tree: tree, + logger: logger, }, nil }