diff --git a/bridges/primitives/millau/src/lib.rs b/bridges/primitives/millau/src/lib.rs index 38cbf37a4b..daef9abf2f 100644 --- a/bridges/primitives/millau/src/lib.rs +++ b/bridges/primitives/millau/src/lib.rs @@ -25,7 +25,7 @@ mod millau_hash; use bp_message_lane::{LaneId, MessageNonce, UnrewardedRelayersState}; use bp_runtime::Chain; use frame_support::{ - weights::{constants::WEIGHT_PER_MILLIS, DispatchClass, Weight}, + weights::{constants::WEIGHT_PER_SECOND, DispatchClass, Weight}, RuntimeDebug, }; use frame_system::limits; @@ -45,8 +45,8 @@ pub use millau_hash::MillauHash; /// Maximum weight of single Millau block. /// -/// This represents 0.1 seconds of compute assuming a target block time of six seconds. -pub const MAXIMUM_BLOCK_WEIGHT: Weight = 10 * WEIGHT_PER_MILLIS; +/// This represents 0.5 seconds of compute assuming a target block time of six seconds. +pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND / 2; /// Represents the average portion of a block's weight that will be used by an /// `on_initialize()` runtime call.