fix(security): attest LCD and treasury chain identity (#1392) #1413
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/cl8y-dex-terraclassic!1413
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-1392-chain-attestation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Configured LCD/RPC endpoints could serve another chain while discovery, quote caches and treasury preparation trusted their data. This change requires an explicit indexer network, checks every selected endpoint before reads/cache use, validates block chain IDs, and reports qualified health observations. A shared treasury policy corroborates fresh LCD/RPC blocks and protocol code identities before ticks, unsigned generation, signing, multisign, broadcast and retries. Credential-bearing URLs stay out of receipts and operational headers.
Fixes #1392. Invariants and third-party agent guidance: NET1392, endpoint policy, agent checklist, verification/results.
make verify-issue-1392→ 12 PASS / 0 FAIL / 0 SKIP. Both runs passed 482 unit tests, 39 API/ingestion integration tests, 13 treasury attestation tests, and 7 existing buyback failure tests plus math/shell regressions. Independent review, shell/format/docs checks and read-only network probes passed; commit hooks passed contract fmt/Clippy and gitleaks.Before release, set production
EXPECTED_CHAIN_ID=columbus-5, then rebuild/restart the indexer. Local deploy generateslocalterra. No schema or contract migration is required. Matching providers are corroboration, not cryptographic light-client authentication; reviewed code/hash pins still matter.Agents should follow the linked checklist, complete runnable checks first, record revision/UTC/commands/scope, and fix/retest failures. An unavailable item may be explicitly SKIP with its attempted prerequisite and reason, while overall verification remains PASS if every completed check passes. Leave skipped criteria unchecked; executed failures cannot become skips or deployment evidence.