From 54f8996fd88183e7819d38cef475cbc83117a7fa Mon Sep 17 00:00:00 2001 From: Collin Brittain Date: Thu, 3 Aug 2023 15:08:43 -0500 Subject: [PATCH] Unit test fixes --- module/x/gravity/handler_test.go | 2 +- module/x/gravity/keeper/signer_set_test.go | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/module/x/gravity/handler_test.go b/module/x/gravity/handler_test.go index 1474e142b..0d6eac063 100644 --- a/module/x/gravity/handler_test.go +++ b/module/x/gravity/handler_test.go @@ -209,7 +209,7 @@ func TestMsgSubmitEthreumEventSendToCosmosMultiValidator(t *testing.T) { input := keeper.CreateTestEnv(t) ctx := input.Context params := types.DefaultParams() - params.EventVoteWindow = eventVoteWindow + params.EthereumEventVoteWindow = eventVoteWindow input.GravityKeeper.SetParams(ctx, *params) input.GravityKeeper.StakingKeeper = keeper.NewStakingKeeperMock(valAddr1, valAddr2, valAddr3) input.GravityKeeper.SetOrchestratorValidatorAddress(ctx, valAddr1, orchestratorAddr1) diff --git a/module/x/gravity/keeper/signer_set_test.go b/module/x/gravity/keeper/signer_set_test.go index 4e6ccf31b..19e6be377 100644 --- a/module/x/gravity/keeper/signer_set_test.go +++ b/module/x/gravity/keeper/signer_set_test.go @@ -18,10 +18,6 @@ func TestSignerSetTxExecuted(t *testing.T) { ctx, ) - input.GravityKeeper.CreateSignerSetTx( - ctx, - ) - sstx := input.GravityKeeper.GetOutgoingTx(ctx, types.MakeSignerSetTxKey(1)).(*types.SignerSetTx) assert.NotNil(t, sstx)