Skip to content

Commit aa4ce9e

Browse files
committed
feat: TxResultResponse direct values
1 parent d7d3fd7 commit aa4ce9e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: gcosmos/README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,17 @@ grpcurl -plaintext localhost:9092 list
6363
grpcurl -plaintext localhost:9092 server.GordianGRPC/GetBlocksWatermark
6464
grpcurl -plaintext localhost:9092 server.GordianGRPC/GetValidators
6565

66-
# grpcurl -plaintext localhost:9092 server.GordianGRPC/SubmitTransaction
67-
grpcurl -plaintext -d '{"account_id":"cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl","denom":"stake"}' localhost:9092 server.GordianGRPC/QueryAccountBalance
66+
grpcurl -plaintext -d '{"address":"cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl","denom":"stake"}' localhost:9092 server.GordianGRPC/QueryAccountBalance
6867
```
6968

70-
# Testing
69+
# Transaction Testing
7170
```bash
7271
./gcosmos tx bank send val cosmos10r39fueph9fq7a6lgswu4zdsg8t3gxlqvvvyvn 1stake --chain-id=TODO:TEMPORARY_CHAIN_ID --generate-only > example-tx.json
7372

7473
# TODO: get account number
7574
./gcosmos tx sign ./example-tx.json --offline --from=val --sequence=1 --account-number=1 --chain-id=TODO:TEMPORARY_CHAIN_ID --keyring-backend=test > example-tx-signed.json
7675

77-
grpcurl -plaintext -d '{"tx":"'$(cat example-tx-signed.json | base64 -w 0)'"}' localhost:9092 server.GordianGRPC/SimulateTransaction
76+
grpcurl -plaintext -emit-defaults -d '{"tx":"'$(cat example-tx-signed.json | base64 -w 0)'"}' localhost:9092 server.GordianGRPC/SimulateTransaction
7877

79-
grpcurl -plaintext -d '{"tx":"'$(cat example-tx-signed.json | base64 -w 0)'"}' localhost:9092 server.GordianGRPC/SubmitTransaction
78+
grpcurl -plaintext -emit-defaults -d '{"tx":"'$(cat example-tx-signed.json | base64 -w 0)'"}' localhost:9092 server.GordianGRPC/SubmitTransaction
8079
```

0 commit comments

Comments
 (0)