update Substrate and Polkadot (to include new transaction priority) (#645)

* update Substrate and Polkadot

* Update parachain-template/runtime/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Alexander PopiakandBastian Köcher authored and GitHub committed 2021-10-05 11:48:33 +00:00
1 parent caa8b8172b
commit f499617c01
7 files changed
+256 -238

No files matched your search

+5
View File
@@ -223,11 +223,16 @@ impl pallet_balances::Config for Runtime {
type ReserveIdentifier = [u8; 8];
}
parameter_types! {
pub const OperationalFeeMultiplier: u8 = 5;
}
impl pallet_transaction_payment::Config for Runtime {
type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, ()>;
type TransactionByteFee = TransactionByteFee;
type WeightToFee = IdentityFee<Balance>;
type FeeMultiplierUpdate = ();
type OperationalFeeMultiplier = OperationalFeeMultiplier;
}
impl pallet_randomness_collective_flip::Config for Runtime {}