Skip to content

Commit

Permalink
update: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianToledano committed Oct 28, 2024
1 parent 1d3f192 commit 1334d0e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/systemtests/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,25 +517,25 @@ func TestTxWithFeePayer(t *testing.T) {
sut.StartChain(t)

// send a tx with FeePayer without his signature
rsp := cli.RunCommandWithArgs(cli.withTXFlags([]string{
rsp := cli.RunCommandWithArgs(cli.withTXFlags(
"tx", "bank", "send", senderAddr, "cosmos108jsm625z3ejy63uef2ke7t67h6nukt4ty93nr", "1000stake", "--fees", "1000000stake", "--fee-payer", feePayerAddr,
}...)...)
)...)
RequireTxFailure(t, rsp, "invalid number of signatures")

// send tx with feePayers signature
rsp = cli.RunCommandWithArgs(cli.withTXFlags([]string{
rsp = cli.RunCommandWithArgs(cli.withTXFlags(
"tx", "bank", "send", senderAddr, "cosmos108jsm625z3ejy63uef2ke7t67h6nukt4ty93nr", "1000stake", "--fees", "1000000stake", "--fee-payer", feePayerAddr, "--generate-only",
}...)...)
)...)
tempFile := StoreTempFile(t, []byte(rsp))

rsp = cli.RunCommandWithArgs(cli.withTXFlags([]string{
rsp = cli.RunCommandWithArgs(cli.withTXFlags(
"tx", "sign", tempFile.Name(), "--from", senderAddr, "--sign-mode", "amino-json",
}...)...)
)...)
tempFile = StoreTempFile(t, []byte(rsp))

rsp = cli.RunCommandWithArgs(cli.withTXFlags([]string{
rsp = cli.RunCommandWithArgs(cli.withTXFlags(
"tx", "sign", tempFile.Name(), "--from", feePayerAddr, "--sign-mode", "amino-json",
}...)...)
)...)
tempFile = StoreTempFile(t, []byte(rsp))

rsp = cli.RunAndWait([]string{"tx", "broadcast", tempFile.Name()}...)
Expand Down

0 comments on commit 1334d0e

Please sign in to comment.