Skip to content

Commit

Permalink
evm: Tune gas fee
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Jan 4, 2024
1 parent 25a47f5 commit 771744f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions standalone/node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,10 +522,7 @@ pub fn testnet_genesis(
min_join_bond: DOLLARS,
..Default::default()
},
base_fee: {
let todo = "tune the values";
BaseFeeConfig::new(0x666666.into(), Permill::from_percent(0))
},
base_fee: BaseFeeConfig::new(100_000_000_000_u64.into(), Permill::zero()),
dynamic_fee: DynamicFeeConfig::default(),
ethereum: Default::default(),
evm: Default::default(),
Expand Down
4 changes: 2 additions & 2 deletions standalone/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1696,8 +1696,8 @@ impl pallet_dynamic_fee::Config for Runtime {
}

parameter_types! {
pub DefaultBaseFeePerGas: U256 = U256::from(1_000_000_000);
pub DefaultElasticity: Permill = Permill::from_parts(125_000);
pub DefaultBaseFeePerGas: U256 = 100_000_000_000_u64.into();
pub DefaultElasticity: Permill = Permill::zero();
}

pub struct BaseFeeThreshold;
Expand Down

0 comments on commit 771744f

Please sign in to comment.