-
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
Fix typo for fetching orders for parent subaccount. #1493
Conversation
WalkthroughThe recent updates involve enhancing the specificity of URL patterns in test configurations by adding additional query parameters for improved account management. Furthermore, adjustments were made in the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- indexer/services/socks/tests/lib/subscriptions.test.ts (1 hunks)
- indexer/services/socks/src/lib/subscription.ts (1 hunks)
Additional Context Used
Path-based Instructions (2)
indexer/services/socks/__tests__/lib/subscriptions.test.ts (1)
Pattern
**/**
: Do not include a walkthrough. For all comments on line changes that are longer than 15 lines, add a prefix to the comment of what lines you are commenting on (for example: "The changes from lines 100 to 200...". Add your comment to be on the last 15 lines of the chunk rather than adding your comment to the entire chunk.indexer/services/socks/src/lib/subscription.ts (1)
Pattern
**/**
: Do not include a walkthrough. For all comments on line changes that are longer than 15 lines, add a prefix to the comment of what lines you are commenting on (for example: "The changes from lines 100 to 200...". Add your comment to be on the last 15 lines of the chunk rather than adding your comment to the entire chunk.
Additional comments not posted (3)
indexer/services/socks/__tests__/lib/subscriptions.test.ts (2)
54-54
: Corrected typo in URL pattern forChannel.V4_ACCOUNTS
.
62-62
: Updated URL pattern forChannel.V4_PARENT_ACCOUNTS
to includeparentSubaccountNumber
.indexer/services/socks/src/lib/subscription.ts (1)
605-605
: Updated URL to correctly useparentSubaccountNumber
for parent subaccount operations.
@@ -51,15 +51,15 @@ describe('Subscriptions', () => { | |||
const initialResponseUrlPatterns: Record<Channel, string[] | undefined> = { | |||
[Channel.V4_ACCOUNTS]: [ | |||
'/v4/addresses/.+/subaccountNumber/.+', | |||
'/v4/orders?.+OPEN,UNTRIGGERED,BEST_EFFORT_OPENED', | |||
'/v4/orders?.+subaccountNubmer.+OPEN,UNTRIGGERED,BEST_EFFORT_OPENED', |
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.
typo: Nubmer
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- indexer/services/socks/tests/lib/subscriptions.test.ts (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- indexer/services/socks/tests/lib/subscriptions.test.ts
@Mergifyio backport release/indexer/v5.x |
✅ Backports have been created
|
(cherry picked from commit 0103502)
(cherry picked from commit 0103502) Co-authored-by: vincentwschau <[email protected]>
Changelist
Fix typo in the URL used to fetch orders for parent subaccount.
Test Plan
Tested URLs, updated unit test (just regex though).
Author/Reviewer Checklist
state-breaking
label.indexer-postgres-breaking
label.PrepareProposal
orProcessProposal
, manually add the labelproposal-breaking
.feature:[feature-name]
.backport/[branch-name]
.refactor
,chore
,bug
.Summary by CodeRabbit