Skip to content

Commit

Permalink
Remove Pallet DynamicFee from Frontier Template (#403)
Browse files Browse the repository at this point in the history
* removed dynamic fees pallet

* remove from cargo lock

* removed from cargo toml

* last comments
  • Loading branch information
albertov19 authored Feb 6, 2024
1 parent 16ae4cc commit 534d09d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 37 deletions.
27 changes: 0 additions & 27 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ fp-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-
fp-rpc = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false }
fp-self-contained = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false }
pallet-base-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false }
pallet-dynamic-fee = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false }
pallet-ethereum = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false }
pallet-evm = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false }
pallet-evm-chain-id = { git = "https://github.com/moondance-labs/frontier", branch = "tanssi-polkadot-v1.3.0", default-features = false }
Expand Down
1 change: 0 additions & 1 deletion container-chains/templates/frontier/node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ fn testnet_genesis(
..Default::default()
},
ethereum: Default::default(),
dynamic_fee: Default::default(),
base_fee: Default::default(),
transaction_payment: Default::default(),
sudo: container_chain_template_frontier_runtime::SudoConfig {
Expand Down
3 changes: 0 additions & 3 deletions container-chains/templates/frontier/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ fp-evm = { workspace = true, features = [ "serde" ] }
fp-rpc = { workspace = true }
fp-self-contained = { workspace = true, features = [ "serde" ] }
pallet-base-fee = { workspace = true }
pallet-dynamic-fee = { workspace = true }
pallet-ethereum = { workspace = true }
pallet-evm = { workspace = true }
pallet-evm-chain-id = { workspace = true }
Expand Down Expand Up @@ -140,7 +139,6 @@ std = [
"pallet-balances/std",
"pallet-base-fee/std",
"pallet-cc-authorities-noting/std",
"pallet-dynamic-fee/std",
"pallet-ethereum/std",
"pallet-ethereum/std",
"pallet-evm-chain-id/std",
Expand Down Expand Up @@ -247,7 +245,6 @@ try-runtime = [
"pallet-balances/try-runtime",
"pallet-base-fee/try-runtime",
"pallet-cc-authorities-noting/try-runtime",
"pallet-dynamic-fee/try-runtime",
"pallet-ethereum/try-runtime",
"pallet-evm-chain-id/try-runtime",
"pallet-evm/try-runtime",
Expand Down
5 changes: 0 additions & 5 deletions container-chains/templates/frontier/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -867,10 +867,6 @@ parameter_types! {
pub BoundDivision: U256 = U256::from(1024);
}

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

parameter_types! {
pub DefaultBaseFeePerGas: U256 = U256::from(2_000_000_000);
pub DefaultElasticity: Permill = Permill::from_parts(125_000);
Expand Down Expand Up @@ -948,7 +944,6 @@ construct_runtime!(
Ethereum: pallet_ethereum = 60,
EVM: pallet_evm = 61,
EVMChainId: pallet_evm_chain_id = 62,
DynamicFee: pallet_dynamic_fee = 63,
BaseFee: pallet_base_fee = 64,
HotfixSufficients: pallet_hotfix_sufficients = 65,
TransactionPayment: pallet_transaction_payment = 66,
Expand Down

0 comments on commit 534d09d

Please sign in to comment.