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

Replace block building with block payload #1714

Merged
merged 8 commits into from
Sep 14, 2023
Merged

Conversation

shenkeyao
Copy link
Member

Instead of removing the current block-building API as planned in #1672, this PR renames Block to BlockPayload with an additional unimplemented commit function.

This allows us to be ready to implement the block payload and header without breaking the build, and we can add the VID commitment computation once the VID integration is in.

Closes #1672. Also is part 1 of #1673 (part 2 is in progress).

elliedavidson
elliedavidson previously approved these changes Sep 12, 2023
@@ -229,6 +234,13 @@ impl Block for SDemoBlock {
.collect(),
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such cleanliness! Thank you!

bfish713
bfish713 previously approved these changes Sep 14, 2023
elliedavidson
elliedavidson previously approved these changes Sep 14, 2023
@shenkeyao shenkeyao merged commit 84b0bd0 into main Sep 14, 2023
4 of 6 checks passed
@shenkeyao shenkeyao deleted the keyao/remove-block-api branch September 14, 2023 21:02
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.

Remove current block building API
4 participants