Skip to content

Commit 157eefe

Browse files
committed
[Fix] Resolved API changes after bumping to 2.0.0 release
1 parent 8f0c244 commit 157eefe

File tree

13 files changed

+1671
-959
lines changed

13 files changed

+1671
-959
lines changed

Cargo.lock

Lines changed: 573 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/Cargo.toml

Lines changed: 53 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,58 @@
11
[package]
2-
authors = ['Anonymous']
3-
build = 'build.rs'
4-
edition = '2018'
5-
homepage = 'https://substrate.dev'
6-
license = 'Unlicense'
7-
name = 'node-template'
8-
repository = 'https://github.com/paritytech/substrate/'
9-
version = '2.0.0'
2+
name = "node-template"
3+
version = "2.0.0"
4+
authors = ["Anonymous"]
5+
description = "A new FRAME-based Substrate node, ready for hacking."
6+
edition = "2018"
7+
license = "Unlicense"
8+
build = "build.rs"
9+
homepage = "https://substrate.dev"
10+
repository = "https://github.com/paritytech/substrate/"
11+
12+
[package.metadata.docs.rs]
13+
targets = ["x86_64-unknown-linux-gnu"]
1014

11-
[build-dependencies]
12-
vergen = '3.0.4'
13-
14-
[build-dependencies.build-script-utils]
15-
package = 'substrate-build-script-utils'
16-
version = '2.0.0'
15+
[[bin]]
16+
name = "node-template"
1717

1818
[dependencies]
19-
futures = '0.3.1'
20-
log = '0.4.8'
21-
structopt = '0.3.8'
22-
23-
[dependencies.ssvm]
24-
package = 'pallet-ssvm'
25-
git = "https://github.com/second-state/pallet-ssvm"
26-
tag = 'v0.1.0-rc1-crates'
27-
28-
[dependencies.grandpa]
29-
package = 'sc-finality-grandpa'
30-
version = '0.8.0'
31-
32-
[dependencies.grandpa-primitives]
33-
package = 'sp-finality-grandpa'
34-
version = '2.0.0'
35-
36-
[dependencies.node-template-runtime]
37-
path = '../runtime'
38-
version = '2.0.0'
39-
40-
[dependencies.sc-basic-authorship]
41-
version = '0.8.0'
42-
43-
[dependencies.sc-cli]
44-
version = '0.8.0'
45-
46-
[dependencies.sc-client-api]
47-
version = '2.0.0'
48-
49-
[dependencies.sc-consensus]
50-
version = '0.8.0'
51-
52-
[dependencies.sc-consensus-aura]
53-
version = '0.8.0'
54-
55-
[dependencies.sc-executor]
56-
version = '0.8.0'
57-
58-
[dependencies.sc-network]
59-
version = '0.8.0'
60-
61-
[dependencies.sc-service]
62-
version = '0.8.0'
63-
64-
[dependencies.sc-transaction-pool]
65-
version = '2.0.0'
66-
67-
[dependencies.sp-consensus]
68-
version = '0.8.0'
69-
70-
[dependencies.sp-consensus-aura]
71-
version = '0.8.0'
72-
73-
[dependencies.sp-core]
74-
version = '2.0.0'
75-
76-
[dependencies.sp-inherents]
77-
version = '2.0.0'
78-
79-
[dependencies.sp-runtime]
80-
version = '2.0.0'
81-
82-
[dependencies.sp-transaction-pool]
83-
version = '2.0.0'
19+
futures = "0.3.1"
20+
log = "0.4.8"
21+
structopt = "0.3.8"
22+
23+
pallet-ssvm = { git = "https://github.com/second-state/pallet-ssvm", tag = "v0.1.0-rc1-crates" }
24+
25+
sc-cli = { version = "0.8.0", features = ["wasmtime"] }
26+
sp-core = { version = "2.0.0" }
27+
sc-executor = { version = "0.8.0", features = ["wasmtime"] }
28+
sc-service = { version = "0.8.0", features = ["wasmtime"] }
29+
sc-network = { version = "0.8.0" }
30+
sp-inherents = { version = "2.0.0" }
31+
sc-transaction-pool = { version = "2.0.0" }
32+
sp-transaction-pool = { version = "2.0.0" }
33+
sc-consensus-aura = { version = "0.8.0" }
34+
sp-consensus-aura = { version = "0.8.0" }
35+
sp-consensus = { version = "0.8.0" }
36+
sc-consensus = { version = "0.8.0" }
37+
sc-finality-grandpa = { version = "0.8.0" }
38+
sp-finality-grandpa = { version = "2.0.0" }
39+
sc-client-api = { version = "2.0.0" }
40+
sp-runtime = { version = "2.0.0" }
41+
42+
# These dependencies are used for the node template's RPCs
43+
jsonrpc-core = "15.0.0"
44+
sc-rpc = { version = "2.0.0" }
45+
sp-api = { version = "2.0.0" }
46+
sc-rpc-api = { version = "0.8.0" }
47+
sp-blockchain = { version = "2.0.0" }
48+
sp-block-builder = { version = "2.0.0" }
49+
sc-basic-authorship = { version = "0.8.0" }
50+
substrate-frame-rpc-system = { version = "2.0.0" }
51+
pallet-transaction-payment-rpc = { version = "2.0.0" }
52+
53+
node-template-runtime = { version = "2.0.0", path = "../runtime" }
54+
[build-dependencies]
55+
substrate-build-script-utils = { version = "2.0.0" }
8456

85-
[[bin]]
86-
name = 'node-template'
57+
[features]
58+
default = []

node/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
1+
use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
22

33
fn main() {
44
generate_cargo_keys();

0 commit comments

Comments
 (0)