-
Notifications
You must be signed in to change notification settings - Fork 130
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
Check that the bridge satisfies XCM design assumptions #2433
Comments
For point 1:
More useful info:
Taking a look on them |
Looked into multiple aspects related to point 1:
In the case of an overweight message, the substrate
Personally I didn't notice anything related to this yet.
The
But I don't think we can use it, because we would need to be able to prove each message individually, and I don't know if that can be done.
|
Looked on this in detail and pushed just some small improvements. From what I understand the bridge messages queue satisfies the XCM design assumptions. There is just 1 thing that I would mention: As far as I understand we don't handle overweight messages. We assume that any message will be just pushed to a queue (XCMP/DMP/UMP) on the bridged chain, so the weight of this operation is constant and fits the block. This is true for all the current bridge configurations. But I'm wondering if it would make sense to have a failsafe mechanism anyway, just in case a message ends up being overweight. Just want to spend a bit more time thinking about this. |
A couple of things that I've also found/noticed:
|
* [benchmarks] pr with weights (#2026) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights Collectives (#2025) * [benchmarks] pr with weights * provide veto method for trait Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com> * [benchmarks] pr with weights (#2027) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: muharem <ismailov.m.h@gmail.com>
@serban300 to leave conclusion for derived new issue |
Created #2522 for using the ``pallet-message-queue`. Resolving. |
Related to #2443 . Specifically:
XCM is designed to not fail at low level (e.g queues are essentially unlimited, overweight messages stick around). And the bridge should be designed in the same way
I would like to:
The text was updated successfully, but these errors were encountered: