Skip to content

refactor(slasher): rename ATTESTED_DESCENDANT_OF_INVALID -> PROPOSED_DESCENDANT_OF_CHECKPOINT_WITH_INVALID_ATTESTATIONS#23468

Open
PhilWindle wants to merge 4 commits into
merge-train/spartanfrom
phil/a-1073-rename-attested-descendant-of-invalid
Open

refactor(slasher): rename ATTESTED_DESCENDANT_OF_INVALID -> PROPOSED_DESCENDANT_OF_CHECKPOINT_WITH_INVALID_ATTESTATIONS#23468
PhilWindle wants to merge 4 commits into
merge-train/spartanfrom
phil/a-1073-rename-attested-descendant-of-invalid

Conversation

@PhilWindle
Copy link
Copy Markdown
Collaborator

@PhilWindle PhilWindle commented May 21, 2026

Summary

Closes A-1073.

Rename the slashing offence (and its config knob, env var, helm value, terraform variable, deploy script, README, ops docs) so the name spells out the exact condition: a descendant of a checkpoint that had invalid (or insufficient) attestations. The behaviour change itself lives in A-1072 — this PR is rename-only.

  • OffenseType.ATTESTED_DESCENDANT_OF_INVALIDPROPOSED_DESCENDANT_OF_CHECKPOINT_WITH_INVALID_ATTESTATIONS
  • Config field slashAttestDescendantOfInvalidPenaltyslashProposeDescendantOfCheckpointWithInvalidAttestationsPenalty
  • Env var SLASH_ATTEST_DESCENDANT_OF_INVALID_PENALTYSLASH_PROPOSE_DESCENDANT_OF_CHECKPOINT_WITH_INVALID_ATTESTATIONS_PENALTY
  • Helm value, terraform variable, network defaults, deploy script
  • README + ops docs

Test plan

  • yarn build (yarn-project)
  • yarn format, yarn lint slasher stdlib foundation aztec-node
  • yarn workspace @aztec/slasher test
  • yarn workspace @aztec/stdlib test src/slashing
  • yarn workspace @aztec/stdlib test src/interfaces/aztec-node-admin.test.ts

…DESCENDANT_OF_INVALID

Rename the slashing offence and its associated config knob, env var, helm
value, and terraform variable to reflect that the slash now targets the
proposer that publishes a descendant checkpoint to L1, not its attestors.

Breaking for operators: SLASH_ATTEST_DESCENDANT_OF_INVALID_PENALTY ->
SLASH_PROPOSE_DESCENDANT_OF_INVALID_PENALTY (see v5.0.0 changelog).
…OINT_WITH_INVALID_ATTESTATIONS

Rename the offence (and its config knob, env var, helm value, terraform
variable, etc.) from the previous shorter PROPOSED_DESCENDANT_OF_INVALID
form to spell out the exact condition: a descendant of a checkpoint that
had invalid (or insufficient) attestations.
@PhilWindle PhilWindle changed the title refactor(slasher): rename ATTESTED_DESCENDANT_OF_INVALID -> PROPOSED_DESCENDANT_OF_INVALID refactor(slasher): rename ATTESTED_DESCENDANT_OF_INVALID -> PROPOSED_DESCENDANT_OF_CHECKPOINT_WITH_INVALID_ATTESTATIONS May 21, 2026
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.

1 participant