-
Notifications
You must be signed in to change notification settings - Fork 252
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
Abstract out domain_block_preprocessor module #1294
Conversation
…_primary_block` No logical changes.
Ok(extrinsics) | ||
} | ||
|
||
pub struct SystemDomainBlockPreprocessor<Block, PBlock, Client, PClient> { |
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.
maybe move it under system_bundle_preprocessor
since we the similar structure for processor as well for consistency
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.
It's not the final form, some further refactoring changes are expected in the follow up PR so I kept it as a single file for simplicity.
This PR is a pure refactoring towards a reusable component
domain_block_preprocessor
that is responsible for converting a primary block to a specific domain block. The next step will be making the runtime api usages in this process flexible to support both the client and stateless runtime alternative so that it can be used by both the executor and fraud proof verifier.Part of #1274
Code contributor checklist: