Switch accumulation store to ResetAllLocks, only remove after unbond complete (#480)
* This commit introduces a ResetAllLocks function This prevents the code from hitting the accumulation store for every lock, and to instead only hit it once per duration. * Switch to version that fixes bug in underlying CacheKVStore under unfortunate access pattern * Fix go.sum * Make accumulation store only get decremented on lock finishing unbond * Cleanup GRPC test * Update upgrade_test * Fix comments and function names per code review * Update changelog
Showing
+127 -79
... | ... | @@ -31,6 +31,6 @@ replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.2-alp |
replace github.com/tendermint/tendermint => github.com/tendermint/tendermint v0.34.12 | ||
replace github.com/cosmos/cosmos-sdk => github.com/osmosis-labs/cosmos-sdk v0.42.10-0.20210911044605-92805585b7ea | ||
replace github.com/cosmos/cosmos-sdk => github.com/osmosis-labs/cosmos-sdk v0.42.10-0.20210915013958-01114e89a579 | ||
replace github.com/tendermint/tm-db => github.com/osmosis-labs/tm-db v0.6.5-0.20210911033928-ba9154613417 |
Please register or sign in to comment