File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,17 @@ grpcurl -plaintext localhost:9092 list
63
63
grpcurl -plaintext localhost:9092 server.GordianGRPC/GetBlocksWatermark
64
64
grpcurl -plaintext localhost:9092 server.GordianGRPC/GetValidators
65
65
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
68
67
```
69
68
70
- # Testing
69
+ # Transaction Testing
71
70
``` bash
72
71
./gcosmos tx bank send val cosmos10r39fueph9fq7a6lgswu4zdsg8t3gxlqvvvyvn 1stake --chain-id=TODO:TEMPORARY_CHAIN_ID --generate-only > example-tx.json
73
72
74
73
# TODO: get account number
75
74
./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
76
75
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
78
77
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
80
79
```
You can’t perform that action at this time.
0 commit comments