Skip to content

feat: serve recorded meta fixtures for accurate coin mapping#12

Merged
terwey merged 2 commits intomainfrom
mock/actual-responses
Nov 17, 2025
Merged

feat: serve recorded meta fixtures for accurate coin mapping#12
terwey merged 2 commits intomainfrom
mock/actual-responses

Conversation

@terwey
Copy link
Copy Markdown
Contributor

@terwey terwey commented Nov 17, 2025

  • Embed real meta/metaAndAssetCtxs responses and load them via perp_meta_data.go, reworking handleMeta* to return recorded data with static fallbacks.
  • Update mapAssetIndexToCoin to resolve asset names from the recorded metadata, fixing order-status reporting.
  • Extend Spot token/universe structs, add embedded spot fixtures, and tighten handler tests to assert actual dataset sizes.

terwey and others added 2 commits November 16, 2025 22:27
 - Embed real meta/metaAndAssetCtxs responses and load them via perp_meta_data.go, reworking handleMeta* to return recorded data with static fallbacks.
 - Update mapAssetIndexToCoin to resolve asset names from the recorded metadata, fixing order-status reporting.
 - Extend Spot token/universe structs, add embedded spot fixtures, and tighten handler tests to assert actual dataset sizes.

Co-authored-by: Codex <agent@terwey.me>
@terwey terwey marked this pull request as ready for review November 17, 2025 00:12
@terwey terwey merged commit 960f015 into main Nov 17, 2025
1 check passed
@terwey terwey deleted the mock/actual-responses branch November 17, 2025 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant