chore: bump nearcore crates to 0.36 (2.12 / protocol 84)#599
Merged
Conversation
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.
This was referenced May 29, 2026
…nt 0.21.1 / near-socialdb-client 0.15.1
vsavchyn-dev
approved these changes
Jun 3, 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.
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.rsfor the newActionsValidationError::TotalNumberOfDeployActionsExceededvariant introduced in near-primitives 0.36.