Skip to content

Commit

Permalink
set the default max gas back to 400_000
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Sep 27, 2024
1 parent 10572b2 commit a046312
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/relayer/src/chain/cosmos/types/gas.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
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;
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 = "";

Expand Down

0 comments on commit a046312

Please sign in to comment.