Rename postTx -> broadcastTx in launchpad/cosmwasm etc

This commit is contained in:
Simon Warta
2020-08-03 17:23:05 +02:00
parent 3a5c23c2e8
commit 5dcaf706dd
33 changed files with 224 additions and 203 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ const signedTx: StdTx = {
memo: memo,
signatures: [signature],
};
const postResult = await client.postTx(signedTx);
const broadcastResult = await client.broadcastTx(signedTx);
```
## Extended helpers
+2 -2
View File
@@ -36,5 +36,5 @@ const signedTx: StdTx = {
signatures: [signature],
};
const result = await client.postTx(signedTx);
console.log("Post result:", result);
const result = await client.broadcastTx(signedTx);
console.log("Broadcast result:", result);
+1 -1
View File
@@ -95,6 +95,7 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
"makeCosmoshubPath",
"makeSignBytes",
"IndexedTx",
"BroadcastTxResult",
"Coin",
"CosmosClient",
"Msg",
@@ -102,7 +103,6 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
"MsgSend",
"LcdClient",
"OfflineSigner",
"PostTxResult",
"PubKey",
"pubkeyToAddress",
"Secp256k1Wallet",