fix(community-tax): skip AutoLP settings invoice when sister is unchanged #1239
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!1239
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/1237"
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
UpdateSettings.autolpqueries sisterGetConfigand charges 50 UST1 only when pair / threshold /lp_recipient/ skim would change. Identical AutoLP (and identicalminter) isNoOpSettings; UST1 is not kept.buy_bpschange invoices once and does not emit sisterUpdateConfigwhen AutoLP is unchanged. Omitted pair/skim still merge (M610-6).settings.autolponly on a sister delta; blank threshold/recipient are not defaulted to raw1or the connected wallet.Fixes #1237
Acceptance
NoOpSettings; CMM UST1 unchanged; sister config unchanged.buy_bps→ one 50 UST1 invoice; no sister write; tokenbuy_bpsupdates.autolpin batch → error, fee not kept.auto_v2_lp+autolp→SkuNotUnlocked; fee not kept.NoOpSettings. Identicallaunch_guardsstill no-op.minterdoes not take the invoice by itself.autolp/ do not enable Save. A real threshold delta builds a 50 UST1 token-payee invoice.make verify-issue-592/make verify-issue-610stay green.Test plan
make verify-issue-1237(first pass + retest)cargo test -p cl8y-community-tax-token(100 passed)make verify-issue-592make verify-issue-610GetConfigcompare, not key presencedrain skip: hard-blocked (needs-human / high-risk / human topic); remaining continue