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

chore(sidecar): bump alloy version to 0.6.3 #378

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

merklefruit
Copy link
Collaborator

@merklefruit merklefruit commented Nov 12, 2024

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

Copy link
Collaborator Author

@merklefruit merklefruit left a 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.

Comment on lines +125 to +128
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(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Annoying

Comment on lines 77 to 79
// 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())
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Annoying

bolt-sidecar/src/signer/commit_boost.rs Outdated Show resolved Hide resolved
@merklefruit merklefruit added C: bolt-sidecar Component: bolt-sidecar T: chore Type: Chore labels Nov 12, 2024
Copy link
Contributor

@thedevbirb thedevbirb left a 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 🫡

bolt-sidecar/rust-toolchain.toml Show resolved Hide resolved
bolt-sidecar/src/crypto/ecdsa.rs Outdated Show resolved Hide resolved
bolt-sidecar/src/signer/commit_boost.rs Outdated Show resolved Hide resolved
@merklefruit merklefruit merged commit db4e851 into unstable Nov 13, 2024
3 checks passed
@merklefruit merklefruit deleted the nico/chore/bump-alloy branch November 13, 2024 09:32
@merklefruit merklefruit mentioned this pull request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: bolt-sidecar Component: bolt-sidecar T: chore Type: Chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants