Skip to content

fix: Do not reexecute all pruned blocks in the prune watcher#17178

Merged
PhilWindle merged 1 commit intonextfrom
palla/epoch-prune-watcher-filter-by-epoch-blocks
Sep 20, 2025
Merged

fix: Do not reexecute all pruned blocks in the prune watcher#17178
PhilWindle merged 1 commit intonextfrom
palla/epoch-prune-watcher-filter-by-epoch-blocks

Conversation

@spalladino
Copy link
Contributor

When deciding whether to slash committee members for an epoch, the epoch prune watcher tries reexecuting all blocks in the pruned epoch. It also uses that to decide whether to slash for data withholding, if not all data is available.

However, the blocks being reexecuted (and the txs being gathered) were from ALL pruned epochs, which could be more than one if the proof submission window was long enough. So we ended up slashing committee members from the first epoch for data withholding offenses perpetrated by members in future epochs.

When deciding whether to slash committee members for an epoch, the epoch
prune watcher tries reexecuting all blocks in the pruned epoch. It also
uses that to decide whether to slash for data withholding, if not all
data is available.

However, the blocks being reexecuted (and the txs being gathered) were
from ALL pruned epochs, which could be more than one if the proof
submission window was long enough. So we ended up slashing committee
members from the first epoch for data withholding offenses perpetrated
by members in future epochs.
@spalladino spalladino force-pushed the palla/epoch-prune-watcher-filter-by-epoch-blocks branch from cd8bc8b to 59f2d78 Compare September 19, 2025 22:41
@PhilWindle PhilWindle added this pull request to the merge queue Sep 20, 2025
Merged via the queue into next with commit 5d263f1 Sep 20, 2025
14 checks passed
@PhilWindle PhilWindle deleted the palla/epoch-prune-watcher-filter-by-epoch-blocks branch September 20, 2025 10:57
PhilWindle added a commit that referenced this pull request Sep 29, 2025
This PR is a backport of the following into V2.

#17169
#17176 
#17186 
#17178 
#17177
#17130
#17039 
#17230
#17245 
#17273
#17186
#17192
#17194 
#17225 
#17285 
#17312 
#17326

---------

Co-authored-by: Alex Gherghisan <alexghr@users.noreply.github.com>
Co-authored-by: Santiago Palladino <santiago@aztec-labs.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: alexghr <3816165+alexghr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants