Skip to content

Commit 771744f

Browse files
committed
evm: Tune gas fee
1 parent 25a47f5 commit 771744f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

standalone/node/src/chain_spec.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -522,10 +522,7 @@ pub fn testnet_genesis(
522522
min_join_bond: DOLLARS,
523523
..Default::default()
524524
},
525-
base_fee: {
526-
let todo = "tune the values";
527-
BaseFeeConfig::new(0x666666.into(), Permill::from_percent(0))
528-
},
525+
base_fee: BaseFeeConfig::new(100_000_000_000_u64.into(), Permill::zero()),
529526
dynamic_fee: DynamicFeeConfig::default(),
530527
ethereum: Default::default(),
531528
evm: Default::default(),

standalone/runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,8 +1696,8 @@ impl pallet_dynamic_fee::Config for Runtime {
16961696
}
16971697

16981698
parameter_types! {
1699-
pub DefaultBaseFeePerGas: U256 = U256::from(1_000_000_000);
1700-
pub DefaultElasticity: Permill = Permill::from_parts(125_000);
1699+
pub DefaultBaseFeePerGas: U256 = 100_000_000_000_u64.into();
1700+
pub DefaultElasticity: Permill = Permill::zero();
17011701
}
17021702

17031703
pub struct BaseFeeThreshold;

0 commit comments

Comments
 (0)