Skip to content

Commit 0314dc1

Browse files
committed
Remove pallet-dynamic-fee
1 parent d27f3be commit 0314dc1

File tree

4 files changed

+3
-29
lines changed

4 files changed

+3
-29
lines changed

Cargo.lock

Lines changed: 0 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

standalone/node/src/chain_spec.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ use node_runtime::constants::{currency::*, time::*};
2424
use node_runtime::Block;
2525
use node_runtime::{
2626
wasm_binary_unwrap, AssetsConfig, BabeConfig, BalancesConfig, BaseFeeConfig, CouncilConfig,
27-
DemocracyConfig, DynamicFeeConfig, ElectionsConfig, ImOnlineConfig, IndicesConfig,
28-
NominationPoolsConfig, PhalaRegistryConfig, SessionConfig, SessionKeys, SocietyConfig,
29-
StakerStatus, StakingConfig, SudoConfig, SystemConfig, TechnicalCommitteeConfig,
27+
DemocracyConfig, ElectionsConfig, ImOnlineConfig, IndicesConfig, NominationPoolsConfig,
28+
PhalaRegistryConfig, SessionConfig, SessionKeys, SocietyConfig, StakerStatus, StakingConfig,
29+
SudoConfig, SystemConfig, TechnicalCommitteeConfig,
3030
};
3131
use pallet_im_online::sr25519::AuthorityId as ImOnlineId;
3232
use sc_chain_spec::{ChainSpecExtension, Properties};
@@ -523,7 +523,6 @@ pub fn testnet_genesis(
523523
..Default::default()
524524
},
525525
base_fee: BaseFeeConfig::new(100_000_000_000_u64.into(), Permill::zero()),
526-
dynamic_fee: DynamicFeeConfig::default(),
527526
ethereum: Default::default(),
528527
evm: Default::default(),
529528
}

standalone/runtime/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ fp-rpc = { workspace = true }
119119
fp-self-contained = { workspace = true, features = ["serde"] }
120120
# Frontier FRAME
121121
pallet-base-fee = { workspace = true }
122-
pallet-dynamic-fee = { workspace = true }
123122
pallet-ethereum = { workspace = true }
124123
pallet-evm = { workspace = true }
125124
pallet-evm-precompile-modexp = { workspace = true }
@@ -217,7 +216,6 @@ std = [
217216
"fp-self-contained/std",
218217
# Frontier FRAME
219218
"pallet-base-fee/std",
220-
"pallet-dynamic-fee/std",
221219
"pallet-ethereum/std",
222220
"pallet-evm/std",
223221
"pallet-evm-precompile-modexp/std",

standalone/runtime/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,10 +1693,6 @@ parameter_types! {
16931693
pub BoundDivision: U256 = U256::from(1024);
16941694
}
16951695

1696-
impl pallet_dynamic_fee::Config for Runtime {
1697-
type MinGasPriceBoundDivisor = BoundDivision;
1698-
}
1699-
17001696
parameter_types! {
17011697
pub DefaultBaseFeePerGas: U256 = 100_000_000_000_u64.into();
17021698
pub DefaultElasticity: Permill = Permill::zero();
@@ -1798,7 +1794,6 @@ construct_runtime!(
17981794
// Frontier
17991795
Ethereum: pallet_ethereum,
18001796
EVM: pallet_evm,
1801-
DynamicFee: pallet_dynamic_fee,
18021797
BaseFee: pallet_base_fee,
18031798
HotfixSufficients: pallet_hotfix_sufficients,
18041799
}

0 commit comments

Comments
 (0)