Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
Revert "Companion for paritytech/cumulus#1367"
Browse files Browse the repository at this point in the history
This reverts commit 51e148d.
  • Loading branch information
jiguantong committed Jul 9, 2022
1 parent da26bba commit d2dc82b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion runtime/crab-parachain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ frame_support::construct_runtime! {

// Monetary stuff.
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 5,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 6,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 6,

// Collator support. the order of these 4 are important and shall not change.
Authorship: pallet_authorship::{Pallet, Call, Storage} = 7,
Expand Down
1 change: 0 additions & 1 deletion runtime/crab-parachain/src/pallets/transaction_payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ frame_support::parameter_types! {
}

impl Config for Runtime {
type Event = Event;
type FeeMultiplierUpdate = SlowAdjustingFeeUpdate<Self>;
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
type OnChargeTransaction = CurrencyAdapter<Ring, DealWithFees<Runtime>>;
Expand Down
2 changes: 1 addition & 1 deletion runtime/darwinia-parachain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ frame_support::construct_runtime! {

// Monetary stuff.
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 5,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 6,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 6,

// Collator support. the order of these 4 are important and shall not change.
Authorship: pallet_authorship::{Pallet, Call, Storage} = 7,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ frame_support::parameter_types! {
}

impl Config for Runtime {
type Event = Event;
type FeeMultiplierUpdate = SlowAdjustingFeeUpdate<Self>;
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
type OnChargeTransaction = CurrencyAdapter<Ring, DealWithFees<Runtime>>;
Expand Down
2 changes: 1 addition & 1 deletion runtime/pangolin-parachain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ frame_support::construct_runtime! {

// Monetary stuff.
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 5,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 6,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 6,

// Collator support. the order of these 4 are important and shall not change.
Authorship: pallet_authorship::{Pallet, Call, Storage} = 7,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ frame_support::parameter_types! {
}

impl Config for Runtime {
type Event = Event;
type FeeMultiplierUpdate = SlowAdjustingFeeUpdate<Self>;
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
type OnChargeTransaction = CurrencyAdapter<Ring, DealWithFees<Runtime>>;
Expand Down

0 comments on commit d2dc82b

Please sign in to comment.