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:
Bastian Köcher
2024-04-23 11:51:11 +02:00
committed by GitHub
parent 7f1646eb38
commit ac4f421f0b
6 changed files with 35 additions and 10 deletions
+16
View File
@@ -0,0 +1,16 @@
title: "polkadot_runtime_parachains::coretime: Expose `MaxXcmTransactWeight`"
doc:
- audience: Runtime Dev
description: |
Expose `MaxXcmTransactWeight` via the `Config` trait. This exposes the
possibility for runtime implementors to set the maximum weight required
for the calls on the coretime chain. Basically it needs to be set to
`max_weight(set_leases, reserve, notify_core_count)` where `set_leases`
etc are the calls on the coretime chain. This ensures that these XCM
transact calls send by the relay chain coretime pallet to the coretime
chain can be dispatched.
crates:
- name: polkadot-runtime-parachains
bump: major