-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a Macro for Generating MultiLocations with Arbitrary Number of Junctions #974
Comments
This is related to:
from: paritytech/polkadot#2841 |
the-right-joyce
added
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
and removed
C3-medium
labels
Aug 25, 2023
claravanstaden
pushed a commit
to Snowfork/polkadot-sdk
that referenced
this issue
Dec 8, 2023
* Submit outbound message without MessageQueue * Priority control * Update priority * Update cumulus * Reserve space for high priority messages * Fix compile error & More refactor * Improve processing high priority messages * Some polish * Add priority back * Improve comments * Rename priority to normal * Refactor submit logic * Refactor process message * Add type HighPriorityCommands * Fix clippy * Rename priority with BridgeHub * Update parachain/primitives/core/src/outbound.rs Co-authored-by: Vincent Geddes <[email protected]> * Update parachain/pallets/outbound-queue/src/lib.rs Co-authored-by: Vincent Geddes <[email protected]> * Update parachain/pallets/outbound-queue/src/lib.rs Co-authored-by: Vincent Geddes <[email protected]> * Revamp with ExportOrigin * Fix format * Some polish * Check weight before processing message (paritytech#974) * update cumulus submodule * Improve comments * update cumulus * Update cumulus --------- Co-authored-by: Vincent Geddes <[email protected]>
claravanstaden
pushed a commit
to Snowfork/polkadot-sdk
that referenced
this issue
Dec 8, 2023
* Submit outbound message without MessageQueue * Priority control * Update priority * Update cumulus * Reserve space for high priority messages * Fix compile error & More refactor * Improve processing high priority messages * Some polish * Add priority back * Improve comments * Rename priority to normal * Refactor submit logic * Refactor process message * Add type HighPriorityCommands * Fix clippy * Rename priority with BridgeHub * Update parachain/primitives/core/src/outbound.rs Co-authored-by: Vincent Geddes <[email protected]> * Update parachain/pallets/outbound-queue/src/lib.rs Co-authored-by: Vincent Geddes <[email protected]> * Update parachain/pallets/outbound-queue/src/lib.rs Co-authored-by: Vincent Geddes <[email protected]> * Revamp with ExportOrigin * Fix format * Some polish * Check weight before processing message (paritytech#974) * update cumulus submodule * Include base_fee * Redeem vouchers for delivery fee * Estimate fee upon commit_one_message * Balance type as u128 * Improve comments * Runtime api for estimate_fee * Remove all voucher&redeem stuff * Fix for clippy * Benchmark for do_submit_message * Add delivery_fee * Improve fee test * Remove benchmark for submit * Add comments * Rename to calculate_fee * Comments * Add method for total fee * Short name * Rename to commit_messages * Use Balance generic for the api * Update parachain/pallets/outbound-queue/runtime-api/src/lib.rs Co-authored-by: Vincent Geddes <[email protected]> * Rename generic Runtime to T * Remove fee from OutboundQueueTicket * Rename to fees --------- Co-authored-by: Vincent Geddes <[email protected]> Co-authored-by: Vincent Geddes <[email protected]>
helin6
pushed a commit
to boolnetwork/polkadot-sdk
that referenced
this issue
Feb 5, 2024
* use workspace inheritance for package info * primitives: use workspace inheritance for dependencies * frame: use workspace inheritance for dependencies * primitives: adjust codec dep inheritance * client: use workspace inheritance for dependencies * frame: use workspace inheritance for dev-dependencies * adjust toml format * template: use workspace inheritance for dependencies * rename codec ==> scale-codec for better format
@franciscoaguirre is this still needed? |
We could still create a macro for reducing the boilerplate involved with |
ggwpez
removed
the
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
label
Feb 6, 2024
serban300
pushed a commit
to serban300/polkadot-sdk
that referenced
this issue
Mar 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now there is a lot of duplicate / pattern code in the MultiLocation definition to support junctions of up to length 8.
See: paritytech/polkadot#2662
This could be made into a macro to make such code generation for any number of junctions easy and compact.
The text was updated successfully, but these errors were encountered: