Cosmos-sdk -> cosmossdk.io/[email protected]
cosmossdk.io/[email protected]
The version of cosmossdk.io/[email protected] has an issue we have come across during the upgrade to Cosmoms-sdk 0.50.x This issue is based on the fact that during the store Write operation not every store gets updated. As a result when we call
func (rs *Store) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
a call to retrieve cacheStore here:
cacheStore, err = store.(*iavl.Store).GetImmutable(version)
fails and we cannot process multistore queries because they fail with an error:
ERR [*] Cache for error="version does not exist" module=server module store=evidence
ERR [*] Cache for error="version does not exist" module=server module store=feegrant
ERR [*] Cache for error="version does not exist" module=server module store=hooks-for-ibc
ERR [*] Cache for error="version does not exist" module=server module store=feeibc
ERR [*] Cache for error="version does not exist" module=server module store=authz
ERR [*] Cache for error="version does not exist" module=server module store=emergencybutton
We introduced a fix for CacheMultiStoreWithVersion where we bypass errors for certain modules.