fix(frontend): CW20-to-native unwrap gas (#343) #845
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!845
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "local1/343-unwrap-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
UNWRAP_GAS_LIMITwhen routerunwrap_output: trueestimateNativeSwapUlunaFeesTotalfor native output pathsTest plan
npm test -- transactions.test.tsDocs
Merge after !844 (#345) — stacked on same gas-limit work.
mentioned in merge request !846
changed the description
changed the description
mentioned in issue #343
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issue.
Reviewed by Cursor Bugbot for commit
09e0849441. Configure here.Unwrap hint not wired Max
Medium Severity
estimateNativeSwapUlunaFeesTotalnow honorsneedsUnwrapOutput, but swap Max still calls it viaNativeSwapMaxHintswithout that flag. Broadcast fees includeUNWRAP_GAS_LIMITforunwrap_output, while native Max reserves omit it on unwrap routes (e.g. native→native), so spendable LUNC can exceed what remains for the higher fee envelope.Reviewed by Cursor Bugbot for commit
09e0849441. Configure here.added 1 commit
8f2971ae- Wire needsUnwrapOutput into native swap Max fee reserveCompare with previous version
changed the description
resolved all threads
mentioned in commit
f7f56610c4