Repository navigation
chore(deps): pin canton-lib 0.10.0 - #4
Merged
Merged
Conversation
canton-lib 0.10.0 sends eventFormat and updateFormat to the Ledger API. Canton 3.6.1 rejects the filter and verbose fields that 0.9.0 sent. This crate calls none of the items that 0.10.0 removes, so only the five tags and the lock file change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The unrelated tempfile/getrandom lockfile change should be reverted.
Review effort: Balanced
Findings: None
What changed in this PR
Pins all five canton-lib crates to v0.10.0 for Canton 3.6.1 compatibility.
Changes:
- Updates canton-lib dependencies from v0.9.0 to v0.10.0.
- Refreshes corresponding lockfile entries.
| File | Description |
|---|---|
| Cargo.toml | Updates five canton-lib dependency tags. |
| Cargo.lock | Locks updated revisions and changes one unrelated resolution. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The canton-lib update also moved tempfile to getrandom 0.4.3. That change is not related to canton-lib, so the lock keeps the version that main uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
Reverted in |
sosaucily
approved these changes
Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This PR pins canton-lib 0.10.0 in place of 0.9.0. The five canton-lib crates (
common,ledger,registry,token,keycloak) move to tagv0.10.0.Cargo.lockchanges only those five packages.Why
Canton 3.6.1 rejects the top-level
filterandverboserequest fields withDEPRECATED_API_DISABLED, and Canton 3.7 removes them. canton-lib 0.10.0 sendseventFormatandupdateFormatin their place. The active-contract queries and the update streams use these fields, so almost every read in this crate depends on the change. The first public release of this crate must work on Canton 3.6.1.Effect on this crate
ledgerre-export no longer hassubmit::wait_for_transaction_treeorcommon::TransactionFilter. 0.1.0 is the first release, so no integrator depends on them.canton-api-clientstays at3.6.0-0.1.0.How it was tested
cargo fmt -- --check,cargo clippy --all-targets --all-features -- -D warningsandcargo testpass (114 tests).cargo deny check advisoriesreportsadvisories ok.check_darsfor both assets,check_balancefor both assets,token_client, both offer lists, the CBTC deposit and withdraw account lists, and one poll ofcbtc_check_withdraw_requests.cbtc_test_burn.Follow-up
PR #3 pins canton-lib
v0.9.0in its README install section. After this PR merges, PR #3 gets one commit that moves that line tov0.10.0and adds a CHANGELOG line.🤖 Generated with Claude Code