Skip to content

Commit

Permalink
Merge branch 'main' into robert/gentx-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez authored Aug 23, 2022
2 parents 4a67b30 + 8372f54 commit 6615f79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/tx/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@ func (s *IntegrationTestSuite) TestQueryBySig() {
txb := s.mkTxBuilder()
txbz, err := s.cfg.TxConfig.TxEncoder()(txb.GetTx())
s.Require().NoError(err)
_, err = s.queryClient.BroadcastTx(context.Background(), &tx.BroadcastTxRequest{TxBytes: txbz, Mode: tx.BroadcastMode_BROADCAST_MODE_BLOCK})
resp, err := s.queryClient.BroadcastTx(context.Background(), &tx.BroadcastTxRequest{TxBytes: txbz, Mode: tx.BroadcastMode_BROADCAST_MODE_SYNC})
s.Require().NoError(err)
s.Require().NotEmpty(resp.TxResponse.TxHash)

s.Require().NoError(s.network.WaitForNextBlock())

// get the signature out of the builder
sigs, err := txb.GetTx().GetSignaturesV2()
Expand Down

0 comments on commit 6615f79

Please sign in to comment.