Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Comments

XCM revamp & Ping pallet#391

Merged
bkchr merged 55 commits intomasterfrom
gav-new-xcm
Apr 14, 2021
Merged

XCM revamp & Ping pallet#391
bkchr merged 55 commits intomasterfrom
gav-new-xcm

Conversation

@gavofyork
Copy link
Member

@gavofyork gavofyork commented Apr 7, 2021

Depends on paritytech/polkadot#2836
Tracked by paritytech/polkadot#2841

Also includes XCMP message dispatch system reimagining:

  • XCM messages now get aggregated into an XCMP message before being sent out
  • Similarly, XCMP messages get split into XCM messages before being executed
  • Moved most of the logic into xcm-handler pallet
  • Altered the outgoing XCMP API from push to pull
  • Changed underlying outgoing queue data structures to avoid multi-page read/writes
  • Introduced queuing for incoming messages
  • Introduced signal messages as a flow-control sub-stream
  • Introduced flow-control with basic threshold back-pressure
  • Introduced overall weight limitation on messages executed
  • Additonal alterations to XCM APIs for the new system

Also introduces the ping pallet for pinging between chains.

}
_ => {
/* TODO: Handle other cases, like downward message */
// Here is where we handle additional cases such as into parachains, bridges or
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CC @xlc

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
shawntabrizi and others added 2 commits April 13, 2021 23:16
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
@shawntabrizi
Copy link
Member

pallets/xcmp-queue/src/lib.rs needs a ton of tests and some specification on how it should behave.

Some really specific logic in it.

Copy link
Member

@shawntabrizi shawntabrizi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be fine to merge if there is a new issue opened to add tests particularly to the xcmp-queue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants