Docs: align fee tier examples (deployment guide vs architecture) #198
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#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem statement
Fee discount tier examples contradict across
docs/deployment-guide.mdanddocs/architecture.md(discount bps, min token thresholds). Operators can misconfigure production tiers.Evidence / context
docs/reference/fee-discount-tiers.mdif present.Proposed solution
Single source of truth; fix all contradictory examples; cross-link from deployment guide.
Acceptance criteria
Priority
P2
fee-discount-tiers.md is authoritative
mentioned in commit
de4b0fec7bResolution (merged to
main—de4b0fe)Aligned fee-discount tier documentation so operators have a single canonical source and automated drift detection.
What changed
docs/reference/fee-discount-tiers.md— expanded invariants (I1–I7), cross-links, GitLab #198 reference.docs/contracts-terraclassic.md; fixedExecuteMsgfield names (min_cl8y_balance,governance_only).docs/deployment-guide.md§5a anddocs/architecture.md(no inline conflicting numbers).docs/security-model.md(min_cl8y_balancevs deprecatedmin_tokens).scripts/check_fee_discount_tier_docs.py+make check-fee-discount-tier-docs(canonical MD ↔tier_fixtures.rs↔deploy-dex-local.sh).docs-fee-discount-tiersjob in.github/workflows/test.yml.skills/AGENTS_FEE_DISCOUNT_TIERS.mdfor third-party agents.Verification checklist
make check-fee-discount-tier-docspasses locallydocs/deployment-guide.md§5a links to reference doc only (no numeric tier table in guide)docs/architecture.mdDiscount Tiers section links to reference doc onlydocs/contracts-terraclassic.mdFee Discount section has no duplicate tier tablerg min_tokens docs/only hits intentional “not min_tokens” warningsscripts/deploy-dex-local.sh) matching reference tablemain/cc @brouie — please verify the checklist above and confirm we can close #198 when satisfied. Leaving issue open per deploy workflow.
Verification complete (agent)
Re-verified GitLab #198 on
main@049a979using worktreefix/issue-198-verify.Checklist
make check-fee-discount-tier-docs— OK (11 tiers aligned)docs/deployment-guide.md§5a — links todocs/reference/fee-discount-tiers.mdonly (no inline tier table)docs/architecture.mdDiscount Tiers — links to reference doc onlydocs/contracts-terraclassic.md— no duplicate tier tablerg min_tokens docs/— only intentional “notmin_tokens” warningsGetTiers— 11 tiers on-chain match canonical table (deploy-dex-local.shpayloads)mainrun (26495493656)/tiersshows tiers 1–9 with expected discounts (2.5% … 95%) from live LCDInfra used
LocalTerra healthy, host Postgres :5432, indexer :3001, frontend :5174, bot swarm active.
No doc drift or numeric conflicts found; closing as verified.
mentioned in issue #476
mentioned in issue #477
mentioned in issue #651