8000 Working get-orders, create-order BUY, and create-order SELL by jbowen93 · Pull Request #2187 · astriaorg/astria · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Working get-orders, create-order BUY, and create-order SELL #2187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jbowen93
Copy link
Member

Summary

Brief summary of the changes made, ie "what?"

Background

Brief background on why these changes were made, ie "why?"

Changes

  • List changes which were made.

Testing

How are these changes tested?

Changelogs

Ensure all relevant changelog files are updated as necessary. See
keepachangelog for change
categories. Replace this text with e.g. "Changelogs updated." or "No updates
required." to acknowledge changelogs have been considered.

Metrics

  • List out metrics added by PR, delete section if none.

Breaking Changelist

  • Bulleted list of breaking changes, any notes on migration. Delete section if none.

Related Issues

Link any issues that are related, prefer full GitHub links.

closes

@github-actions github-actions bot added the sequencer pertaining to the astria-sequencer crate label May 20, 2025
@jbowen93 jbowen93 changed the title get-orders working Working get-orders, create-order BUY, and create-order SELL May 21, 2025
jbowen93 added 2 commits May 21, 2025 16:50
1. Changed all warning logs to debug logs, which will:
    - Make the CLI output cleaner and more focused
    - Reduce noise when using the CLI for regular operations
    - Still make the logs available when needed using debug mode
  2. Added support for more market formats:
    - Added "BTC-USD" and "ETH-USD" as recognized markets in addition to "BTC/USD" and "ETH/USD"
    - Improved handling of market names in binary data
  3. Improved the code quality:
    - Fixed unused variable warnings
    - Made variable declarations more precise
    - Added better comments for clarity
  4. Made the error messages more helpful:
    - Improved the message when no sell orders are found
    - Changed message format to be more consistent and informative

  All of our changes maintain the key functionality we've been working on:
  - Finding and displaying all orders (both BUY and SELL) in a market
  - Correctly displaying order details like price, quantity, and side
  - Properly handling different serialization formats

  The CLI command for retrieving orders should now work correctly across various order configurations.
@jbowen93 jbowen93 closed this May 23, 2025
@jbowen93 jbowen93 deleted the jbowen93/vibe/orderbook-failing-sell branch May 23, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sequencer pertaining to the astria-sequencer crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0