-
Notifications
You must be signed in to change notification settings - Fork 77
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
Update BlindedBlobsBundle
SSZ and deserialize signed blinded block (Deneb)
#124
Update BlindedBlobsBundle
SSZ and deserialize signed blinded block (Deneb)
#124
Conversation
9896666
to
dedc77a
Compare
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.
generally looks great!
have one ask to unify how we handle the clocks
and a question on your decoding strategy
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.
spectacular, thanks!
Err(_) => return Err(ApiClientError::from(err).into()), | ||
}, | ||
}; | ||
let mut block = deneb::SignedBlindedBlockAndBlobSidecars::deserialize(&block) |
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.
this is nice!
BlindedBlobsBundle
SSZ, spec PR here. I've also updatedBlobsBundle
to keep it consistent (although it doesn't really matter because they are never signed)handle_open_bid
to deserialize Deneb variant ofSignedBlindedBlockAndBlobSidecars
. The try-and-fallback approach isn't really ideal, it may be worth considering a v2 endpoint with a mandatoryEth-Consensus-Version
header (and perhaps SSZ support as well).ethereum-consensus
andbeacon-api-client
dependencies to makemev-rs
work for latest deneb spec.