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

pallet-emergency-para-xcm: pause xcm message processing when chain is stalled #34

Merged
merged 14 commits into from
Apr 9, 2024

Conversation

elfedy
Copy link
Contributor

@elfedy elfedy commented Mar 22, 2024

Adds a pallet to automatically pause the execution (but not the en-queuing) of xcm messages whenever the chain has not produced a block for a given amount of relay chain blocks. There's the option to give an origin the ability to perform a runtime update whenever this "paused" mode is entered.

@elfedy elfedy marked this pull request as ready for review April 8, 2024 18:34
Copy link
Collaborator

@librelois librelois left a comment

Choose a reason for hiding this comment

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

You just need to change one weight hint, but overall it's good

Co-authored-by: Agustín Rodriguez <[email protected]>
Signed-off-by: Federico Rodríguez <[email protected]>
@elfedy elfedy merged commit 9037aec into main Apr 9, 2024
10 checks passed
@elfedy elfedy deleted the elfedy-auto-pause-xcm branch April 9, 2024 13:59
elfedy added a commit that referenced this pull request Apr 9, 2024
… stalled (#34)


Signed-off-by: Federico Rodríguez <[email protected]>
Co-authored-by: Éloïs <[email protected]>
Co-authored-by: Agustín Rodriguez <[email protected]>
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.

4 participants