mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 09:41:10 +00:00
parachains_coretime: Expose MaxXCMTransactWeight (#4189)
This should be configured on the runtime level and not somewhere inside the pallet. --------- Co-authored-by: Adrian Catangiu <adrian@parity.io> Co-authored-by: Branislav Kontur <bkontur@gmail.com>
This commit is contained in:
@@ -1057,6 +1057,7 @@ impl parachains_scheduler::Config for Runtime {
|
||||
|
||||
parameter_types! {
|
||||
pub const BrokerId: u32 = BROKER_ID;
|
||||
pub MaxXcmTransactWeight: Weight = Weight::from_parts(200_000_000, 20_000);
|
||||
}
|
||||
|
||||
impl coretime::Config for Runtime {
|
||||
@@ -1066,6 +1067,7 @@ impl coretime::Config for Runtime {
|
||||
type BrokerId = BrokerId;
|
||||
type WeightInfo = weights::runtime_parachains_coretime::WeightInfo<Runtime>;
|
||||
type SendXcm = crate::xcm_config::XcmRouter;
|
||||
type MaxXcmTransactWeight = MaxXcmTransactWeight;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
Reference in New Issue
Block a user