summary refs log tree commit diff
path: root/pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-06-30 09:55:14 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-07-29 11:23:51 +0200
commitac9b3799d2f7b43cb59072f87594a322b26c195d (patch)
treee5407670d8a921914e6a506c342a7ab63f74d7c5 /pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch
parent9eb60f25aff0d2218c848dd4574a0ab5e296cabe (diff)
downloadnixpkgs-ac9b3799d2f7b43cb59072f87594a322b26c195d.tar
nixpkgs-ac9b3799d2f7b43cb59072f87594a322b26c195d.tar.gz
nixpkgs-ac9b3799d2f7b43cb59072f87594a322b26c195d.tar.bz2
nixpkgs-ac9b3799d2f7b43cb59072f87594a322b26c195d.tar.lz
nixpkgs-ac9b3799d2f7b43cb59072f87594a322b26c195d.tar.xz
nixpkgs-ac9b3799d2f7b43cb59072f87594a322b26c195d.tar.zst
nixpkgs-ac9b3799d2f7b43cb59072f87594a322b26c195d.zip
nearcore: 1.27.0 -> 1.28.0
Diffstat (limited to 'pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch')
-rw-r--r--pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch b/pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch
new file mode 100644
index 00000000000..38292349f88
--- /dev/null
+++ b/pkgs/applications/blockchains/nearcore/0001-make-near-test-contracts-optional.patch
@@ -0,0 +1,42 @@
+From 14635f8a87423f7682e22c4d4bc34551cfe1d10d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
+Date: Thu, 30 Jun 2022 07:33:44 +0000
+Subject: [PATCH] make near-test-contracts optional
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
+---
+ Cargo.lock                    | 1 -
+ tools/state-viewer/Cargo.toml | 2 +-
+ 2 files changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/Cargo.lock b/Cargo.lock
+index e1d8b2a83..3317587f5 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -5253,7 +5253,6 @@ dependencies = [
+  "near-primitives",
+  "near-primitives-core",
+  "near-store",
+- "near-test-contracts",
+  "nearcore",
+  "node-runtime",
+  "once_cell",
+diff --git a/tools/state-viewer/Cargo.toml b/tools/state-viewer/Cargo.toml
+index 02346bf71..51cfc4cb5 100644
+--- a/tools/state-viewer/Cargo.toml
++++ b/tools/state-viewer/Cargo.toml
+@@ -30,7 +30,7 @@ near-network = { path = "../../chain/network" }
+ near-primitives = { path = "../../core/primitives" }
+ near-primitives-core = { path = "../../core/primitives-core" }
+ near-store = { path = "../../core/store" }
+-near-test-contracts = { path = "../../runtime/near-test-contracts" }
++#near-test-contracts = { path = "../../runtime/near-test-contracts" }
+ nearcore = { path = "../../nearcore" }
+ node-runtime = { path = "../../runtime/runtime" }
+ 
+-- 
+2.36.1
+