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

Abstract out domain_block_preprocessor module #1294

Merged
merged 7 commits into from
Mar 24, 2023

Conversation

liuchengxu
Copy link
Contributor

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:

Ok(extrinsics)
}

pub struct SystemDomainBlockPreprocessor<Block, PBlock, Client, PClient> {
Copy link
Member

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

Copy link
Contributor Author

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.

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