diff --git a/tests/e2e/config.go b/tests/e2e/config.go index 1c3c997aaf..40a1cfc4c5 100644 --- a/tests/e2e/config.go +++ b/tests/e2e/config.go @@ -761,6 +761,7 @@ func ConsumerMisbehaviourTestConfig() TestConfig { IpPrefix: "7.7.7", VotingWaitTime: 20, GenesisChanges: ".app_state.gov.params.voting_period = \"20s\" | " + + ".app_state.gov.params.expedited_voting_period = \"10s\" | " + // Custom slashing parameters for testing validator downtime functionality // See https://docs.cosmos.network/main/modules/slashing/04_begin_block.html#uptime-tracking ".app_state.slashing.params.signed_blocks_window = \"10\" | " + diff --git a/tests/e2e/state.go b/tests/e2e/state.go index c7d5baf99f..b9618a3964 100644 --- a/tests/e2e/state.go +++ b/tests/e2e/state.go @@ -837,7 +837,7 @@ func (tr Commands) GetClientFrozenHeight(chain ChainID, clientID string) (uint64 log.Fatal(err, "\n", string(bz)) } - return uint64(revHeight), uint64(revNumber) + return uint64(revNumber), uint64(revHeight) } func (tr Commands) GetHasToValidate( diff --git a/x/ccv/provider/keeper/proposal.go b/x/ccv/provider/keeper/proposal.go index 3cc8d0b9a8..52007a38e8 100644 --- a/x/ccv/provider/keeper/proposal.go +++ b/x/ccv/provider/keeper/proposal.go @@ -186,6 +186,7 @@ func (k Keeper) StopConsumerChain(ctx sdk.Context, chainID string, closeChan boo // Note: this call panics if the key assignment state is invalid k.DeleteKeyAssignments(ctx, chainID) k.DeleteMinimumPowerInTopN(ctx, chainID) + k.DeleteEquivocationEvidenceMinHeight(ctx, chainID) // close channel and delete the mappings between chain ID and channel ID if channelID, found := k.GetChainToChannel(ctx, chainID); found {