Skip to content

Commit

Permalink
evm: Remove pallet-dynamic-fee
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Jan 4, 2024
1 parent 31e9786 commit 1038129
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
18 changes: 0 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions standalone/node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ use node_runtime::constants::{currency::*, time::*};
use node_runtime::Block;
use node_runtime::{
wasm_binary_unwrap, AssetsConfig, BabeConfig, BalancesConfig, BaseFeeConfig, CouncilConfig,
DemocracyConfig, DynamicFeeConfig, ElectionsConfig, ImOnlineConfig, IndicesConfig,
NominationPoolsConfig, PhalaRegistryConfig, SessionConfig, SessionKeys, SocietyConfig,
StakerStatus, StakingConfig, SudoConfig, SystemConfig, TechnicalCommitteeConfig,
DemocracyConfig, ElectionsConfig, ImOnlineConfig, IndicesConfig, NominationPoolsConfig,
PhalaRegistryConfig, SessionConfig, SessionKeys, SocietyConfig, StakerStatus, StakingConfig,
SudoConfig, SystemConfig, TechnicalCommitteeConfig,
};
use pallet_im_online::sr25519::AuthorityId as ImOnlineId;
use sc_chain_spec::{ChainSpecExtension, Properties};
Expand Down Expand Up @@ -523,7 +523,6 @@ pub fn testnet_genesis(
..Default::default()
},
base_fee: BaseFeeConfig::new(100_000_000_000_u64.into(), Permill::zero()),
dynamic_fee: DynamicFeeConfig::default(),
ethereum: Default::default(),
evm: Default::default(),
}
Expand Down
2 changes: 0 additions & 2 deletions standalone/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ fp-rpc = { workspace = true }
fp-self-contained = { workspace = true, features = ["serde"] }
# Frontier FRAME
pallet-base-fee = { workspace = true }
pallet-dynamic-fee = { workspace = true }
pallet-ethereum = { workspace = true }
pallet-evm = { workspace = true }
pallet-evm-precompile-modexp = { workspace = true }
Expand Down Expand Up @@ -217,7 +216,6 @@ std = [
"fp-self-contained/std",
# Frontier FRAME
"pallet-base-fee/std",
"pallet-dynamic-fee/std",
"pallet-ethereum/std",
"pallet-evm/std",
"pallet-evm-precompile-modexp/std",
Expand Down
5 changes: 0 additions & 5 deletions standalone/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1693,10 +1693,6 @@ parameter_types! {
pub BoundDivision: U256 = U256::from(1024);
}

impl pallet_dynamic_fee::Config for Runtime {
type MinGasPriceBoundDivisor = BoundDivision;
}

parameter_types! {
pub DefaultBaseFeePerGas: U256 = 100_000_000_000_u64.into();
pub DefaultElasticity: Permill = Permill::zero();
Expand Down Expand Up @@ -1798,7 +1794,6 @@ construct_runtime!(
// Frontier
Ethereum: pallet_ethereum,
EVM: pallet_evm,
DynamicFee: pallet_dynamic_fee,
BaseFee: pallet_base_fee,
HotfixSufficients: pallet_hotfix_sufficients,
}
Expand Down

0 comments on commit 1038129

Please sign in to comment.