fix: DeFiLlama fees headline null vs Llama crawler (#687) #1187
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!1187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/687-defillama-fees-null"
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
daily_fees_usd/ revenue is now EFee-6 priced SUM. One unpriced source (e.g. CL8Ylimit_place) no longer nulls wrap/window/hub for the UTC day. Per-sourcefees.*stay fail-closed. SSR stays"0".startmoved to the first Coolify 200 day: unix1786924800/ ISO2026-08-17.start - 86400remains 404. Llama backfill no longer walks May 2026 404s.addUSDValue(total)then labels)."0"does not throw; JSONnullstill throws (unpriced, not silent$0).Does not reopen #631 or #683. GET stays O(1) rollup; no
from/to; TVL still on-chain.Related to #687.
Test plan
make setup-indexer-postgresthenmake verify-issue-687(includes related 631 + 683)fees.limit_placenulldaily_fees_usd"0"null(not"0")fee_usdstamp flips headline; non-null wrap stamp unchangednode --test scripts/defillama/dimensions/mapDaily.test.js(residual,"0", start pin)start: "2026-08-17", same METRIC+residual) and pastepnpm test fees cl8y-dex/pnpm test dexs cl8y-dex(yesterday + start)scripts/defillama/README.mdadded 2 commits
3ff8d00b- 1 commit from branchmain298c92ba- Merge origin/main into fix/687-defillama-fees-null.Compare with previous version
mentioned in commit
8801b0fcf2mentioned in issue #688
mentioned in issue #685
mentioned in issue #687
mentioned in commit
79a4deb587