Skip to content

Conversation

@pawanjay176
Copy link
Member

Issue Addressed

Resolves #8129

Proposed Changes

Persist only the custody columns and not sampling columns like before.

let columns_to_custody = self.custody_columns_for_epoch(Some(
block_slot.epoch(T::EthSpec::slots_per_epoch()),
));
// Supernodes need to persist all sampled custody columns
Copy link
Collaborator

@dapplion dapplion Oct 10, 2025

Choose a reason for hiding this comment

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

Suggested change
// Supernodes need to persist all sampled custody columns
// If `columns_to_custody` contains all possible custody groups, no need to filter

I would update in the comment the mention of supernode. In the future, nodes custodying >50% of columns and doing reconstruction may be supernodes?

Copy link
Member

Choose a reason for hiding this comment

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

I think this is fine, supernode is explicitly defined here in the spec
https://github.com/ethereum/consensus-specs/blob/dev/specs/fulu/p2p-interface.md#supernodes

Copy link
Collaborator

@dapplion dapplion left a comment

Choose a reason for hiding this comment

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

Nice test! Just some minor comments

@jimmygchen jimmygchen added backwards-incompat Backwards-incompatible API change v8.0.0 Q4 2025 Fusaka Mainnet Release waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Oct 12, 2025
@jimmygchen jimmygchen mentioned this pull request Oct 13, 2025
2 tasks
Copy link
Member

@jimmygchen jimmygchen left a comment

Choose a reason for hiding this comment

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

Nice, the changes are simple enough i think we should include it in the rc.1 release once Lion's comments are addressed.

jimmygchen added a commit to jimmygchen/lighthouse that referenced this pull request Oct 13, 2025
commit aa64356
Author: Pawan Dhananjay <[email protected]>
Date:   Fri Oct 10 15:30:45 2025 -0700

    lint

commit 9fab592
Author: Pawan Dhananjay <[email protected]>
Date:   Fri Oct 10 15:10:05 2025 -0700

    Get claude to write tests

commit bd181a3
Author: Pawan Dhananjay <[email protected]>
Date:   Fri Oct 10 13:34:41 2025 -0700

    Only persist custody columns
@jimmygchen jimmygchen added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Oct 13, 2025
@mergify
Copy link

mergify bot commented Oct 13, 2025

Some required checks have failed. Could you please take a look @pawanjay176? 🙏

@mergify mergify bot added waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Oct 13, 2025
@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Oct 13, 2025
@mergify mergify bot added the queued label Oct 13, 2025
mergify bot added a commit that referenced this pull request Oct 13, 2025
@michaelsproul michaelsproul merged commit 2c328e3 into sigp:unstable Oct 13, 2025
35 of 37 checks passed
@mergify mergify bot removed the queued label Oct 13, 2025
jchavarri pushed a commit to jchavarri/lighthouse that referenced this pull request Oct 21, 2025
* Only persist custody columns

* Get claude to write tests

* lint

* Address review comments and fix tests.

* Use supernode only when building chain segments

* Clean up

* Rewrite tests.

* Fix tests

* Clippy

---------

Co-authored-by: Jimmy Chen <[email protected]>
Co-authored-by: Michael Sproul <[email protected]>
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. v8.0.0 Q4 2025 Fusaka Mainnet Release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants