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

start port over to the shared kzg lib #37

Merged
merged 2 commits into from
Nov 14, 2022
Merged

Conversation

roberto-bayardo
Copy link
Collaborator

@roberto-bayardo roberto-bayardo commented Nov 14, 2022

There is still code to be moved from Prysm into the shared lib, but this should at least update Prysm fully to the latest EIP-4844 spec changes. All devnet e2e tests pass when running with the similarly upgraded geth.

@roberto-bayardo
Copy link
Collaborator Author

cc: @terencechain

Copy link
Owner

@Inphi Inphi left a comment

Choose a reason for hiding this comment

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

the deps.bzl file needs to be updated too using gazelle. I can do this later.

}
return nil
copy(kzgSidecar.BeaconBlockRoot[:], sidecar.BeaconBlockRoot)
copy(kzgSidecar.KZGAggregatedProof[:], sidecar.AggregatedProof)
Copy link
Owner

Choose a reason for hiding this comment

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

nit: could simplify these using bytesutil.ToBytes48(proof) on L48

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nice, changed.

@roberto-bayardo
Copy link
Collaborator Author

the deps.bzl file needs to be updated too using gazelle. I can do this later.

looking into this.

@roberto-bayardo
Copy link
Collaborator Author

the deps.bzl file needs to be updated too using gazelle. I can do this later.

looking into this.

Ran the updates, and patched various bazel build issues. "bazel build //beacon-chain:beacon-chain" now runs successfully.

@roberto-bayardo roberto-bayardo merged commit 8ec03ac into devnet-v3 Nov 14, 2022
@roberto-bayardo roberto-bayardo deleted the use-kzg-lib branch November 14, 2022 18:19
roberto-bayardo added a commit that referenced this pull request Nov 16, 2022
* start port over to the shared kzg lib

* have CL compute the aggregated proof for the block, per updated spec
roberto-bayardo added a commit that referenced this pull request Nov 16, 2022
* start port over to the shared kzg lib

* have CL compute the aggregated proof for the block, per updated spec
roberto-bayardo added a commit that referenced this pull request Nov 16, 2022
* update to use latest kzg lib (#35)

* Expose JSON GetBlock

* start port over to the shared kzg lib (#37)

* start port over to the shared kzg lib

* have CL compute the aggregated proof for the block, per updated spec

* start port over to the shared kzg lib (#37) (#38)

* start port over to the shared kzg lib

* have CL compute the aggregated proof for the block, per updated spec

Co-authored-by: dancoffman <coffman@coinbase.com>
Co-authored-by: Daniel Coffman <dgcoffman@gmail.com>
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.

2 participants