@@ -92,7 +92,7 @@ func TestSimulateTx_GRPC(t *testing.T) {
92
92
qc := tx .NewServiceClient (sut .RPCClient (t ))
93
93
94
94
// create unsign tx
95
- bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
95
+ bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), fmt . Sprintf ( "--chain-id=%s" , sut . chainID ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
96
96
res := cli .RunCommandWithArgs (bankSendCmdArgs ... )
97
97
txFile := StoreTempFile (t , []byte (res ))
98
98
@@ -155,7 +155,7 @@ func TestSimulateTx_GRPCGateway(t *testing.T) {
155
155
baseURL := sut .APIAddress ()
156
156
157
157
// create unsign tx
158
- bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
158
+ bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), fmt . Sprintf ( "--chain-id=%s" , sut . chainID ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
159
159
res := cli .RunCommandWithArgs (bankSendCmdArgs ... )
160
160
txFile := StoreTempFile (t , []byte (res ))
161
161
@@ -745,7 +745,7 @@ func TestTxDecode_GRPC(t *testing.T) {
745
745
qc := tx .NewServiceClient (sut .RPCClient (t ))
746
746
747
747
// create unsign tx
748
- bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
748
+ bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), fmt . Sprintf ( "--chain-id=%s" , sut . chainID ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
749
749
res := cli .RunCommandWithArgs (bankSendCmdArgs ... )
750
750
txFile := StoreTempFile (t , []byte (res ))
751
751
@@ -800,7 +800,7 @@ func TestTxDecode_GRPCGateway(t *testing.T) {
800
800
basrUrl := sut .APIAddress ()
801
801
802
802
// create unsign tx
803
- bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
803
+ bankSendCmdArgs := []string {"tx" , "bank" , "send" , valAddr , receiverAddr , fmt .Sprintf ("%d%s" , transferAmount , denom ), fmt . Sprintf ( "--chain-id=%s" , sut . chainID ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
804
804
res := cli .RunCommandWithArgs (bankSendCmdArgs ... )
805
805
txFile := StoreTempFile (t , []byte (res ))
806
806
@@ -1054,7 +1054,7 @@ func TestSimMultiSigTx(t *testing.T) {
1054
1054
// Send from multisig to validator
1055
1055
// create unsign tx
1056
1056
var newTransferAmount int64 = 100
1057
- bankSendCmdArgs := []string {"tx" , "bank" , "send" , multiSigAddr , valAddr , fmt .Sprintf ("%d%s" , newTransferAmount , denom ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
1057
+ bankSendCmdArgs := []string {"tx" , "bank" , "send" , multiSigAddr , valAddr , fmt .Sprintf ("%d%s" , newTransferAmount , denom ), fmt . Sprintf ( "--chain-id=%s" , sut . chainID ), "--fees=10stake" , "--sign-mode=direct" , "--generate-only" }
1058
1058
res := cli .RunCommandWithArgs (bankSendCmdArgs ... )
1059
1059
txFile := StoreTempFile (t , []byte (res ))
1060
1060
0 commit comments