Skip to content

Commit

Permalink
remove panic from height 946264
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Jul 27, 2023
1 parent 0648b8c commit 36b509e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x/crosschain/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,7 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
func (AppModule) ConsensusVersion() uint64 { return 1 }

// BeginBlock executes all ABCI BeginBlock logic respective to the capability module.
func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
if ctx.BlockHeader().Height == 946264 {
panic("pause at 946264; please revert back to v6.0.0 and restart")
}
}
func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {}

// EndBlock executes all ABCI EndBlock logic respective to the capability module. It
// returns no validator updates.
Expand Down

0 comments on commit 36b509e

Please sign in to comment.