Skip to content

Conversation

pawanjay176
Copy link
Member

Issue Addressed

N/A

Proposed Changes

After the electra fork which includes EIP 6110, the beacon node no longer needs the eth1 bridging mechanism to include new deposits as they are provided by the EL as a deposit_request. So after electra + a transition period where the finalized bridge deposits pre-fork are included through the old mechanism, we no longer need the elaborate machinery we had to get deposit contract data from the execution layer.

Since holesky has already forked to electra and completed the transition period, this PR basically checks to see if removing all the eth1 related logic leads to any surprises.

@pawanjay176 pawanjay176 changed the base branch from holesky-rescue to unstable May 12, 2025 22:20
Copy link

mergify bot commented May 16, 2025

This pull request has merge conflicts. Could you please resolve them @pawanjay176? 🙏

@mergify mergify bot added the waiting-on-author The reviewer has suggested changes and awaits thier implementation. label May 16, 2025
@michaelsproul
Copy link
Member

Hey @pawanjay176 I am keen to get this merged, would it help if I resolved merge conflicts and rolled this out on a few more nodes?

@pawanjay176
Copy link
Member Author

Resolved the conflicts. Would be awesome if we can roll this on some nodes with validators and check that block production works without any hitch 🙏

michaelsproul added a commit that referenced this pull request Jun 16, 2025
Squashed commit of the following:

commit e3c7251
Merge: 7a94542 6135f41
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Mon Jun 16 16:38:41 2025 +1000

    Merge remote-tracking branch 'origin/unstable' into remove-eth1

commit 7a94542
Merge: 373062d 38a5f33
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Fri May 30 10:18:02 2025 -0700

    Merge branch 'unstable' into remove-eth1

commit 373062d
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Mon May 12 15:19:12 2025 -0700

    Remove all eth1 related prod code
michaelsproul added a commit that referenced this pull request Jun 16, 2025
Squashed commit of the following:

commit 2a10023
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Mon Jun 16 17:11:36 2025 +1000

    Remove unused deps

commit e3c7251
Merge: 7a94542 6135f41
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Mon Jun 16 16:38:41 2025 +1000

    Merge remote-tracking branch 'origin/unstable' into remove-eth1

commit 7a94542
Merge: 373062d 38a5f33
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Fri May 30 10:18:02 2025 -0700

    Merge branch 'unstable' into remove-eth1

commit 373062d
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Mon May 12 15:19:12 2025 -0700

    Remove all eth1 related prod code
@michaelsproul michaelsproul mentioned this pull request Jun 16, 2025
eserilev pushed a commit to eserilev/lighthouse that referenced this pull request Jun 17, 2025
Squashed commit of the following:

commit 2a10023
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Mon Jun 16 17:11:36 2025 +1000

    Remove unused deps

commit e3c7251
Merge: 7a94542 6135f41
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Mon Jun 16 16:38:41 2025 +1000

    Merge remote-tracking branch 'origin/unstable' into remove-eth1

commit 7a94542
Merge: 373062d 38a5f33
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Fri May 30 10:18:02 2025 -0700

    Merge branch 'unstable' into remove-eth1

commit 373062d
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Mon May 12 15:19:12 2025 -0700

    Remove all eth1 related prod code
@michaelsproul michaelsproul added the backwards-incompat Backwards-incompatible API change label Jun 19, 2025
@michaelsproul
Copy link
Member

I think the failing tests are fine as well, just need to update some expected state roots due to the changes to the eth1 data voting (not significant for what those tests are testing anyway).

@michaelsproul michaelsproul added syncing and removed blocked waiting-on-author The reviewer has suggested changes and awaits thier implementation. do-not-merge labels Jun 20, 2025
michaelsproul added a commit that referenced this pull request Jun 20, 2025
Squashed commit of the following:

commit b4052ae
Merge: f1f5486 f67084a
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Fri Jun 20 14:03:14 2025 +1000

    Merge remote-tracking branch 'origin/unstable' into remove-eth1

commit f1f5486
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Fri Jun 20 11:45:12 2025 +1000

    Remove TODOs

commit 133d716
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Fri Jun 20 11:41:32 2025 +1000

    Update broadcast validation tests

commit bcf3c28
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Fri Jun 20 11:08:37 2025 +1000

    Put back /lighthouse/staking API for now

commit 924de42
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Fri Jun 20 11:00:05 2025 +1000

    Implement v25 database schema

commit 101d7e7
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Thu Jun 19 17:34:28 2025 +1000

    Update book

commit 4f413d0
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Thu Jun 19 17:31:04 2025 +1000

    Add deprecation warnings for flags

commit a4aaa32
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Thu Jun 19 16:24:14 2025 +1000

    Remove more HTTP client code

commit 8a7a341
Merge: 2a10023 dd98534
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Thu Jun 19 13:22:38 2025 +1000

    Merge remote-tracking branch 'origin/unstable' into remove-eth1

commit 2a10023
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Mon Jun 16 17:11:36 2025 +1000

    Remove unused deps

commit e3c7251
Merge: 7a94542 6135f41
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Mon Jun 16 16:38:41 2025 +1000

    Merge remote-tracking branch 'origin/unstable' into remove-eth1

commit 7a94542
Merge: 373062d 38a5f33
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Fri May 30 10:18:02 2025 -0700

    Merge branch 'unstable' into remove-eth1

commit 373062d
Author: Pawan Dhananjay <pawandhananjay@gmail.com>
Date:   Mon May 12 15:19:12 2025 -0700

    Remove all eth1 related prod code
@michaelsproul michaelsproul added the ready-for-merge This PR is ready to merge. label Jun 23, 2025
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

I'm so keen for this PR!

mergify bot added a commit that referenced this pull request Jun 23, 2025
@mergify mergify bot merged commit 11bcccb into sigp:unstable Jun 23, 2025
34 checks passed
@pawanjay176
Copy link
Member Author

Thanks for reviewing and fixing up everything Michael ❤️

mergify bot pushed a commit that referenced this pull request Jun 30, 2025
When we removed the eth1 data, I wrote a v25 schema upgrade to delete the data on disk:

- #7133

However, I forgot to update the current schema version, so this change was never actioned.


  This PR updates the current schema version to v25 so that the migration runs.
mergify bot pushed a commit that referenced this pull request Jul 10, 2025
Post-Pectra release for tree-states hot 🎉

Already merged to `release-v7.1.0`:

- #7444
- #6750
- #7437
- #7133
- #7620
- #7663
ethDreamer pushed a commit to ethDreamer/lighthouse that referenced this pull request Jul 28, 2025
Post-Pectra release for tree-states hot 🎉

Already merged to `release-v7.1.0`:

- sigp#7444
- sigp#6750
- sigp#7437
- sigp#7133
- sigp#7620
- sigp#7663
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompat Backwards-incompatible API change ready-for-merge This PR is ready to merge. v7.1.0 Post-Electra release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants