From 42d34404f94b3a5e74e8a0fcf8f0c2e410b08476 Mon Sep 17 00:00:00 2001 From: JSHan94 Date: Sat, 16 Dec 2023 02:20:05 +0900 Subject: [PATCH] fix gas prices --- bots/src/config.ts | 2 +- bots/src/lib/wallet.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/src/config.ts b/bots/src/config.ts index 3cecde46..9bec62d1 100644 --- a/bots/src/config.ts +++ b/bots/src/config.ts @@ -67,7 +67,7 @@ export const config = { l2lcd: new LCDClient( L2_LCD_URI ? L2_LCD_URI.split(',')[0] : 'http://localhost:1317', { - gasPrices: `0.15${L2_DENOM || 'umin'}`, + gasPrices: `0${L2_DENOM || 'umin'}`, gasAdjustment: '2' } ), diff --git a/bots/src/lib/wallet.ts b/bots/src/lib/wallet.ts index 65f1fa9e..42f04428 100644 --- a/bots/src/lib/wallet.ts +++ b/bots/src/lib/wallet.ts @@ -87,7 +87,7 @@ export class TxWallet extends Wallet { denom ); - if (balance.amount && parseInt(balance.amount) < 100_000_000) { + if (balance.amount && parseInt(balance.amount) < 10_000_000) { await notifySlack( buildNotEnoughBalanceNotification(this, parseInt(balance.amount), denom) );