-
Notifications
You must be signed in to change notification settings - Fork 782
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
Verify Versioned Hashes During Optimistic Sync #4832
Conversation
2a81cb8
to
05b7dd6
Compare
Please re-target to unstable |
I'm down to replace this too. The reth version pinned in this PR imports So maybe we can merge this one, and open an issue to migrate to |
05b7dd6
to
54c7913
Compare
I'm gonna marked this blocked cause I think we're waiting on |
0a029b8
to
7aadcad
Compare
Looks like the reth team was able to update alloy just in time for |
beacon_node/execution_layer/src/engine_api/new_payload_request.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: realbigsean <[email protected]>
@Mergifyio requeue |
✅ This pull request will be re-embarked automaticallyThe followup |
🛑 The pull request has been removed from the queue
|
@Mergifyio requeue |
✅ This pull request will be re-embarked automaticallyThe followup |
🛑 The pull request has been removed from the queue
|
This is blocked on an update to the CI runner image for the MSRV https://github.com/sigp/lighthouse/actions/runs/7915078252/job/21606147109?pr=5247 |
@Mergifyio unqueue |
✅ The pull request has been removed from the queue
|
Squashed commit of the following: commit 9cd7386 Author: Mark Mackey <[email protected]> Date: Fri Feb 9 12:57:39 2024 +0800 Update to rust 1.75 & Pin alloy-consensus commit 5d5b08d Author: Mark Mackey <[email protected]> Date: Fri Feb 9 12:39:34 2024 +0800 Faster Versioned Hash Extraction commit 2dddb84 Author: ethDreamer <[email protected]> Date: Fri Feb 9 11:16:28 2024 +0800 Update beacon_node/execution_layer/src/engine_api/new_payload_request.rs Co-authored-by: realbigsean <[email protected]> commit 32d3e99 Author: ethDreamer <[email protected]> Date: Tue Feb 6 17:03:28 2024 +0800 Update to use Alloy Instead of Reth Crates (#14) commit 7aadcad Author: Mark Mackey <[email protected]> Date: Wed Oct 18 14:48:05 2023 -0500 Fix Problems Caused By Merge commit 04b5f26 Author: Mark Mackey <[email protected]> Date: Wed Oct 11 16:45:11 2023 -0500 Added Moar Tests commit 3e78411 Author: Mark Mackey <[email protected]> Date: Wed Oct 11 15:14:39 2023 -0500 Added Tests for Version Hash Verification commit dd18fed Author: Mark Mackey <[email protected]> Date: Tue Oct 10 17:19:49 2023 -0500 Verify Versioned Hashes commit faa9ff1 Author: Mark Mackey <[email protected]> Date: Fri Oct 6 18:10:50 2023 -0500 Refactor for Clarity commit 27716c0 Author: Mark Mackey <[email protected]> Date: Fri Oct 6 17:56:16 2023 -0500 Convert NewPayloadRequest to use Reference
@mergify requeue |
✅ This pull request will be re-embarked automaticallyThe followup |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at a264afd |
Issue Addressed
Proposed Changes
I've done a bit of refactoring which I think makes the code a bit cleaner and eliminates some cloning of the execution payload.
Additional Info
I used
alloy-consensus
to pull the versioned hashes from the raw transactions. Perhaps we should replace other functions that rely onethers_core
withalloy
crates as well? An easy place to start (that could potentially fit in this PR) is calculating the block hash.