Pin Bridge-Debt markets and bound issuer controls (#1393) #1411
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!1411
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-1393-market-pins"
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?
Changing the global debt receipt code previously invalidated existing markets' Issue/Repay checks. Each market now retains its own receipt/underlying code pins and verified minter inventory, so future registration policy cannot invalidate a valid existing market. New issuance starts disabled and requires finite per-issue, outstanding and fixed-epoch limits.
Adds reviewed market upgrade proposals/acceptance, guarded lossless issuer/receipt migration, recipient-accepted owner transfer, and an issuance circuit breaker that preserves valid repayment/recovery. The deployment script checks an independently reviewed underlying code before transactions, preserves existing pins/pauses/limits, and refuses legacy setup mutations. Policy and tests are separate modules. Both crates are version 1.1.0.
Refs #1393. Implementation acceptance is complete; this PR does not claim production migration acceptance or close outstanding rollout scope.
Acceptance criteria — implementation/synthetic scope
Validation
make verify-issue-1393: PASS=9 FAIL=0 SKIP=0.Review and verification
Follow the agent checklist and BD1393-1–BD1393-10; use the verification record/receipts and operator message runbook.
Agents may skip genuinely unavailable items with attempted command, reason and precise scope, while recording overall PASS with skips if all executed checks pass. Skipped criteria remain unchecked; executed failures remain FAIL until corrected and rerun. Skips cannot establish deployment acceptance.
Unverified scope and relevant followup
Production signing/migration was not performed; the read-only baseline still shows issuer/receipt 1.0.0. An integrated synthetic pool dump/price-impact simulation was not run because the standalone fixture has no pool venue; caps were tested in raw units without a dollar-loss bound. A later rollout must use reviewed legacy pins and collect actual migration/repayment receipts. Other underlying minters and wasm admins retain their documented governance powers; advisory $1 valuation is not reserve backing.
Tested commit:
37d60ca3267f3009a3ee1f68c01ac53777d4095d; exact tested source digests are in the verification record.