Skip to content

Commit

Permalink
fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Mar 8, 2024
1 parent 320981f commit 88850b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/storage/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ func EndBlocker(ctx sdk.Context, keeper Keeper) {

// delete buckets
doDeleteBucket := true
if ctx.BlockHeight() > 5946511 && ctx.ChainID() == "greenfield_5600-1" {
// on testnet, we had a hot fix to disable deleting buckets after discontinue since 5946512 height
if ctx.BlockHeight() > 5946511 && ctx.ChainID() == upgradetypes.TestnetChainID {
doDeleteBucket = false
}
if ctx.IsUpgraded(upgradetypes.Pawnee) {
Expand Down

0 comments on commit 88850b9

Please sign in to comment.