# Chain can deadlock due to no consensus because New Validators can not submit vote extensions

New validators lack a prior-batch tree entry so their vote extensions are rejected; if their power exceeds 1/3, vote extension consensus fails and the chain halts.

- Payout: Audit contest
- Severity: medium
- Program: Seda Protocol
- Found by: g
- Disclosed: 2024-12-20
- Write-up quality: 6/10
- Original: https://github.com/sherlock-audit/2024-12-seda-protocol-judging/issues/243
- Library page: https://bugbountylibrary.com/r/sherlock%3A2024-12-seda-protocol%3AM-11
- Tags: area:web3 domain:web3 impact:dos kind:contest platform:sherlock sev:medium tech:go technique:source-review vuln:dos

**Target:** Cosmos SDK ABCI vote extension handlers (ExtendVote/VerifyVoteExtension/PrepareProposal)
**Root cause:** ExtendVoteHandler and VerifyVoteExtensionHandler require a validator tree entry from batch.BatchNumber-1, so newly joined validators cannot submit vote extensions for one block while their power already counts toward total voting power.
**Steps:**
1. Add new validators whose combined power exceeds 1/3 of total voting power in a single batch.
2. New validators call ExtendVoteHandler; GetValidatorTreeEntry(ctx, batch.BatchNumber-1, valAddr) returns not-found, so no vote extension is produced.
3. VerifyVoteExtensionHandler also rejects their extensions for lacking a prior-batch entry.
4. Proposer calls PrepareProposal -> ValidateVoteExtensions() requires >2/3 consensus on extensions; missing >1/3 power makes it always fail.
5. ProcessProposal fails identically on every proposer, halting the chain.
**How found:** Code review of ABCI handlers noting the previous-batch tree entry requirement in ExtendVote/VerifyVoteExtension, then reasoning that new validators' power still counts in TotalVotingPower used by ValidateVoteExtensions, breaking the 2/3 threshold.
**Exploitation:** Not an attacker-driven exploit; triggered by legitimate validator set changes where new validator power exceeds 1/3, causing deterministic chain halt.
**Insight:** When a protocol gates per-validator actions on prior-epoch membership but counts current-epoch power in quorum math, check the transition window: any set where newly eligible power exceeds the quorum shortfall (here 1/3) causes liveness failure.

