Verify Versioned Hashes During Optimistic Sync#4832
Verify Versioned Hashes During Optimistic Sync#4832mergify[bot] merged 10 commits intosigp:unstablefrom
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 <seananderson33@GMAIL.com>
|
@Mergifyio requeue |
✅ This pull request will be re-embarked automaticallyDetailsThe followup |
🛑 The pull request has been removed from the queue
|
|
@Mergifyio requeue |
✅ This pull request will be re-embarked automaticallyDetailsThe 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 <mark@sigmaprime.io> Date: Fri Feb 9 12:57:39 2024 +0800 Update to rust 1.75 & Pin alloy-consensus commit 5d5b08d Author: Mark Mackey <mark@sigmaprime.io> Date: Fri Feb 9 12:39:34 2024 +0800 Faster Versioned Hash Extraction commit 2dddb84 Author: ethDreamer <37123614+ethDreamer@users.noreply.github.com> 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 <seananderson33@GMAIL.com> commit 32d3e99 Author: ethDreamer <37123614+ethDreamer@users.noreply.github.com> Date: Tue Feb 6 17:03:28 2024 +0800 Update to use Alloy Instead of Reth Crates (#14) commit 7aadcad Author: Mark Mackey <mark@sigmaprime.io> Date: Wed Oct 18 14:48:05 2023 -0500 Fix Problems Caused By Merge commit 04b5f26 Author: Mark Mackey <mark@sigmaprime.io> Date: Wed Oct 11 16:45:11 2023 -0500 Added Moar Tests commit 3e78411 Author: Mark Mackey <mark@sigmaprime.io> Date: Wed Oct 11 15:14:39 2023 -0500 Added Tests for Version Hash Verification commit dd18fed Author: Mark Mackey <mark@sigmaprime.io> Date: Tue Oct 10 17:19:49 2023 -0500 Verify Versioned Hashes commit faa9ff1 Author: Mark Mackey <mark@sigmaprime.io> Date: Fri Oct 6 18:10:50 2023 -0500 Refactor for Clarity commit 27716c0 Author: Mark Mackey <mark@sigmaprime.io> Date: Fri Oct 6 17:56:16 2023 -0500 Convert NewPayloadRequest to use Reference
|
@mergify requeue |
✅ This pull request will be re-embarked automaticallyDetailsThe followup |
✅ The pull request has been merged automaticallyDetailsThe 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-consensusto pull the versioned hashes from the raw transactions. Perhaps we should replace other functions that rely onethers_corewithalloycrates as well? An easy place to start (that could potentially fit in this PR) is calculating the block hash.