-
Notifications
You must be signed in to change notification settings - Fork 117
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
[IND-171]: Do not send subaccount websocket message for unplaced and unreplaced BEST_EFFORT_OPENED orders #716
Conversation
…unreplaced BEST_EFFORT_CANCELED orders
IND-171 Determine when to send subaccount websocket message in OrderPlaceHandler
In Vulcan's |
WalkthroughThe changes primarily focus on enhancing the 'OrderPlaceHandler' module and its associated test cases. The modifications include the extraction of the 'orderPlace' object from the 'update' parameter and the addition of new parameters to the 'shouldSendSubaccountMessage' method. The test cases have been updated to reflect these changes and a new test case has been added to handle specific order placement statuses. Changes
TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (2)
- indexer/services/vulcan/tests/handlers/order-place-handler.test.ts (2} hunks)
- indexer/services/vulcan/src/handlers/order-place-handler.ts (4} hunks)
Files skipped from review due to trivial changes (2)
- indexer/services/vulcan/tests/handlers/order-place-handler.test.ts
- indexer/services/vulcan/src/handlers/order-place-handler.ts
…unreplaced BEST_EFFORT_CANCELED orders (#716)
…unreplaced BEST_EFFORT_CANCELED orders (#716)
…unreplaced BEST_EFFORT_CANCELED orders (#716)
…unreplaced BEST_EFFORT_CANCELED orders (#716)
Changelist
Prevent order placement events that do no place or replace on book and are
BEST_EFFORT_OPENED
from sending subaccount update messagesTest Plan
Unit tests
Author/Reviewer Checklist
state-breaking
label.PrepareProposal
orProcessProposal
, manually add the labelproposal-breaking
.feature:[feature-name]
.backport/[branch-name]
.refactor
,chore
,bug
.