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

Commit

Permalink
Revert "Revert "Companion for paritytech/cumulus#1367""
Browse files Browse the repository at this point in the history
This reverts commit d2dc82b.
  • Loading branch information
jiguantong committed Aug 23, 2022
1 parent 44ad528 commit b4524a9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 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} = 6,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 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: 1 addition & 0 deletions runtime/crab-parachain/src/pallets/transaction_payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ 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} = 6,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 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,6 +13,7 @@ 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} = 6,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 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,6 +13,7 @@ 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 b4524a9

Please sign in to comment.