Skip to content

Commit

Permalink
add chain-id
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Oct 23, 2024
1 parent 9633dd0 commit ef39cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/systemtests/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestQueryBySig(t *testing.T) {
qc := tx.NewServiceClient(sut.RPCClient(t))

// create unsign tx
bankSendCmdArgs := []string{"tx", "bank", "send", valAddr, receiverAddr, fmt.Sprintf("%d%s", transferAmount, denom), "--fees=10stake", "--sign-mode=direct", "--generate-only"}
bankSendCmdArgs := []string{"tx", "bank", "send", valAddr, receiverAddr, fmt.Sprintf("%d%s", transferAmount, denom), "--fees=10stake", fmt.Sprintf("--chain-id=%s", sut.chainID), "--sign-mode=direct", "--generate-only"}
unsignedTx := cli.RunCommandWithArgs(bankSendCmdArgs...)
fmt.Println("unsignedTx", unsignedTx)
txFile := StoreTempFile(t, []byte(unsignedTx))
Expand Down

0 comments on commit ef39cdc

Please sign in to comment.