From a046312b8a2827ad27f4e76f7a8ab395c4eff2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Fri, 27 Sep 2024 10:08:50 +0100 Subject: [PATCH] set the default max gas back to 400_000 --- crates/relayer/src/chain/cosmos/types/gas.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/relayer/src/chain/cosmos/types/gas.rs b/crates/relayer/src/chain/cosmos/types/gas.rs index 620f38ad08..b8944d373f 100644 --- a/crates/relayer/src/chain/cosmos/types/gas.rs +++ b/crates/relayer/src/chain/cosmos/types/gas.rs @@ -1,5 +1,4 @@ use ibc_proto::cosmos::tx::v1beta1::Fee; -use namada_sdk::DEFAULT_GAS_LIMIT; use crate::chain::cosmos::calculate_fee; use crate::chain::cosmos::config::CosmosSdkConfig; @@ -7,7 +6,7 @@ use crate::config::dynamic_gas::DynamicGasPrice; use crate::config::GasPrice; /// Default gas limit when submitting a transaction. -const DEFAULT_MAX_GAS: u64 = DEFAULT_GAS_LIMIT; +const DEFAULT_MAX_GAS: u64 = 400_000; const DEFAULT_FEE_GRANTER: &str = "";