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

[ZKS-00] Implement block-per-anchor instead of block-per-subdag #3066

Merged
merged 5 commits into from Feb 10, 2024

Conversation

raychu86
Copy link
Contributor

@raychu86 raychu86 commented Feb 8, 2024

Motivation

This PR implements the block-per-anchor model to replace the current block-per-subdag model. This is done by using the is_linked method and recursively finding sub-sub-dag anchors (to commit as blocks) in the top level committed Subdag.

Audit Finding: [zksecurity 00] Commit Flow Can Lead to Safety Violation

@howardwu howardwu merged commit 52b6a01 into mainnet Feb 10, 2024
2 of 24 checks passed
@howardwu howardwu deleted the feat/bullshark-block-per-anchor branch February 10, 2024 01:11
@raychu86 raychu86 changed the title Implement block-per-anchor instead of block-per-subdag [zksecurity 00] Implement block-per-anchor instead of block-per-subdag Feb 12, 2024
@raychu86 raychu86 changed the title [zksecurity 00] Implement block-per-anchor instead of block-per-subdag [ZKS-00] Implement block-per-anchor instead of block-per-subdag Feb 12, 2024
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.

None yet

3 participants