QA: Wrap/Unwrap Flows Test Pass #26
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#26
Loading…
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?
QA Test Pass — Wrap/Unwrap Flows
Complete the wrap/unwrap QA test pass using the template at
docs/qa-templates/wrap-unwrap-test-pass.md.Fill in the header fields (Date, Environment, Browser, Wallet), work through every checkbox, and file bugs for any failures.
Date:
Tester: @brouie
Environment:
Browser:
Wallet:
Prerequisites
SetWrapMapper)1. Direct Wrap (Native → Wrapped CW20)
LUNC → LUNC-C
USTC → USTC-C
2. Direct Unwrap (Wrapped CW20 → Native)
LUNC-C → LUNC
USTC-C → USTC
3. Native Input Swap (Native → CW20 via Wrap + Router)
4. Native Output Swap (CW20 → Native via Router + Unwrap)
unwrap_output: true5. Native-to-Native Swap (Wrap + Router + Unwrap)
6. Treasury Balance Integrity
total_supplymatches expected minted minus burned7. Rate Limits
max_amount_per_window8. Paused State
9. Error Handling & Edge Cases
unwrap_output: truebut no wrap-mapper set on router → clear error10. Pool UI — Native Token Liquidity
Provide Liquidity
Withdraw Liquidity
11. Token Selector UI
12. Cross-browser / Responsive
Notes
assigned to @Brouie
Deploy fails when building treasury/wrap-mapper contracts:
The deploy script clones ustr-cmm to build treasury.wasm and wrap_mapper.wasm, but the external/cw20-mintable directory is missing from the repo. Cannot proceed with wrap/unwrap QA until this is resolved.
@PlasticDigits
mentioned in commit
034445d81bThe deploy failure has been fixed in commit
034445d— the deploy script now runsgit submodule update --init --recursiveafter cloning ustr-cmm, which ensuresexternal/cw20-mintable(andexternal/cmm-ustc-preregister) are checked out before the workspace-optimizer build.@Brouie please re-run the deploy and proceed with the wrap/unwrap QA test pass when ready.
Wrap/Unwrap QA Complete — 20/20 tests pass\n\nHappy Paths (4/4)\n- Wrap uluna → LUNC-C: PASS (0.5% fee correct)\n- Unwrap LUNC-C → uluna: PASS\n- Wrap uusd → USTC-C: PASS (0.5% fee correct)\n- Unwrap USTC-C → uusd: PASS\n\nInput Validation (4/4)\n- Unsupported denom: rejected\n- Zero amount: rejected\n- No funds: rejected\n- Multi-denom: rejected\n\nPause Controls (3/3)\n- Treasury pause blocks wrap: PASS\n- Wrap-mapper pause blocks wrap: PASS\n- Wrap-mapper pause blocks unwrap: PASS\n\nSecurity (3/3)\n- Direct NotifyDeposit: Unauthorized\n- Direct InstantWithdraw: Unauthorized\n- Wrong CW20 unwrap: rejected\n\nEdge Cases (2/2)\n- Dust (1 uluna): fee rounds to 0, mints 1\n- Large (50B uluna): fee math exact\n\nRate Limits (2/2)\n- Within limit: PASS\n- Exceeds limit: rejected\n\nDeploy Issues Found + Fixed: #28, #29, #30, #31\nFrontend Tests: 178/178 pass\nBlocked: Native swap via router needs LUNC-C/USTC-C pairs on DEX
@Brouie Is this ready to close or any outstanding items left from this batch of qa?
All wrap/unwrap contract-level QA complete. 20/20 pass. Deploy issues #28-31 all fixed and closed. Only remaining item is native swap via router which needs LUNC-C/USTC-C pairs — tracked separately. Closing this.