-
Notifications
You must be signed in to change notification settings - Fork 907
Upgrade rust-eth-kzg to 0.8.0
#7870
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
Conversation
This pull request has merge conflicts. Could you please resolve them @jimmygchen? 🙏 |
# Conflicts: # beacon_node/beacon_chain/src/kzg_utils.rs # beacon_node/execution_layer/src/test_utils/execution_block_generator.rs # beacon_node/src/config.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- note that if you wanted to, you could call TrustedSetup::default
: https://github.com/crate-crypto/rust-eth-kzg/blob/d49e9057ebce035e6a6024f32ae920fb20819ff8/crates/trusted_setup/src/lib.rs#L82
Thanks @kevaundray ! I had a look into the code and currently this may be a bit of work until we remove / feature gate c-kzg and remove the I think we can probably do this when we get to #6107, and it's likely going to simplify a lot of things (remove trusted setup bytes from client config etc) |
Issue Addressed
#7864
The main breaking change in v0.8.0 is the
TrustedSetup
initialisation - it now requires a json string viaPeerDASTrustedSetup::from_json
.