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

feat: adding metadata input for calculate_vid_disperse #4018

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Conversation

mrain
Copy link
Contributor

@mrain mrain commented Jan 9, 2025

Closes #3973

This PR:

Use BlockPayload instead of encoded bytes as input for calculate_vid_disperse.

The metadata in BlockPayload seems to be for the namespace table: https://github.com/EspressoSystems/espresso-sequencer/blob/fa44122b66b49ca070eab64e59965290f9c0eecf/sequencer/src/block/full_payload/payload.rs#L141
Now VID can take it as input for efficient nsproof generation/verification.

This PR does not:

Key places to review:

Copy link
Contributor

@ss-es ss-es left a comment

Choose a reason for hiding this comment

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

looks good to me!

big fan of the [u8] -> TYPES::BlockPayload change

@mrain mrain merged commit 2ed0749 into main Jan 9, 2025
18 checks passed
@mrain mrain deleted the cl/nsblock branch January 9, 2025 23:06
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.

[VID Upgrade] expose Namespace table in HotShot so VID can take it as input
4 participants