-
Notifications
You must be signed in to change notification settings - Fork 44
fix(drive): add path query back to GroveDBError #2555
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(drive): add path query back to GroveDBError #2555
Conversation
|
Warning Rate limit exceeded@pauldelucia has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 20 minutes and 10 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
WalkthroughThe changes extend the Changes
Possibly related PRs
Suggested reviewers
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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
CodeRabbit Configuration 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
🧹 Nitpick comments (1)
packages/rs-drive-proof-verifier/src/error.rs (1)
148-163: Consider adding tests for this changeThe change looks good, but consider adding tests to verify that the path_query field is correctly populated when converting from drive::error::Error::GroveDB to Error::GroveDBError.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
packages/rs-drive-proof-verifier/src/error.rs(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (8)
- GitHub Check: Rust packages (dash-sdk) / Check each feature
- GitHub Check: Rust packages (dash-sdk) / Unused dependencies
- GitHub Check: Rust packages (dash-sdk) / Tests
- GitHub Check: Rust packages (dash-sdk) / Linting
- GitHub Check: Build Docker images (Dashmate helper, dashmate-helper, dashmate-helper) / Build Dashmate helper image
- GitHub Check: Build Docker images (DAPI, dapi, dapi) / Build DAPI image
- GitHub Check: Build Docker images (Drive, drive, drive-abci) / Build Drive image
- GitHub Check: Build JS packages / Build JS
🔇 Additional comments (3)
packages/rs-drive-proof-verifier/src/error.rs (3)
3-3: LGTM: Added import for PathQueryThe import of
PathQueryfromdrive::queryis necessary for the added field in theGroveDBErrorvariant.
24-24: LGTM: Added path_query field to GroveDBErrorThis change aligns with the PR objectives to restore the path query to the GroveDBError, which is required by the DET's proof logs page.
154-154: LGTM: Properly populating path_query fieldThe implementation correctly sets the path_query field by cloning the value from the proof object when mapping a drive::error::Error::GroveDB to Error::GroveDBError.
Issue being fixed or feature implemented
GroveDBError used to return path query, which DET's proof logs page needs
What was done?
Add optional path query back to GroveDBError, update GroveDB dependency
How Has This Been Tested?
Existing CI
Breaking Changes
Checklist:
For repository code-owners and collaborators only
Summary by CodeRabbit