Skip to content

Commit

Permalink
* Fixes v170
Browse files Browse the repository at this point in the history
  • Loading branch information
DidacSF committed Feb 16, 2024
1 parent 3c3f36c commit b52c9b3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions runtime/ajuna/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(5);
/// `Operational` extrinsics.
const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);

/// We allow for 2 of a second of compute with a 6 second average block time.
/// We allow for 500ms of a second of compute with a 12-second average block time.
const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts(
WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2),
WEIGHT_REF_TIME_PER_SECOND.saturating_div(2),
cumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64,
);

Expand Down Expand Up @@ -627,7 +627,7 @@ impl pallet_aura::Config for Runtime {
type AuthorityId = AuraId;
type DisabledValidators = ();
type MaxAuthorities = MaxAuthorities;
type AllowMultipleBlocksPerSlot = ConstBool<true>;
type AllowMultipleBlocksPerSlot = ConstBool<false>;
#[cfg(feature = "experimental")]
type SlotDuration = ConstU64<SLOT_DURATION>;
}
Expand Down Expand Up @@ -814,7 +814,8 @@ construct_runtime!(
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
PolkadotXcm: pallet_xcm = 31,
CumulusXcm: cumulus_pallet_xcm = 32,
MessageQueue: pallet_message_queue = 33,
// DmpQueue: cumulus_pallet_dmp_queue = 33,
MessageQueue: pallet_message_queue = 34,

// Governance
Sudo: pallet_sudo = 40,
Expand Down

0 comments on commit b52c9b3

Please sign in to comment.