fix(indexer): keep candle USD as-of quote and mark idle bars #1101
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!1101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/568-candle-usd-mark-to-market"
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
swap_events.price_usdand candle USD to the live hub tick (the as-of-now flatten on Charts Price (USD)).hub_pricessnapshot, write idle mark-to-market bars on catalog-quoted factory pairs (usd = last_human × as-of quote USD,trade_count = 0, zero volume).oracle_pricesas-of timestamp. UST1/USTR-quoted history cannot be replayed (no hub time series).Closes #568.
Test plan
make verify-issue-568(docs, source, lib, integration, frontend)verify-issue-556verify-issue-543verify-issue-522verify-issue-515cargo test --test candle_usd_mark --test api_hub_prices --test candle_human_usd --test candle_skip_zero_price -- --test-threads=1priceChartCandles.test.ts+tradePairDisplayOrientation.test.tsverify-issue-524/verify-issue-548(not in the #568 related chain; invert and overview USD rules are unchanged)added 1 commit
1a18a620- test(qa): run #568 lib filters for candle_mark and merge_ohlcCompare with previous version
changed the description
added 13 commits
main43515da3- Merge origin/main into fix/568-candle-usd-mark-to-market.Compare with previous version
mentioned in commit
38c5252de3mentioned in issue #568
mentioned in issue #583