<!-- XE-0608 · Regression bundle: 3 tickets closed patched but still broken at HEAD (XE-0061 codec lease_renew, XE-0084 faucet docs, XE-0005 partial gossip recover) · testnet -->
*Markdown view of <https://bounty.xe.network/XE-0608>. The page is the record; this is the same page for reading.*

XE-0608 · Bounty

# Regression bundle: 3 tickets closed patched but still broken at HEAD (XE-0061 codec lease\_renew, XE-0084 faucet docs, XE-0005 partial gossip recover)

Triaging
claimed Medium
web
filed 2026-11-05 06:17 UTC
by Gilang buana sultoni

Verdict
:   published when the fix ships

Tier
:   published when the fix ships

Claimed
:   Medium

Area
:   Consensus

Duplicate of
:   —

Tracked
:   internally

Updated
:   2026-11-11 10:14 UTC

Told
:   2026-11-08 20:18 UTC

### Patches

None linked.

### History

- [43657](https://bounty.xe.network/log/43657) 2026-11-08 20:18 UTC proposal.adopted
- [43656](https://bounty.xe.network/log/43656) 2026-11-08 20:18 UTC reply.sent
- [42403](https://bounty.xe.network/log/42403) 2026-11-08 20:18 UTC proposal.adopted
- [42402](https://bounty.xe.network/log/42402) 2026-11-08 20:18 UTC proposal.adopted
- [42401](https://bounty.xe.network/log/42401) 2026-11-08 20:18 UTC ticket.facts
- [42400](https://bounty.xe.network/log/42400) 2026-11-08 20:18 UTC proposal.adopted
- [42399](https://bounty.xe.network/log/42399) 2026-11-08 20:18 UTC ticket.facts
- [42398](https://bounty.xe.network/log/42398) 2026-11-08 20:18 UTC proposal.adopted
- [42397](https://bounty.xe.network/log/42397) 2026-11-08 20:18 UTC ticket.facts
- [42396](https://bounty.xe.network/log/42396) 2026-11-08 20:18 UTC proposal.adopted
- [42395](https://bounty.xe.network/log/42395) 2026-11-08 20:18 UTC ticket.facts
- [42394](https://bounty.xe.network/log/42394) 2026-11-08 20:18 UTC proposal.adopted

[Full history](https://bounty.xe.network/log?ref=XE-0608) · [JSON](https://bounty.xe.network/v1/tickets/XE-0608) · [markdown](https://bounty.xe.network/XE-0608.md)

### Report

# 🐞 Bug Report (Bug bounty — XE Protocol)

## Summary

Three tickets marked `patched` are **still broken at HEAD `02e9641`** (verified by direct code inspection at the pinned commit). Reported as one bundle because the shared root cause is a **fix-verification process gap**: each fix was merged/partial without a regression test that would have caught it.

### 1\. XE-0061 (minor, closed `patched` 2026-10-29) — codec still rejects `lease_renew` on decode

The encoder maps `BlockLeaseRenew → typeByteLeaseRenew (0x0E)` (`core/encoding.go`), but the decoder `unmarshalBlock` type-byte switch (`core/encoding.go:363-407`) **has no case for 0x0E** → falls through to `default: "UnmarshalBlock: unknown type byte 0x%02x"` (`:405-406`). The tail-decoder's combined `case BlockLease, …, BlockLeaseRenew:` exists but is **dead code** — the type-byte mapping was forgotten. Any `lease_renew` round-trip through the binary codec fails. The fix was half-applied.

### 2\. XE-0084 (minor, closed `patched` 2026-10-29) — faucet documentation stale

`README.md:74` — "grants **1,000 XE** per address per rolling 24 hours"; repeated at `README.md:226`. The faucet now grants 1 XE; docs unchanged at HEAD.

### 3\. XE-0005 (medium, closed) — partial fix: "gossiped block kills node" class still reachable

Validator hardening landed (`net/gossip_validate.go:63-98`) \+ `recover()` on the msg-RPC path (`net/msg.go:70-74`) — but the **gossip ingestion and block-pull goroutines have no recover** (only 2 recover() exist in the whole repo; `net/gossip.go` has none; `node/node.go:893-906` `pullPhantomBlocks` goroutine → `AddBlock` has none). Open ticket XE-0096 documents an unguarded `pk[:12]` slice in `VerifyMultisig` (`core/multisig.go:94,99,103`) reachable from block verification → a panic primitive inside block processing still exists, so the original crash-the-process class is **narrowed, not closed**.

## Steps to Reproduce

- XE-0061: build any `BlockLeaseRenew` block → `core.MarshalBlock` → `core.UnmarshalBlock` → error `UnmarshalBlock: unknown type byte 0x0e`. (Codec round-trip; source-verified at HEAD.)
- XE-0084: read `README.md:74` and `:226` at HEAD.
- XE-0005: send a block that trips the XE-0096 `pk[:12]` slice via the gossip ingestion path (no recover in `net/gossip.go`) → process exits.

## Impact

- XE-0061: any lease\_renew flow via the binary codec fails — functional break of a core block type.
- XE-0005: remotely triggerable node crash class persists (Medium).
- XE-0084: misleading docs (Minor).
- Meta-impact: `patched` status without a covering regression test — future fixes in these files can silently re-break.

## Suggested fix

- XE-0061: add `case typeByteLeaseRenew:` to the `unmarshalBlock` switch (the tail decoder already supports the type) \+ a codec round-trip test for every block type.
- XE-0084: update README faucet terms.
- XE-0005: wrap gossip-ingestion and block-pull goroutines with recover (parity with `net/msg.go:70-74`) \+ fix XE-0096's unguarded slice.

### Thread

**Joseph Denne**team2026-11-08 20:17 UTCdesk

Thanks for checking these against the current tree. We have confirmed the points you raise and are reviewing the state of each fix. We will update you here: https://bounty.xe.network/XE-0608
