Skip to content

Commit 2b5d4ce

Browse files
authored
Polkadot v0.9.18 (#718)
* update version * update codec version * fix test
1 parent c439a50 commit 2b5d4ce

File tree

27 files changed

+268
-265
lines changed

27 files changed

+268
-265
lines changed

Cargo.dev.toml

+65-65
Large diffs are not rendered by default.

auction/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ authors = ["Acala Developers"]
88
edition = "2021"
99

1010
[dependencies]
11-
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
11+
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
13-
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false }
14-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
15-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
13+
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
15+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
1616

17-
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
18-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
17+
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
18+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
1919
orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false }
2020

2121
[dev-dependencies]
22-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
23-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
22+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
23+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
2424

2525
[features]
2626
default = ["std"]

authority/Cargo.toml

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ authors = ["Acala Developers"]
88
edition = "2021"
99

1010
[dependencies]
11-
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
11+
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
13-
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false }
14-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
15-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
16-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
13+
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
15+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
16+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
1717

18-
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
19-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
18+
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
19+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
2020

2121
[dev-dependencies]
22-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
23-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
24-
pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
22+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
23+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
24+
pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
2525

2626
[features]
2727
default = ["std"]

bencher/Cargo.toml

+13-13
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ serde = { version = "1.0.136", optional = true, features = ['derive'] }
2323
serde_json = {version = "1.0.68", optional = true }
2424
hash-db = { version = "0.15.2", default-features = false, optional = true }
2525
bencher-procedural = { path = "bencher-procedural", default-features = false }
26-
codec = { package = "parity-scale-codec", version = "2.3.1", features = ["derive"], default-features = false }
27-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
28-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
29-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
30-
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
31-
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true }
32-
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, features = ["wasmtime"], optional = true }
33-
sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", optional = true }
34-
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, features = ["with-kvdb-rocksdb"], optional = true }
35-
sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true }
36-
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
37-
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
38-
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false, optional = true }
26+
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false }
27+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
28+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
29+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
30+
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
31+
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, optional = true }
32+
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, features = ["wasmtime"], optional = true }
33+
sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", optional = true }
34+
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, features = ["with-kvdb-rocksdb"], optional = true }
35+
sp-maybe-compressed-blob = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, optional = true }
36+
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
37+
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
38+
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false, optional = true }
3939

4040
[features]
4141
default = ["std"]

bencher/test/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ required-features = ["bench"]
1313

1414
[dependencies]
1515
serde = { version = "1.0.136", optional = true }
16-
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
17-
codec = { package = "parity-scale-codec", version = "2.3.1", features = ["derive"], default-features = false }
18-
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
19-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
20-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
21-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
22-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
16+
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
17+
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false }
18+
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
19+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
20+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
21+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
22+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
2323
orml-bencher = { path = "..", default-features = false }
2424
orml-weight-meter = { path = "../../weight-meter", default-features = false }
2525

2626
[dev-dependencies]
27-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
27+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
2828

2929
[features]
3030
default = ["std"]

benchmarking/Cargo.toml

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ edition = "2021"
1010
[dependencies]
1111
serde = { version = "1.0.136", optional = true }
1212
paste = "1.0"
13-
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false }
14-
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
15-
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
16-
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
17-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
18-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
19-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
20-
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
21-
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
22-
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
13+
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
15+
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
16+
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
17+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
18+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
19+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
20+
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
21+
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
22+
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
2323
log = { version = "0.4.14", default-features = false }
2424

2525
[dev-dependencies]
26-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
26+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
2727
hex-literal = "0.3.4"
2828

2929
[features]

currencies/Cargo.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ authors = ["Laminar Developers <[email protected]>"]
88
edition = "2021"
99

1010
[dependencies]
11-
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
11+
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
13-
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false }
14-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
15-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
16-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
13+
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
14+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
15+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
16+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
1717

18-
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
19-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
18+
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
19+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
2020

2121
orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false }
2222
orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-features = false }
2323

2424
[dev-dependencies]
25-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
26-
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
25+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
26+
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
2727
orml_tokens = { package = "orml-tokens", path = "../tokens", version = "0.4.1-dev" }
2828

2929
[features]

gradually-update/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ authors = ["Laminar Developers <[email protected]>"]
88
edition = "2021"
99

1010
[dependencies]
11-
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
11+
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
13-
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] }
14-
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
15-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
16-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
17-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
18-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
19-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
13+
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] }
14+
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
15+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
16+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
17+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
18+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
19+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
2020

2121
[features]
2222
default = ["std"]

nft/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ authors = ["Acala Developers"]
88
edition = "2021"
99

1010
[dependencies]
11-
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
11+
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
1212
serde = { version = "1.0.136", optional = true }
13-
codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] }
14-
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
15-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
13+
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] }
14+
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
15+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
1616

17-
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
18-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17", default-features = false }
17+
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
18+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18", default-features = false }
1919

2020
[dev-dependencies]
21-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
22-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.17" }
21+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
22+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.18" }
2323

2424
[features]
2525
default = ["std"]

0 commit comments

Comments
 (0)