nearcore: 1.27.0 -> 1.28.0

+47 -3
+42
pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch
··· 1 + From 14635f8a87423f7682e22c4d4bc34551cfe1d10d Mon Sep 17 00:00:00 2001 2 + From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> 3 + Date: Thu, 30 Jun 2022 07:33:44 +0000 4 + Subject: [PATCH] make near-test-contracts optional 5 + MIME-Version: 1.0 6 + Content-Type: text/plain; charset=UTF-8 7 + Content-Transfer-Encoding: 8bit 8 + 9 + Signed-off-by: Jörg Thalheim <joerg@thalheim.io> 10 + --- 11 + Cargo.lock | 1 - 12 + tools/state-viewer/Cargo.toml | 2 +- 13 + 2 files changed, 1 insertion(+), 2 deletions(-) 14 + 15 + diff --git a/Cargo.lock b/Cargo.lock 16 + index e1d8b2a83..3317587f5 100644 17 + --- a/Cargo.lock 18 + +++ b/Cargo.lock 19 + @@ -5253,7 +5253,6 @@ dependencies = [ 20 + "near-primitives", 21 + "near-primitives-core", 22 + "near-store", 23 + - "near-test-contracts", 24 + "nearcore", 25 + "node-runtime", 26 + "once_cell", 27 + diff --git a/tools/state-viewer/Cargo.toml b/tools/state-viewer/Cargo.toml 28 + index 02346bf71..51cfc4cb5 100644 29 + --- a/tools/state-viewer/Cargo.toml 30 + +++ b/tools/state-viewer/Cargo.toml 31 + @@ -30,7 +30,7 @@ near-network = { path = "../../chain/network" } 32 + near-primitives = { path = "../../core/primitives" } 33 + near-primitives-core = { path = "../../core/primitives-core" } 34 + near-store = { path = "../../core/store" } 35 + -near-test-contracts = { path = "../../runtime/near-test-contracts" } 36 + +#near-test-contracts = { path = "../../runtime/near-test-contracts" } 37 + nearcore = { path = "../../nearcore" } 38 + node-runtime = { path = "../../runtime/runtime" } 39 + 40 + -- 41 + 2.36.1 42 +
+5 -3
pkgs/applications/blockchains/nearcore/default.nix
··· 4 4 }: 5 5 rustPlatform.buildRustPackage rec { 6 6 pname = "nearcore"; 7 - version = "1.27.0"; 7 + version = "1.28.0"; 8 8 9 9 # https://github.com/near/nearcore/tags 10 10 src = fetchFromGitHub { ··· 12 12 repo = "nearcore"; 13 13 # there is also a branch for this version number, so we need to be explicit 14 14 rev = "refs/tags/${version}"; 15 - sha256 = "sha256-B9HqUa0mBSvsCPzxPt4NqpV99rV4lmQ9Q/z9lxob9oM="; 15 + 16 + sha256 = "sha256-DRVlD74XTYgy3GeUd/7OIl2aie8nEJLmrmmkwPRkrA8="; 16 17 }; 17 18 18 - cargoSha256 = "sha256-6GIt3J6y/O8XaHQJKRSPRgK2XbghMLif4e2Btdww9Ng="; 19 + cargoSha256 = "sha256-hTqje17EdVkgqReuLnizaK3cBJuqXJXC6x5NuoKJLbs="; 20 + cargoPatches = [ ./0001-make-near-test-contracts-optional.patch ]; 19 21 20 22 postPatch = '' 21 23 substituteInPlace neard/build.rs \