fix: CG/CMC listing TVL stamp and field truth (#685) #1190
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!1190
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/685-cg-cmc-listing-fields"
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
/cg/tickersliquidity_in_usdis thepair_liquidity_usdstamp (unpriced →"0"), not 24h volume. JSON name unchanged.fee_bps(BigDecimal) orlast_priceboth sides. Nof64 * 0.999. List path stays SQL stamps (60s cache)./cmc/tickerisFrozenfollowscode_id_frozen;base_id/quote_idare numericcmc_id(else0) with additivecl8y_*_address./cgand/cmclists (shared helper with/gt). Duplicateticker_idis skipped (orderbook/trades 404).make verify-issue-685.#224stays closed.Closes #685
Test plan
make setup-indexer-postgresthenmake verify-issue-685GET /cg/tickers: priced idle pool has stamp TVL; unpriced is"0"; not equal to 24h volume0.999toy spread on/cg/tickersand/cmc/summary/cmc/tickerisFrozenis"1"; ids are numbers/cg/pairs, tickers,/cmc/summary,/cmc/ticker,/cmc/assetsSYMBOL_SYMBOL→/cg/historical_trades404added 8 commits
maincf1c0a63- Merge origin/main into fix/685-cg-cmc-listing-fields.Compare with previous version
mentioned in commit
906b6e7f0dmentioned in issue #688
mentioned in issue #685
mentioned in commit
79a4deb587