fix: ingest wrap/unwrap protocol fees from captured mapper attrs #1128
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!1128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "613-fix-protocol-wrap-unwrap-ingest-custc-clunc-fee-amount-actually-lands"
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
notify_deposit(notaction=wrap), amount key isfee(notfee_amount).actionsegment scoped by reserved_contract_addressso flattened wrap_deposit + mapper + swap / InstantWithdraw txs persist wrap/unwrap without dropping or counting burn tax.make verify-issue-613(fixtures + docs +verify-issue-586).Closes #613
Test plan
make setup-indexer-postgres && make verify-issue-613make verify-issue-586still passesGET /api/v1/protocol/fees?window=24hwrapevent_count ≥ 1unwrap; InstantWithdrawtax_amountis not stored/protocolSource shows Wrap / Unwrap whenevent_count > 0; idle$0still hiddenWRAP_MAPPER_ADDRESSstill omits wrap/unwrap fromby_sourceCloses #613
marked this merge request as ready
added 1 commit
4de6d839- fix: ingest wrap/unwrap protocol fees from captured mapper attrsCompare with previous version
mentioned in commit
4c120e831cmentioned in issue #616
mentioned in issue #613
mentioned in issue #614