mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 09:07:56 +00:00
Upgrade polkadot sdk v1.13.0 (#298)
* generic template updated to v1.13.0 * evm dependency upgrades * evm dependency upgrades after moonbeam * importing frontier updates * upgrade fuzzer to v1.11.0 * upgrade fuzzer to v1.12.0 * generic template fuzzer updated * evm fuzzer --------- Co-authored-by: Nikita Khateev <nikita.khateev@openzeppelin.com>
This commit is contained in:
@@ -48,7 +48,7 @@ use crate::{
|
||||
constants::{
|
||||
currency::{deposit, CENTS, EXISTENTIAL_DEPOSIT, GRAND, MICROCENTS},
|
||||
AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, MAX_BLOCK_LENGTH,
|
||||
NORMAL_DISPATCH_RATIO, SLOT_DURATION, VERSION,
|
||||
NORMAL_DISPATCH_RATIO, VERSION,
|
||||
},
|
||||
types::{
|
||||
AccountId, AssetKind, Balance, Beneficiary, Block, BlockNumber,
|
||||
@@ -200,10 +200,7 @@ impl pallet_preimage::Config for Runtime {
|
||||
}
|
||||
|
||||
impl pallet_timestamp::Config for Runtime {
|
||||
#[cfg(feature = "experimental")]
|
||||
type MinimumPeriod = ConstU64<0>;
|
||||
#[cfg(not(feature = "experimental"))]
|
||||
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>;
|
||||
/// A timestamp: milliseconds since the unix epoch.
|
||||
type Moment = u64;
|
||||
type OnTimestampSet = Aura;
|
||||
@@ -359,7 +356,7 @@ impl pallet_transaction_payment::Config for Runtime {
|
||||
/// With fast adjusting fees change rapidly, but fixed for all users at each block (no tipping)
|
||||
type FeeMultiplierUpdate = SlowAdjustingFeeUpdate<Self>;
|
||||
type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;
|
||||
type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, ()>;
|
||||
type OnChargeTransaction = pallet_transaction_payment::FungibleAdapter<Balances, ()>;
|
||||
type OperationalFeeMultiplier = OperationalFeeMultiplier;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type WeightToFee = WeightToFee;
|
||||
@@ -442,7 +439,9 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
|
||||
type ChannelInfo = ParachainSystem;
|
||||
type ControllerOrigin = EnsureRoot<AccountId>;
|
||||
type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;
|
||||
type MaxActiveOutboundChannels = ConstU32<128>;
|
||||
type MaxInboundSuspended = MaxInboundSuspended;
|
||||
type MaxPageSize = ConstU32<{ 1 << 16 }>;
|
||||
/// Ensure that this value is not set to null (or NoPriceForMessageDelivery) to prevent spamming
|
||||
type PriceForSiblingDelivery = PriceForSiblingParachainDelivery;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
|
||||
Reference in New Issue
Block a user