-
Notifications
You must be signed in to change notification settings - Fork 107
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(zetacore): add default cctx list pagination size #2871
Conversation
WalkthroughWalkthroughThe changes introduce a new constant, Changes
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (2)
Additional context usedPath-based instructions (2)
Additional comments not posted (3)
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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2871 +/- ##
========================================
Coverage 66.93% 66.94%
========================================
Files 373 373
Lines 21028 21032 +4
========================================
+ Hits 14076 14080 +4
Misses 6288 6288
Partials 664 664
|
* fix(zetacore): add default cctx list pagination size * add unit tests
* fix(zetacore): add default cctx list pagination size * add unit tests
This endpoint returns all CCTXs. It takes about 15 minutes to respond on mainnet and degrades RPC providers. Add a default page size to ensure the response is fast by default.
Summary by CodeRabbit
New Features
Bug Fixes
Tests
CctxAll
method to validate functionality under different pagination scenarios.