Skip to content

Conversation

jimmygchen
Copy link
Member

Issue Addressed

Currently the validator effective balance used for computing PeerDAS custody group count is only updated when the validator subscribes to the BN via validator/beacon_committee_subscriptions.

If a validator stops registering with the node, the effective balance gets outdated and stays in the BN memory until the next restart. They are no longer required for CGC computation, as long as the CGC never reduces as per the spec, therefore they can be dropped.

@jimmygchen jimmygchen added the ready-for-review The code is ready for review label Jun 12, 2025
@jimmygchen jimmygchen requested a review from pawanjay176 June 12, 2025 15:31
@jimmygchen jimmygchen added the das Data Availability Sampling label Jun 13, 2025
@pawanjay176 pawanjay176 added ready-for-merge This PR is ready to merge. and removed das Data Availability Sampling labels Jun 13, 2025
mergify bot added a commit that referenced this pull request Jun 13, 2025
@jimmygchen jimmygchen added the das Data Availability Sampling label Jun 13, 2025
mergify bot added a commit that referenced this pull request Jun 13, 2025
jimmygchen added a commit that referenced this pull request Jun 13, 2025
Squashed commit of the following:

commit 52911a3
Author: Jimmy Chen <[email protected]>
Date:   Thu Jun 12 17:25:11 2025 +0200

    Drop stale registrations without reducing CGC.
jimmygchen added a commit that referenced this pull request Jun 13, 2025
Squashed commit of the following:

commit 719df16
Author: Jimmy Chen <[email protected]>
Date:   Fri Jun 13 16:02:51 2025 +0200

    Pop from column_reconstruction_queue.

    Co-authored-by: dknopik <[email protected]>

commit 19113d1
Author: Daniel Knopik <[email protected]>
Date:   Fri Jun 13 14:16:13 2025 +0200

    FORMAT?

commit ab94e8a
Author: Daniel Knopik <[email protected]>
Date:   Fri Jun 13 14:12:28 2025 +0200

    maybe fix test?

commit 0ee7abf
Author: Daniel Knopik <[email protected]>
Date:   Thu Jun 12 16:44:27 2025 +0200

    remove obsolete change

commit 36ca44d
Merge: 5a24f45 5472cb8
Author: Daniel Knopik <[email protected]>
Date:   Thu Jun 12 16:39:53 2025 +0200

    Merge branch 'unstable' into wait-before-reconstruction

commit 5a24f45
Author: Daniel Knopik <[email protected]>
Date:   Thu Jun 12 16:38:15 2025 +0200

    refactor

commit 891af69
Author: Daniel Knopik <[email protected]>
Date:   Thu Jun 12 09:28:49 2025 +0200

    fmt

commit b7c0dd1
Merge: 492d73c 9803d69
Author: Daniel Knopik <[email protected]>
Date:   Thu Jun 12 09:22:33 2025 +0200

    Merge branch 'unstable' into wait-before-reconstruction

    # Conflicts:
    #	beacon_node/network/src/network_beacon_processor/mod.rs

commit 492d73c
Author: Daniel Knopik <[email protected]>
Date:   Wed Jun 11 15:50:28 2025 +0200

    make sure to let only retry start reconstruction

commit b2f7a5b
Author: Daniel Knopik <[email protected]>
Date:   Wed Jun 11 15:15:44 2025 +0200

    correctly reschedule reconstruction

commit f813767
Author: Daniel Knopik <[email protected]>
Date:   Wed Jun 11 14:42:00 2025 +0200

    fmt

commit c7f5211
Author: Daniel Knopik <[email protected]>
Date:   Wed Jun 11 14:38:26 2025 +0200

    Log and restructure

commit 65e5ac4
Author: Daniel Knopik <[email protected]>
Date:   Wed Jun 11 14:05:50 2025 +0200

    Use processor

commit e2216c0
Author: Daniel Knopik <[email protected]>
Date:   Wed Jun 11 09:26:10 2025 +0200

    try 100ms

commit bef3344
Author: Daniel Knopik <[email protected]>
Date:   Wed Jun 11 09:07:07 2025 +0200

    Logging for testing

commit 1eee636
Author: Daniel Knopik <[email protected]>
Date:   Tue Jun 10 18:05:30 2025 +0200

    Wait for more columns before starting reconstruction
@mergify mergify bot merged commit a65f782 into sigp:unstable Jun 13, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
das Data Availability Sampling ready-for-merge This PR is ready to merge. ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants