-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpolkadot.diff
More file actions
120 lines (109 loc) · 4.88 KB
/
polkadot.diff
File metadata and controls
120 lines (109 loc) · 4.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
diff --git a/Cargo.lock b/Cargo.lock
index 312554e8..b1122599 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8,7 +8,7 @@ dependencies = [
"parity-scale-codec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"polkadot-parachain 0.6.0",
"sr-std 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
- "substrate-wasm-builder-runner 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-keccak 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -1039,7 +1039,7 @@ dependencies = [
name = "halt"
version = "0.6.0"
dependencies = [
- "substrate-wasm-builder-runner 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -2845,7 +2845,6 @@ dependencies = [
"substrate-serializer 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-session 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"substrate-trie 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
- "substrate-wasm-builder-runner 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-keccak 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"trie-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -4986,7 +4985,7 @@ dependencies = [
[[package]]
name = "substrate-wasm-builder-runner"
-version = "1.0.3"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
@@ -6271,7 +6270,7 @@ dependencies = [
"checksum substrate-transaction-graph 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "<none>"
"checksum substrate-transaction-pool 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "<none>"
"checksum substrate-trie 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "<none>"
-"checksum substrate-wasm-builder-runner 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "af21b27fad38b212c1919f700cb0def33c88cde14d22e0d1b17d4521f4eb8b40"
+"checksum substrate-wasm-builder-runner 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bd48273fe9d7f92c1f7d6c1c537bb01c8068f925b47ad2cd8367e11dc32f8550"
"checksum substrate-wasm-interface 2.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-master)" = "<none>"
"checksum subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee"
"checksum subtle 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "01f40907d9ffc762709e4ff3eb4a6f6b41b650375a3f09ac92b641942b7fb082"
diff --git a/Cargo.toml b/Cargo.toml
index 58c20731..6d80737a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,7 @@ members = [
"executor",
"network",
"primitives",
- "runtime",
+# "runtime",
"service",
"statement-table",
"service",
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index 4367f830..7de25e9b 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -3,7 +3,8 @@ name = "polkadot-runtime"
version = "0.6.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
-build = "build.rs"
+#build = "build.rs"
+build = false
[dependencies]
bitvec = { version = "0.14.0", default-features = false, features = ["alloc"] }
@@ -62,8 +63,8 @@ substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "po
trie-db = "0.15"
serde_json = "1.0"
-[build-dependencies]
-wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.3" }
+#[build-dependencies]
+#wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.3" }
[features]
default = ["std"]
diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs
index 854bb083..f8102528 100644
--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -20,12 +20,12 @@
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
#![recursion_limit="256"]
-mod attestations;
-mod claims;
-mod parachains;
-mod slot_range;
-mod slots;
-mod crowdfund;
+pub mod attestations;
+pub mod claims;
+pub mod parachains;
+pub mod slot_range;
+pub mod slots;
+pub mod crowdfund;
use rstd::prelude::*;
use codec::{Encode, Decode};
@@ -77,8 +77,8 @@ pub mod constants;
use constants::{time::*, currency::*};
// Make the WASM binary available.
-#[cfg(feature = "std")]
-include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
+//#[cfg(feature = "std")] // DISABLED BY CHAINSECURITY AS PART OF DISABLING WASM BINARIES
+//include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));// DISABLED BY CHAINSECURITY AS PART OF DISABLING WASM BINARIES
/*
// KUSAMA: Polkadot version identifier; may be uncommented for Polkadot mainnet.