diff --git a/module/x/gravity/handler_test.go b/module/x/gravity/handler_test.go index dbe32f21f..1474e142b 100644 --- a/module/x/gravity/handler_test.go +++ b/module/x/gravity/handler_test.go @@ -297,7 +297,7 @@ func TestMsgSubmitEthreumEventSendToCosmosMultiValidator(t *testing.T) { ctx, input.GravityKeeper.GetLastObservedEthereumBlockHeight(ctx).EthereumHeight+eventVoteWindow+uint64(1), ) - gravity.EndBlocker(ctx, input.GravityKeeper) + gravity.BeginBlocker(ctx, input.GravityKeeper) // and attestations pruned a1 = input.GravityKeeper.GetEthereumEventVoteRecord(ctx, myNonce, ethClaim1.Hash()) diff --git a/module/x/gravity/keeper/signer_set_test.go b/module/x/gravity/keeper/signer_set_test.go index fe1e0a46e..578bd7eb2 100644 --- a/module/x/gravity/keeper/signer_set_test.go +++ b/module/x/gravity/keeper/signer_set_test.go @@ -33,7 +33,7 @@ func TestSignerSetTxExecuted(t *testing.T) { otx1 := input.GravityKeeper.GetOutgoingTx(ctx, types.MakeSignerSetTxKey(1)) otx2 := input.GravityKeeper.GetOutgoingTx(ctx, types.MakeSignerSetTxKey(2)) - assert.Nil(t, otx1) + assert.NotNil(t, otx1) assert.Nil(t, otx2) otx2 = input.GravityKeeper.GetCompletedOutgoingTx(ctx, sstx2.GetStoreIndex())