Set default gas limit for send transactions to 100k
This commit is contained in:
@@ -25,7 +25,7 @@ async function main() {
|
||||
const client = await SigningStargateClient.connectWithSigner(rpcUrl, wallet, { prefix: prefix });
|
||||
const recipient = Bech32.encode(prefix, Random.getBytes(20));
|
||||
const amount = coins(226644, "ucosm");
|
||||
const fee = calculateFee(200_000, "0.025ucosm");
|
||||
const fee = calculateFee(100_000, "0.025ucosm");
|
||||
const memo = "Ensure chain has my pubkey";
|
||||
const sendResult = await client.sendTokens(faucet.address0, recipient, amount, fee, memo);
|
||||
assertIsDeliverTxSuccess(sendResult);
|
||||
|
||||
Reference in New Issue
Block a user