-
Notifications
You must be signed in to change notification settings - Fork 789
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
Unify Import verifier usage across parachain template and omninode #7195
base: master
Are you sure you want to change the base?
Conversation
Thanks for looking into this! The changes as proposed here cannot be merged. Let me expand on the context: ContextThe import queue used in the omni-node is shared across various chains, including our system chains (some of which are quite old). Historically, these chains followed a pattern where they would:
The import queue needs to maintain backwards compatibility with these dual-consensus chains. When starting a fresh node, it begins downloading initial blocks that were authored with relay-chain consensus. The changes in this PR would cause these initial block imports to fail because we're exclusively using the AURA verifier. The verifier that was present before detects whether we have switched to AURA and then uses the required verifier. Specific Changes NeededThe following verifier needs to be replaced:
With this verifier:
You may need to adjust the crate to make the second verifier publicly available. The overall wrapping verifier should remain in place to handle path selection based on the consensus in use:
Apologies for not providing more info in the original issue! |
Okey on it |
@skunert done |
/cmd fmt |
Command "fmt" has started 🚀 See logs here |
Command "fmt" has finished ✅ See logs here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good!
Closes #7055
@skunert @bkchr