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(ssz): Implement basic generalized index stuff #837

Merged
merged 34 commits into from
Apr 22, 2024
Merged

Conversation

itsdevbear
Copy link
Member

No description provided.

@itsdevbear itsdevbear marked this pull request as ready for review April 22, 2024 00:46
@itsdevbear itsdevbear requested a review from ocnc as a code owner April 22, 2024 00:46
@itsdevbear itsdevbear requested a review from chibera April 22, 2024 00:46
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

Attention: Patch coverage is 18.49711% with 141 lines in your changes are missing coverage. Please review.

Files Patch % Lines
mod/primitives/ssz/merkle/index.go 18.69% 100 Missing ⚠️
mod/da/types/sidecar.go 0.00% 17 Missing ⚠️
mod/primitives/ssz/merkle/merkle.go 0.00% 14 Missing ⚠️
mod/primitives/math/u64.go 60.00% 6 Missing ⚠️
mod/da/verifier.go 0.00% 3 Missing ⚠️
mod/da/types/sidecars.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@itsdevbear itsdevbear added this pull request to the merge queue Apr 22, 2024
Merged via the queue into main with commit 2d97f6a Apr 22, 2024
12 checks passed
@itsdevbear itsdevbear deleted the pow2funcs branch April 22, 2024 03:47
b.KzgCommitment.ToHashChunks()[0],
kzgOffset+b.Index,
func (b *BlobSidecar) HasValidInclusionProof(
kzgOffset uint64,
Copy link
Contributor

Choose a reason for hiding this comment

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

is kzg offset just a magic number we pass in to point to the kzg branch? or how is it generated?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good magic number, we don't know, need to figure out. There should be a way to derive it logically for an arbitrary Body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants