Rename postTx -> broadcastTx in launchpad/cosmwasm etc
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user