Skip to content
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

fix: pallet-emergency para-xcm should not wrap XcmpMessageHandler #53

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

librelois
Copy link
Collaborator

@librelois librelois commented Aug 23, 2024

With a dev-test that simulate a chain stall on moonbeam we figured out that pallet-ermergency-para-xcm dropped incoming XCMP messages when XCM is paused: moonbeam-foundation/moonbeam#2913

Basically, if the XcmpMessageHandler doesn't have enough weights to enqueue incoming messages, it just drop them, so we can't wrap XcmpMessageHandler with a zero weight limit.

Fortunatly, the XcmpMessageHandler now use the message-queue pallet to enqueue incoming horizontal messages, so it's enough to wrap QueuePausedQuery implementation.

@librelois librelois merged commit ddc8eca into main Aug 27, 2024
9 of 10 checks passed
@librelois librelois deleted the elois-fix-auto-pause-xcm branch August 27, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants