-
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-487] remove market enum from FillsType #788
Conversation
WalkthroughThe changes across multiple files in the 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 ignored due to filter (1)
- indexer/services/comlink/public/swagger.json
Files selected for processing (7)
- indexer/packages/postgres/tests/helpers/constants.ts (1 hunks)
- indexer/packages/postgres/src/db/migrations/migration_files/20231110103241_remove_market_fills_type.ts (1 hunks)
- indexer/packages/postgres/src/types/fill-types.ts (1 hunks)
- indexer/services/comlink/public/api-documentation.md (8 hunks)
- indexer/services/comlink/public/websocket-documentation.md (2 hunks)
- indexer/services/ender/tests/helpers/constants.ts (1 hunks)
- indexer/services/ender/tests/lib/kafka-publisher.test.ts (1 hunks)
Additional comments: 8
indexer/services/ender/__tests__/lib/kafka-publisher.test.ts (1)
- 241-247: The change from
FillType.MARKET
toFillType.LIMIT
is reflected here. Ensure that this change aligns with the intended behavior of the test case.indexer/packages/postgres/__tests__/helpers/constants.ts (1)
- 355-361: The change from
MARKET
toLIMIT
in theFillType
enum is reflected here. Ensure that this change is propagated throughout the codebase and that it doesn't break any existing functionality.indexer/packages/postgres/src/types/fill-types.ts (1)
- 14-19: The removal of the
MARKET
enum value fromFillType
may have implications on the rest of the codebase. Ensure that all references toFillType.MARKET
have been updated toFillType.LIMIT
or another appropriate value. Also, verify that this change does not break any functionality that specifically relied on theMARKET
fill type.indexer/services/ender/__tests__/helpers/constants.ts (1)
- 325-329: The
defaultTradeContent
object has been updated to reflect the change fromFillType.MARKET
toFillType.LIMIT
. Ensure that this change is propagated throughout the test suite and does not break any existing tests.indexer/packages/postgres/src/db/migrations/migration_files/20231110103241_remove_market_fills_type.ts (1)
- 1-19: Ensure that the removal of 'MARKET' from the enum values in the 'type' column of the 'fills' table does not break any existing functionality that relies on this value. Also, verify that all instances where 'MARKET' was used have been updated to use 'LIMIT' or another appropriate value.
indexer/services/comlink/public/api-documentation.md (1)
- 3099-3102: The change from "MARKET" to "LIMIT" in the transaction type may affect the behavior of trading operations and could have implications for order execution and pricing. Ensure that all stakeholders are aware of this change and its potential impact.
indexer/services/comlink/public/websocket-documentation.md (2)
253-256: The
MARKET
enum value has been removed fromFillType
. Ensure that this change is reflected across all parts of the codebase whereFillType
is used. Also, verify that the removal ofMARKET
does not break any functionality or logic that relied on it.753-753: The trade type has been changed from "MARKET" to "LIMIT". Ensure that this change is reflected in all parts of the codebase where trade types are used. Also, verify that this change does not break any functionality or logic that relied on the "MARKET" type.
Changelist
remove market enum from FillsType
Test Plan
unit tested.
Author/Reviewer Checklist
state-breaking
label.PrepareProposal
orProcessProposal
, manually add the labelproposal-breaking
.feature:[feature-name]
.backport/[branch-name]
.refactor
,chore
,bug
.