Increase defaultSendFee from 80_000 to 200_000

This commit is contained in:
Milan Steiner 2022-02-07 18:20:07 +01:00
parent 580fa713e9
commit be1cbed333
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ import { SigningCosmWasmClientOptions } from "./signingcosmwasmclient";
import hackatom from "./testdata/contract.json";
export const defaultGasPrice = GasPrice.fromString("0.025ucosm");
export const defaultSendFee = calculateFee(80_000, defaultGasPrice);
export const defaultSendFee = calculateFee(200_000, defaultGasPrice);
export const defaultUploadFee = calculateFee(1_500_000, defaultGasPrice);
export const defaultInstantiateFee = calculateFee(500_000, defaultGasPrice);
export const defaultExecuteFee = calculateFee(200_000, defaultGasPrice);

View File

@ -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(80_000, "0.025ucosm");
const fee = calculateFee(200_000, "0.025ucosm");
const memo = "Ensure chain has my pubkey";
const sendResult = await client.sendTokens(faucet.address0, recipient, amount, fee, memo);
assertIsDeliverTxSuccess(sendResult);