Repository navigation
BFP-5156: add OPERATOR_CANCELLED_ALL_ON_MARKET to OrderCancelReason - #299
Merged
Merged
Conversation
An operator can cancel every order on a market ahead of a delist; users see this reason on the cancellations. Clients regenerated: Python and Rust 1.22.0, TypeScript 2.4.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kevin-ip
marked this pull request as ready for review
October 29, 2026 16:06
nikita-seedlabs
approved these changes
Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
OPERATOR_CANCELLED_ALL_ON_MARKETtoOrderCancelReasonand regenerates the TypeScript, Python and Rust clients. Users will see it on orders an operator cancels across a whole market ahead of a delist (BFP-5156); the matching engine emits it asCANCEL_REASON_OPERATOR_CANCELLED_ALL_FOR_MARKET(protobuf-messages #396) and event-dispatcher-v3 maps it to this value.Versions
Python and Rust 1.21.0 → 1.22.0 (apigen's minor bump). TypeScript 2.3.1 → 2.4.0 by hand: apigen wrote 1.22.0, which would be a downgrade on the TS package's own version line.
Client impact
A new enum value. Clients that switch exhaustively on
OrderCancelReason, or reject values they don't know, need to handle it before the matching engine starts emitting it.🤖 Generated with Claude Code