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

Skip processing the non-canonical consensus block for the operator #2313

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

NingLin-P
Copy link
Member

These blocks will be processed if the chain becomes canonical later, see this branch:
https://github.com/subspace/subspace/blob/d39a7b4c6109cbe65586ff9fc78c67a893befc5a/domains/client/domain-operator/src/domain_block_processor.rs#L226-L269
cc @nazar-pc

This PR also come with some adjustment to the test and added test case to cover this behavior

Code contributor checklist:

This commit also come with some adjustment of the test and add test case
to cover this behavior

Signed-off-by: linning <[email protected]>
@NingLin-P NingLin-P added this pull request to the merge queue Dec 12, 2023
Merged via the queue into main with commit 66df7aa Dec 12, 2023
10 checks passed
@NingLin-P NingLin-P deleted the skip-non-canonical-block branch December 12, 2023 14:25
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