docs(qa): verify GitLab #276 pair-creation fee invariants and deploy path #762
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!762
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cursor/verify-issue-276-d524"
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?
Summary
Verified GitLab #276 (permissionless
CreatePairone-per-block griefing). On-chain fix shipped in MR !754 (100 LUNC governance-settable creation fee to treasury). This MR closes verification gaps found during QA:pair_creation_fee_uluna,SetPairCreationFee, and new audit invariant F2 insecurity-model.md,contracts-terraclassic.md, andcontracts-security-audit.md. Updatedeployment-guide.mdwith--amountoncreate_pair.deploy-dex-local.shinstantiates factory withpair_creation_fee_uluna=0so seed scripts keep working without attaching uluna on every pair.e2e-seed-wrap-pairs.shqueries factory config and attaches the creation fee when non-zero.scripts/qa/verify-issue-276.shandmake verify-issue-276.Verification checklist (acceptance → command/output)
CreatePaircreate_pair_charges_fee_to_treasury_and_gov_can_set_itulunaSetPairCreationFee)Configquery reflects new feeSetPairCreationFee→Unauthorizedtest_create_pair_one_per_block_then_next_block_okmake test-contracts→ 0 failuresmake verify-issue-276deploy-dex-local.shsetspair_creation_fee_uluna=0createPairattaches feeAutomated verification:
make verify-issue-276→PASS: 5 FAIL: 0Follow-ups
createPairand surface on CreatePair page.make deploy-localon a non-zero-fee deployment.changed the description
Security review (automated)
Commit reviewed:
6ba08a4fb55372feec805e7524c4dd048bf1b3b3Scope: MR diff vs
main— docs/invariants for GitLab #276 (pair-creation fee F2),make verify-issue-276, local deploypair_creation_fee_uluna=0,e2e-seed-wrap-pairs.shfee attachment, and bundled frontend UX (fraction presets #303, limit-ladder crossing guard, market route summary).Method: Reviewed added/modified paths only; traced untrusted input to sinks (shell, XSS, authz). On-chain fee enforcement (
execute_create_pair,SetPairCreationFee) unchanged in this MR.Outcome: FINDINGS: 0 medium+
Inline threads: None (no qualifying issues on this diff).
Notes (informational, below reporting threshold)
deploy-dex-local.shsetspair_creation_fee_uluna=0for local ergonomics; production/migrated factories retain the default fee per existing contract logic — not a production authz bypass.e2e-seed-wrap-pairs.shreads fee from factoryConfigvia LCD/jq and passes--amount …uluna; value is governance/on-chain config, quoted in bash — no new attacker-controlled injection surface in this change.dangerouslySetInnerHTML); ladder crossing checks are client-side UX hardening with on-chain validation unchanged.mentioned in issue #303
mentioned in commit
e48e676e90