Skip to content

Commit

Permalink
Fix unit tests broken by review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Jul 10, 2023
1 parent 5ee3eee commit 5fa34d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion module/x/gravity/keeper/signer_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 5fa34d1

Please sign in to comment.