feat(ops): deploy and migrate route-tax contracts #1401
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!1401
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/1381-production-rollout"
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?
Adds an existing-address production rollout for #1381: reviewed code stores, factory/pair/router migrations, launcher token-template rotation, and all managed community-tax instances including zero-rate tokens. The default mode creates a read-only plan; production transactions occur only when the operator invokes
--execute.Refs #1381. No production signing or deployment was performed.
Resulting workflow
scripts/upgrade-1381-route-tax.shwraps a separate planner/journal engine and SDK signing transport.cl8ydeployfor stores andmultisig_2of3with membersmultisig1/multisig2for governance; validates membership without assuming the 1/3/2 public-key order. Optional EOA admin keys are address-bound. CMM-owned tokens usemigrate_owned_contract, with an optional reviewed CMM prerequisite upgrade.--finalizerestores original pauses after application configuration rollout.Factory CW2 increases to 1.11.0 without a contract behavior change relative to repository source. The read-only production inventory found factory 11629/1.10.0 using a different hash from the repository 1.10.0 artifact, so a genuine increasing-version release is necessary. Router/token target1.2.0 and pair1.19.0 remain unchanged; the compatible launcher rotates its token code through configuration.
Validation
make verify-route-tax-rollout), including adversarial journal/receipt/signature/fee/pause cases and zero-rate tokens.-D warnings, formatting, Python compilation, shell syntax and documentation checks passed.--execute/--finalizeand live swap acceptance remain unexecuted; this PR supplies the script requested by the operator.Operator and agent instructions
Start with
bash scripts/upgrade-1381-route-tax.sh --help, then run its default read-only plan using the reviewed optimized artifacts and checksum manifest. Use the same inputs/state directory for--execute,--verifyand--finalize. Apply emitteddeployment.envto matching indexer/frontend releases and invalidate caches before finalization; run bounded live smoke after trading is restored.Follow the runbook, agent checklist/results and RTROLL1381 invariants. Agents may record unavailable checks as explicit skips and report overall PASS with explicit skips; executed failures remain FAIL and skipped production work never establishes AC9 deployment.