Skip to content

chore: bump nearcore crates to 0.36 (2.12 / protocol 84)#599

Merged
r-near merged 6 commits into
mainfrom
bump/nearcore-2.12
Jun 3, 2026
Merged

chore: bump nearcore crates to 0.36 (2.12 / protocol 84)#599
r-near merged 6 commits into
mainfrom
bump/nearcore-2.12

Conversation

@r-near

@r-near r-near commented May 29, 2026

Copy link
Copy Markdown
Contributor

Bumps the nearcore deps (near-primitives, near-crypto, near-jsonrpc-primitives, near-parameters) from 0.35 to 0.36 for nearcore 2.12, which is now live on mainnet (protocol 84); MSRV moves to 1.93 to match. Builds against the published near-jsonrpc-client 0.21.1 and near-socialdb-client 0.15.1, so the pre-publish [patch.crates-io] block has been removed.

Also adds a match arm in src/common.rs for the new ActionsValidationError::TotalNumberOfDeployActionsExceeded variant introduced in near-primitives 0.36.

r-near added 4 commits May 28, 2026 22:17
Bump the nearcore-release dependencies to the 2.12 RC line:
near-crypto, near-primitives, near-jsonrpc-primitives, near-parameters
0.35 -> 0.36.0-rc.2.

near-jsonrpc-client and near-socialdb-client are not yet published with
0.36 support, so patch them to their in-flight 2.12 branches via
[patch.crates-io]:
  - near-jsonrpc-client -> near/near-jsonrpc-client-rs#189
  - near-socialdb-client -> near/near-socialdb-client-rs#45

RC-only: do not merge or release until protocol version 84 is live on
mainnet.
near-primitives 0.36 and the patched near-jsonrpc-client / near-socialdb-client
2.12 branches require Rust 1.93, so raise rust-version 1.88 -> 1.93 to match.
…eeded

near-primitives 0.36 adds a TotalNumberOfDeployActionsExceeded variant to
ActionsValidationError (combined DeployContract + DeployGlobalContract limit).
Add a match arm so the error-to-CLI-result conversion stays exhaustive.
Drop unnecessary borrows flagged by clippy under the newer toolchain
(needless_borrows_for_generic_args on Command::args, needless_borrow on
Regex::replace_all). Pre-existing nits, unrelated to the bump, fixed to
keep clippy -D warnings green.
@r-near r-near marked this pull request as ready for review June 3, 2026 14:42
@r-near r-near requested a review from a team as a code owner June 3, 2026 14:42
Copilot AI review requested due to automatic review settings June 3, 2026 14:42

This comment was marked as outdated.

@r-near r-near changed the title chore(deps): bump nearcore crates to 0.36.0-rc.2 (2.12) chore: bump nearcore crates to 0.36 (2.12 / protocol 84) Jun 3, 2026
@r-near r-near enabled auto-merge (squash) June 3, 2026 16:08
@r-near r-near merged commit ba3ccbc into main Jun 3, 2026
13 checks passed
@r-near r-near deleted the bump/nearcore-2.12 branch June 3, 2026 16:10
@github-project-automation github-project-automation Bot moved this from NEW❗ to Shipped 🚀 in DevTools Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Shipped 🚀

Development

Successfully merging this pull request may close these issues.

4 participants