-
Notifications
You must be signed in to change notification settings - Fork 13
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
chore(sidecar): bump alloy version to 0.6.3 #378
Conversation
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.
I left a few TODOs that can be solved when other dependencies eventually also update their alloy version.
let parent_beacon_block_root = B256::from_slice( | ||
// TODO: compat: as_slice() from_slice() is necessary until we bump ethereum-consensus | ||
// version to match alloy's. | ||
self.beacon_api_client.get_beacon_block_root(BlockId::Head).await?.as_slice(), |
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.
Annoying
bolt-sidecar/src/crypto/ecdsa.rs
Outdated
// TODO: compat: this is necessary since alloy PrimitiveSignature and Signature | ||
// are different types in the new version | ||
Ok(AlloySignature::try_from(sig.as_bytes().as_ref()).unwrap()) |
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.
Annoying
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.
Thanks for your service sir 🫡
A node operator has encountered an edge case in Geth's
eth_feeHistory
endpoint.After some digging it turns out that this was a bug in Alloy's deserialization of the
FeeHistory
result.It has already been fixed in Alloy last week here: alloy-rs/alloy#1629
but we need to bump alloy in the sidecar in order to inherit it.
This was due at some point, so here we go :)
Note: this also bumps the sidecar's toolchain to 1.82.0