[Medium] LockedR cherry-picking — accept/renew can lock a past epoch's higher R (3.00× over-mint demonstrated)
Report
Summary
lease_accept/renew lock the best R from the last 4 epochs instead of the epoch at attestation. Demonstrated on a private devnet: hand-built lease_accept locked epoch.1's R=3000 while the current epoch R=1000; settle minted 52,500 mXE vs 17,500 honest (3.00× over-mint). A nonexistent triple was correctly rejected; an older epoch's triple (including payout_cap=0, which disables the Hermite cap) was accepted.
Evidence
validateLockedEmissionAt (core/ledger.go:2090-2112) loops over all candidates and returns nil on any match. epochAtFn (node/node.go:439-463) returns up to EpochLockTolerance+1 = 4 most recent epochs (core/ledger.go:200, EpochLockTolerance = 3). The honest path uses candidates[0] (latest) — a hand-crafted accept block is not bound to that. Full PoC: poc-f8f9f11.md (includes live R variance across epochs first, then the accept + settle comparison).
Fix direction
Pin R to the attestation epoch; reject payout_cap=0 triples from older epochs.
My XE address for any reward: 5422b32c07cf2b2ca53b00c2073be5a895dae3fdf13645c05ebdd1c08864cf8f
— @agngmarley
Thread
Thanks. This is the same finding as https://bounty.xe.network/XE-0103, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-13248 and says what differs; it is read like any other.