LocalTerra: wrap-mapper split-fee instantiate + record #533 e2e-tx P4–P8 #539
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#539
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?
Why
!1068 landed one-sided pool add/withdraw on
main(#533 AC1–AC12, A7 in CI, Playwright P1–P3). Issue close criteria still require LocalTerra e2e-tx P4–P8 recorded. Those paths were not run because local wrap-mapper instantiate still sends legacyfee_bps.Parent: #533 (keep open until this lands). Related: #516 (split fees; closed, mainnet-focused).
Scope
scripts/deploy-dex-local.shwrap-mapper instantiate tofee_wrap_bps/fee_unwrap_bps(and any dual-read needed for older wasm).make setup-cloud-localterra/--freshif volumes are stale).frontend-dapp/e2e/pool-one-sided-533-tx.spec.tsP4–P8:ulunawithout draining leftover cLUNC (A7 on-chain)make verify-issue-533when the chain is up.Out of scope
Verify
marked as related to #533
mentioned in issue #533
mentioned in commit 60e407771591c7045cbf1904262a1a7a8720064b
mentioned in commit dd6f88817130dd902bd118188803118e04b047fb
mentioned in commit
a99c91d6a5mentioned in commit
3a207c56dbmentioned in merge request !1072
Results — LocalTerra wrap-mapper split-fee instantiate + #533 P4–P8
MR: !1072 (
feat/539-wrap-mapper-split-local)Wrap-mapper instantiate (GitLab #539)
Rebuilt
wrap_mapper.wasmfrom current ustr-cmm (0.3.0) and instantiated withfee_wrap_bps/fee_unwrap_bps(legacyfee_bpsfallback not needed).2A424E8B22F197095B8335F7612A3E1A74DE8E561C27A3B611911376CA288EE7(fee_wrap_bps/fee_unwrap_bps)terra124tapgv8wsn5t3rv2cvywh4ckkmj6mc6fkya005qjmshnzewwm9qe9llrjconfigpaused=false,fee_wrap_bps=50,fee_unwrap_bps=50(nofee_bps)Log line:
Instantiated with split fees (GitLab #539).make verify-issue-539(offline)8/8 PASS (
VERIFY_ISSUE_539_SKIP_E2E=1): deploy split-fee init + legacy fallback, missing-wasm rebuild, P4–P8 spec present,verify-issue-533chain hook, skill/Makefile.Playwright e2e-tx P4–P8
cLUNCfrom the Token filter —"cLUNC"includes"LUNC")First P5 run failed: quote was
Zap. Est. LP …(wrapped cLUNC selected). Spec now usesselectTokenInCombobox(..., 'LUNC', 'cLUNC')and prefers acLUNCpair.make verify-issue-533runs this tx spec whenmake has-localterrasucceeds.Parent #533 stays open until !1072 lands.
!1072 (
feat/539-wrap-mapper-split-local) has the LocalTerra wrap-mapper split-fee instantiate (fee_wrap_bps/fee_unwrap_bpswith legacyfee_bpsfallback),make verify-issue-539, and P5 native-LUNC picker fix.Recorded locally (existing LocalTerra, not
--fresh):VERIFY_ISSUE_539_SKIP_E2E=1 make verify-issue-539→ 8/8CI=1 playwright test e2e/pool-one-sided-533-tx.spec.ts --project=e2e-tx→ 4 passed (P4, P5, P6/P7, P8)Leaving open until !1072 merges (
Closes #539on the MR). Parent #533 can close after that merge.Merge sanity check (!1072)
This issue is already closed while !1072 is still open. Verified !1072 (
feat/539-wrap-mapper-split-local@e6d407f4) against the written criteria. Merging without waiting on CI.deploy-dex-local.shwrap-mapper instantiate usesfee_wrap_bps/fee_unwrap_bpswith legacyfee_bpsfallback--freshso running stacks pick up split-fee instantiate.ulunaleftover-cLUNC assertion). P8 does not navigate an empty pool or assert one-sided disabled.make verify-issue-533verify-issue-533.sh+verify-issue-539.sh)CI on the MR is failed with
ci_quota_exceeded(no job logs). Not treated as a product defect.feat/539-localterra-wrap-split-feesis the same tree as the MR branch (no unique work).Branch was behind
main(Coolifyfrontend-tsc-build/frontend-tokenlist-docker); those diffs do not overlap this MR’s files. Makefile overlap with !1075 will be resolved on the remaining branch after the first merge.mentioned in commit
65e074daaamentioned in issue #549
marked as related to #549
!1072 is merged. Residual P6–P8 coverage and LocalTerra split-fee redeploy tracked in #549. Duplicate branch
feat/539-localterra-wrap-split-feeshas equivalent commits already onmain(git cherryequivalent) and will be deleted.