build: bump near-sdk to 5.29.0 - #4024
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the workspace near-sdk dependency to 5.29.0 and refreshes the lockfile accordingly, keeping the contract/tooling stack aligned with the newer SDK release.
Changes:
- Bumped
near-sdkfrom5.28.0→5.29.0in the workspace dependency list. - Regenerated
Cargo.lockto reflect the newnear-sdkversion and its updated transitive dependency set.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Bumps the workspace near-sdk version to 5.29.0. |
| Cargo.lock | Updates resolved dependency graph to match the new near-sdk version and transitives. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pull request overviewBumps the workspace Changes:
Reviewed changesPer-file summary
FindingsNon-blocking (nits, follow-ups, suggestions):
No source changes, so the engineering-standards checks (panic policy, arithmetic, I/O separation, comment quality, test requirements) do not apply here. No secrets, no new ✅ Approved |
Pull request overviewBumps the workspace
Changes:
Reviewed changesPer-file summary
FindingsBlocking (must fix before merge):
Non-blocking (nits, follow-ups, suggestions):
No secrets, no new |
|
PR title type suggestion: This PR's primary intent is bumping a dependency. The type prefix should probably be Suggested title: |
0a6767a to
93c9ab5
Compare
93c9ab5 to
0a6767a
Compare
| near-crypto-public = { version = "0.37.1", package = "near-crypto" } | ||
| near-gas = "0.3.4" | ||
| near-jsonrpc-client = "0.21.1" | ||
| near-jsonrpc-primitives = "0.36.0" | ||
| near-jsonrpc-client = "0.22.0" | ||
| near-jsonrpc-primitives = "0.37.1" | ||
| near-kit = { version = "0.12.1", default-features = false } | ||
| near-primitives = "0.36.0" | ||
| near-primitives = "0.37.1" |
There was a problem hiding this comment.
updated these as well so that don't have several copies of the crates in the worktree. That is what made the lockfile much smaller
| fn from(public_key_extended: PublicKeyExtended) -> Self { | ||
| match public_key_extended { | ||
| PublicKeyExtended::Secp256k1 { near_public_key } => { | ||
| dtos::PublicKey::from(&near_public_key) | ||
| dtos::PublicKey::try_from(&near_public_key) | ||
| .expect("Secp256k1 variant always has a secp256k1 key") | ||
| } | ||
| PublicKeyExtended::Ed25519 { | ||
| near_public_key_compressed, | ||
| .. | ||
| } => dtos::PublicKey::from(&near_public_key_compressed), | ||
| } => dtos::PublicKey::try_from(&near_public_key_compressed) | ||
| .expect("Ed25519 variant always has an ed25519 key"), | ||
| PublicKeyExtended::Bls12381 { public_key } => public_key, |
There was a problem hiding this comment.
this conversion is only used in the contract, and the conversion themselves are guaranteed to not fail. We plan to remove this anyway in #1246 so I think this is fine
|
@claude review |
Pull request overviewBumps the workspace Since my last review the panic in the shared-crypto crate is gone: Changes:
Reviewed changesPer-file summary
I verified the blast radius of the nearcore realignment: FindingsNon-blocking (nits, follow-ups, suggestions):
Merge gate rather than a code finding: ✅ Approved |
This pull request updates the
near-sdkdependency in theCargo.tomlfile to a newer version. This is a straightforward dependency version bump.near-sdkfrom version5.28.0to5.29.0inCargo.tomlto ensure compatibility with the latest features and fixes.