From 52f7d7a07c77f94a0463506937b3620364fee134 Mon Sep 17 00:00:00 2001 From: willclarktech Date: Fri, 27 Nov 2020 11:51:23 +0000 Subject: [PATCH] faucet: Pass fees config to stargate client --- packages/faucet/src/profile.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/faucet/src/profile.ts b/packages/faucet/src/profile.ts index 0cb0a655..9b394575 100644 --- a/packages/faucet/src/profile.ts +++ b/packages/faucet/src/profile.ts @@ -43,7 +43,10 @@ export async function createClients( > => [ senderAddress, isOfflineDirectSigner(wallet) - ? await SigningStargateClient.connectWithWallet(apiUrl, wallet, {}) + ? await SigningStargateClient.connectWithWallet(apiUrl, wallet, { + gasLimits: constants.gasLimits, + gasPrice: constants.gasPrice, + }) : new SigningCosmosClient(apiUrl, senderAddress, wallet, constants.gasPrice, constants.gasLimits), ], ),