Skip to content

Commit

Permalink
Unit test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Aug 3, 2023
1 parent 2dc35c4 commit 54f8996
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion module/x/gravity/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions module/x/gravity/keeper/signer_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 54f8996

Please sign in to comment.