fix(swap): gate USTC wrap gas on LUNC and keep the 2.71M envelope #1293
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!1293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/1264-ustc-wrap-gas"
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
ulunais treated as fee-paying native. USTC (uusd) still wraps, but gas is always bank LUNC (nativeWrapSwapHints.ts, G1264-4).WRAP_ROUTER_COMBO_OVERHEAD_GASuntil columbus-5 AC1 classifies OOG vs wallet rewrite.hopCountdefaults to 2 for bothulunaanduusduntil client-BFS is known (G1264-5).make verify-issue-1264, optionalVERIFY1264_COLUMBUS_TX.Related to #1264. Do not auto-close: AC1 (columbus-5
gas_used) is still unmeasured.Test plan
make verify-issue-1264unit + docs (ran twice)#1264(USTC Max / LUNC gas-gate)nativeWrapSwapHints,maxSpendableAmount,swapNativeGasBalanceGateUSTC casesgas_usedon wrap+2hop USTC→USTR (VERIFY1264_COLUMBUS_TX=<hash>)VERIFY_ISSUE_1264_CHAIN=1); last run showed Network fee ~76.76 LUNC then wasmSwap hop produced zero outputon stale gem hops (not OOG)Issue criteria
verify-issue-1264drain skip: no occupying job for rebase/fix-pr/CI-wait; remaining continue
drain skip: default autoland requires tip ACCEPT (#77)