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

Refactor block payload and VID disperse #1814

Merged
merged 20 commits into from
Sep 27, 2023
Merged

Conversation

shenkeyao
Copy link
Member

@shenkeyao shenkeyao commented Sep 25, 2023

  • Updates VIDBlockPayload.
    • Adds VID commitment.
    • Updates Committable impl for VIDBlockPayload.
  • Removes add_transaction_raw from BlockPayload trait.
  • Updates VID disperse.
    • Moves the construction from the DA task to the transaction task.
    • Gets VID first, then the block and proposal.
    • Uses transaction bytes instead of message bytes for VID construction.

Closes #1787.
Closes #1588.

crates/hotshot/src/demo.rs Show resolved Hide resolved
crates/hotshot/src/lib.rs Show resolved Hide resolved
crates/types/src/block_impl.rs Outdated Show resolved Hide resolved
crates/types/src/block_impl.rs Show resolved Hide resolved
crates/types/src/block_impl.rs Show resolved Hide resolved
crates/types/src/traits/block_contents.rs Outdated Show resolved Hide resolved
crates/task-impls/src/transactions.rs Outdated Show resolved Hide resolved
crates/task-impls/src/transactions.rs Outdated Show resolved Hide resolved
crates/testing/tests/atomic_storage.rs Show resolved Hide resolved
@shenkeyao
Copy link
Member Author

PR comments have been addressed. I'll sync with main and resolve merge conflicts later.

@shenkeyao shenkeyao requested a review from ggutoski September 27, 2023 18:55
@shenkeyao shenkeyao merged commit 26e2451 into main Sep 27, 2023
@shenkeyao shenkeyao deleted the keyao/refactor-payload branch September 27, 2023 20:58
@ggutoski ggutoski mentioned this pull request Oct 5, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants