chore: bump batched merkle tree v0.3.0 -> v0.4.0#1926
chore: bump batched merkle tree v0.3.0 -> v0.4.0#1926ananas-block wants to merge 2 commits intomainfrom
Conversation
WalkthroughBumps versions of Light workspace crates in root Cargo.toml and updates corresponding crate versions in program-libs manifests: compressed-account (0.3.0→0.4.0), zero-copy (0.2.0→0.3.0), zero-copy-derive (0.1.0→0.3.0), and batched-merkle-tree (0.3.0→0.4.1). No feature, path, or API changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests
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:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
… light-zero-copy-derive v0.3.0, light-compressed-account v0.4.0"
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lock
📒 Files selected for processing (5)
Cargo.toml(2 hunks)program-libs/batched-merkle-tree/Cargo.toml(1 hunks)program-libs/compressed-account/Cargo.toml(1 hunks)program-libs/zero-copy-derive/Cargo.toml(1 hunks)program-libs/zero-copy/Cargo.toml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
- GitHub Check: stateless-js-v1
- GitHub Check: lint
- GitHub Check: Test program-libs-fast
- GitHub Check: Test batched-merkle-tree-simulate
- GitHub Check: Test sdk-libs
- GitHub Check: Test program-libs-slow
- GitHub Check: cli-v2
- GitHub Check: Test concurrent-merkle-tree
- GitHub Check: Forester e2e test
- GitHub Check: cli-v1
- GitHub Check: stateless-js-v2
🔇 Additional comments (6)
program-libs/zero-copy-derive/Cargo.toml (1)
3-3: Version bump to 0.3.0 looks good.
Matches workspace dependency updates; no feature or dep drift here.program-libs/zero-copy/Cargo.toml (1)
3-3: Version bump to 0.3.0 acknowledged.
Aligns with derive crate; no manifest drift spotted.program-libs/batched-merkle-tree/Cargo.toml (1)
3-3: Confirm version bump in Cargo.toml matches PR title
PR title references 0.4.0, but Cargo.toml is set to 0.4.1. If 0.4.1 is intended, update the PR title; otherwise revert the version in Cargo.toml:-version = "0.4.1" +version = "0.4.0"program-libs/compressed-account/Cargo.toml (1)
3-3: Version bump to 0.4.0 looks good.
No related feature/dependency changes needed here.Cargo.toml (2)
162-162: Root workspace dep updated to 0.4.0 (compressed-account) — OK.
Consistent with package manifest.
165-166: zero-copy(+derive) to 0.3.0 — OK.
No feature changes; derives remain optional.
| ] } | ||
| light-program-test = { path = "sdk-libs/program-test", version = "0.13.2" } | ||
| light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version = "0.3.0" } | ||
| light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version = "0.4.1" } |
There was a problem hiding this comment.
💡 Verification agent
🧩 Analysis chain
Root dep uses light-batched-merkle-tree 0.4.1 while PR title says 0.4.0.
Please either update the PR title or downgrade here to 0.4.0 for consistency:
-light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version = "0.4.1" }
+light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version = "0.4.0" }Additionally, verify the lockfile and repo for stale references:
🏁 Script executed:
#!/bin/bash
# Show versions in Cargo.lock (if present)
if [ -f Cargo.lock ]; then
rg -nC1 -e '^name = "light-(batched-merkle-tree|zero-copy|zero-copy-derive|compressed-account)"' Cargo.lock
fi
# Ensure no leftover 0.3.0 refs for batched merkle tree
rg -n -S 'light-batched-merkle-tree".*0\.3\.0' -g '!**/target/**'
# Summarize current versions in workspace manifests
rg -n -g 'Cargo.toml' -e 'name = "light-(batched-merkle-tree|zero-copy|zero-copy-derive|compressed-account)"|^version = "'Length of output: 3662
Update PR title to 0.4.1
The root Cargo.toml path dep, the program-libs/batched-merkle-tree crate, and Cargo.lock all reference light-batched-merkle-tree v0.4.1; no stale v0.3.0 entries remain.
🤖 Prompt for AI Agents
In Cargo.toml at line 185 update the PR title to match the dependency version
0.4.1; change any repository/PR metadata or branch title used for this change to
read "0.4.1" so it aligns with the referenced dependency
light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version
= "0.4.1" and ensure any release/merge descriptions or changelog entries in this
PR also reflect version 0.4.1 for consistency.
Summary by CodeRabbit