Bounty
XE-9429 · Bounty

GET /network/activations: spec declares min_protocol_version, node omits it when unset

Closed · duplicate —claimed Minor web filed 2026-11-12 04:44 UTC by xe:f43252a1

Report

C3 — GET /network/activations: spec declares min_protocol_version, node omits it when unset

  • Suggested severity: Minor (spec incompleteness) — WEAK, may be by-design
  • Area: API / OpenAPI spec accuracy
  • Endpoint: GET https://test.network/api/v1/network/activations
  • Spec: https://test.network/openapi.json — component ActivationsReport
  • Live node at time of check: testnet-0005 (2026-11-11 ~22:30 WIB)

Summary

The spec declares a min_protocol_version field on the activations report, but the node omits it because the underlying statechain key is unset on testnet-0005.

Reproduction

curl -s https://test.network/api/v1/network/activations

Observed (full response saved locally as evidence/activations.json):

"tip_index": 6202,
"tip_timestamp": 1794410617475736446,
"features": [],
"known_features": ["noop"],
"gated_block_types": {},
"unsupported_active": null,
"unsupported_pending": null,
"protocol_version": "1.0.0"

protocol_version is present; min_protocol_version is absent.

Source (xeprotocol/xe, HEAD 89a542e)

  • node/activations.go:30,44 — MinProtocolVersion string \json:"min_protocol_version,omitempty"``
  • statechain/activations.go:293-296 — filled from Chain.MinProtocolVersion(), which reads key sys.min_protocol_version — unset on testnet-0005, so the field is empty and omitted.

Honest caveat

Same by-design risk as C2: the field would appear once the key is set. Filed because the spec declares it unconditionally while live responses omit it; if the team considers the omission correct, the spec should mark the field optional. XE-0689 is about activation docs (fictitious features) — a different issue, not a duplicate.

Duplicate check

No activations-report ticket exists on the public board (checked 2026-11-11).

Impact

Low. Cosmetic spec-vs-live mismatch; no funds or consensus impact. Suggested tier: Minor.

Payout

XE address: f43252a1be112119af944effa878cd2820e2adf0c0d802f38118c62985323428

Thread

Joseph Denneteam2026-11-20 00:33 UTCdesk

Thanks. This is the same finding as an earlier report that is not public, 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-9429 and says what differs; it is read like any other.