fix(#515): ticker-scoped indexer oracle for USTC and LUNC #1050
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!1050
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/515-oracle-price-tickers"
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
GET /api/v1/oracle/pricereturned USTC/USD (~0.005) while integrators treated it as LUNC/USD (~0.00005) — exact ~100× overstatement./api/v1/oracle/priceand/historyreturn a ticker catalog; snapshots live at/price/{ustc|lunc}and/history/{ticker}.oracle_prices; volume USD still uses USTC only.make verify-issue-515.Test plan
make verify-issue-515(docs +cargo test --lib oracle+api_oracle+ frontend Protocol/Trade)api_oracleafter verify/api/v1/oracle/pricereturns catalog only/price/luncvs live KuCoin/MEXC LUNCUSDT within same minute/price/ustcvs USTCUSDT (should stay ~0.005-scale, not LUNC-scale)getOraclePrice()Closes #515
mentioned in issue #515
added 3 commits
mainaf438388- Merge origin/main into fix/515-oracle-price-tickers.Compare with previous version
mentioned in commit
92d5e3a105