From 9dd0452f2ab553346c445d542e73ade7be5a0786 Mon Sep 17 00:00:00 2001 From: Shogo Hyodo Date: Tue, 13 Feb 2024 14:15:54 +0900 Subject: [PATCH] Fix checking tx result --- tests/e2e/stakingplus/suite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/stakingplus/suite.go b/tests/e2e/stakingplus/suite.go index 72c0e3bd4b..73164c324f 100644 --- a/tests/e2e/stakingplus/suite.go +++ b/tests/e2e/stakingplus/suite.go @@ -177,5 +177,5 @@ func (s *E2ETestSuite) createAccount(uid, mnemonic string) { s.Require().NoError(val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &res), out.String()) s.Require().Zero(res.Code, out.String()) - s.Require().NoError(s.network.WaitForNextBlock()) + s.Require().NoError(clitestutil.CheckTxCode(s.network, val.ClientCtx, res.TxHash, 0)) }