-
Notifications
You must be signed in to change notification settings - Fork 240
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
Problem: iavl prune fix is not included #1702
Conversation
WalkthroughThe changes in this pull request include updates to the Changes
Possibly related PRs
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 golangci-lint (1.62.2)level=warning msg="The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar." 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🔇 Additional comments (1)go.mod (1)
The update to IAVL dependency includes a pruning fix as mentioned in the PR objectives. Let's verify the changes and their impact. ✅ Verification successfulLet me gather more specific information about the pruning changes. Let me check the specific changes in the nodedb.go file since it's one of the modified files in this commit. Based on the information gathered, I can now provide a final response about the IAVL dependency update: IAVL dependency update is safe to proceed The update to 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify IAVL dependency update and examine the changes
# Check if the IAVL repository and commit exist
gh repo view crypto-org-chain/iavl
# Get the commit message and changes for the IAVL update
gh api repos/crypto-org-chain/iavl/commits/a3e0980a5b06 --jq '.commit.message'
# Check for any breaking changes in the IAVL update
rg -l "func.*\(" | xargs ast-grep --pattern 'func $FUNC($$$) $$$' | grep -i prune
Length of output: 5266 Script: #!/bin/bash
# Check the specific pruning-related changes in the IAVL fork
gh api repos/crypto-org-chain/iavl/commits/a3e0980a5b06 --jq '.files[].filename'
# Look for pruning-related changes in memiavl package
rg -A 5 "func.*[Pp]rune" memiavl/
# Check if there are any interface changes
ast-grep --pattern 'type $INTERFACE interface {
$$$
Prune($$$)
$$$
}'
Length of output: 471 Script: #!/bin/bash
# Check the changes in nodedb.go related to pruning and node formatting
rg -B 2 -A 5 "node.*format" nodedb.go
# Look at the changelog for this update
cat CHANGELOG.md
# Check the test changes
rg -B 2 -A 5 "TestNode.*Format|TestPrun" mutable_tree_test.go
Length of output: 46928 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
CodeRabbit Configuration File (
|
Signed-off-by: yihuang <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1702 +/- ##
===========================================
+ Coverage 16.87% 35.47% +18.59%
===========================================
Files 72 124 +52
Lines 6163 11897 +5734
===========================================
+ Hits 1040 4220 +3180
- Misses 5000 7253 +2253
- Partials 123 424 +301 |
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
Bug Fixes
Improvements
ibc-go
library to version 8.5.2, enhancing overall functionality.Chores