Skip to content

Commit 7516ee3

Browse files
committed
Upgrade to Polkadot 0.9.27
1 parent d07ea4f commit 7516ee3

File tree

63 files changed

+2903
-2461
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2903
-2461
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ rocket = { version = "0.5.0-rc.2", git = "https://github.com/SergioBenitez/Rocke
8282
rocksdb = { git = "https://github.com/jasl/rust-rocksdb", branch = "v0.18" }
8383

8484
# For pink-extension-runtime, it will introduce Substrate from crates-io which usually different with polkadot-branch
85-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
86-
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
85+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
86+
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }

crates/phactory/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ phala-crypto = { path = "../phala-crypto", features = ["getrandom", "stream"] }
3535
prpc = { path = "../prpc" }
3636
pink = { path = "../pink" }
3737

38-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", features = ["disable_panic_handler", "disable_oom", "disable_allocator"] }
39-
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", features = ["disable_target_static_assertions"] }
40-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
41-
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
42-
parity-scale-codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive", "full", "chain-error"] }
38+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", features = ["disable_panic_handler", "disable_oom", "disable_allocator"] }
39+
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", features = ["disable_target_static_assertions"] }
40+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
41+
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
42+
parity-scale-codec = { package = "parity-scale-codec", version = "3.1", default-features = false, features = ["derive", "full", "chain-error"] }
4343
scopeguard = { version = "1.1", default-features = false }
4444

4545
# Phala specific
@@ -54,11 +54,11 @@ derive_more = "0.99.0"
5454
hash-db = { version = "0.15.2", default-features = false }
5555
num = { package = "num-traits", version = "0.2", default-features = false }
5656
finality-grandpa = { version = "0.15", default-features = false, features = ["derive-codec"] }
57-
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
58-
frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
59-
sp-finality-grandpa = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
60-
sp-application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
61-
sp-core = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26"}
57+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
58+
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
59+
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
60+
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
61+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
6262

6363
fixed = "1.9.0"
6464
fixed-sqrt = "0.2.4"

crates/phactory/api/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ edition = "2018"
55
resolver = "2"
66

77
[dependencies]
8-
parity-scale-codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive"] }
9-
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
8+
parity-scale-codec = { package = "parity-scale-codec", version = "3.1", default-features = false, features = ["derive"] }
9+
scale-info = { version = "2.1", default-features = false, features = ["derive"] }
1010
serde = { version = "1", optional = true, features = ["derive"], default-features = false }
1111
base64 = { version = "0.13" }
1212
derive_more = "0.99.16"
13-
prost = { version = "0.8.0", default-features = false }
13+
prost = { version = "0.11.0", default-features = false }
1414

1515
phala-trie-storage = { path = "../../../crates/phala-trie-storage", default-features = false, features = ["serde"] }
1616
phala-types = { path = "../../../crates/phala-types", default-features = false }
@@ -19,11 +19,11 @@ phala-crypto = { path = "../../../crates/phala-crypto" }
1919
phala-mq = { path = "../../../crates/phala-mq" }
2020
chain = { path = "../../../standalone/runtime", default-features = false, package = "phala-node-runtime" }
2121

22-
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", package = "sp-finality-grandpa", default-features = false }
23-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", package = "frame-system", default-features = false }
24-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", package = "sp-core", default-features = false, features = ["full_crypto"] }
25-
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", package = "sp-application-crypto", default-features = false, features = ["full_crypto"] }
26-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", default-features = false }
22+
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
23+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
24+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false, features = ["full_crypto"] }
25+
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false, features = ["full_crypto"] }
26+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
2727

2828
# for pruntime_client
2929
async-trait = "0.1"

crates/phactory/src/light_validation/storage_proof.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
use anyhow::Result;
2020
use hash_db::{HashDB, Hasher, EMPTY_PREFIX};
21-
use trie::{trie_types::TrieDB, MemoryDB, Trie};
21+
use sp_trie::{trie_types::TrieDB, MemoryDB, Trie};
2222

2323
use super::Error;
2424

crates/phala-crypto/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ edition = "2018"
55
resolver = "2"
66

77
[dependencies]
8-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", default-features = false }
9-
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", default-features = false }
8+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
9+
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
1010

1111
ring = { version = "0.16.20", default-features = false, features = ["alloc"] }
1212
curve25519-dalek = { version = "2.0", default-features = false }
@@ -16,7 +16,7 @@ typenum = { version = "1.14.0", default-features = false, optional = true }
1616
aead-io = { version = "0.1.2", optional = true }
1717

1818
[dev-dependencies]
19-
rand = "0.7.3"
19+
rand = "0.8.5"
2020
hex = "0.4"
2121
schnorrkel = { version = "0.9.1", default-features = false, features = ["preaudit_deprecated", "u64_backend", "getrandom"] }
2222

crates/phala-mq/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hex = { version = "0.4.3", default-features = false, features = ['alloc'] }
1111
derive_more = { version = "0.99", default-features = false, features = ["display"] }
1212
parity-scale-codec = { version = "3.0", default-features = false, features = ["derive"] }
1313
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
14-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", default-features = false }
14+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
1515
serde = { version = "1.0", default-features = false, features = ["derive"] }
1616

1717
spin = { version = "0.9", default-features = false, features = ["mutex", "use_ticket_mutex"], optional = true }

crates/phala-node-rpc-ext/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ repository = "https://github.com/Phala-Network/phala-blockchain"
1111
# third-party dependencies
1212
serde = { version = "1.0.102", features = ["derive"] }
1313
thiserror = "1.0"
14-
jsonrpsee = { version = "0.14", features = ["server"] }
14+
jsonrpsee = { version = "0.14.0", features = ["server"] }
1515
impl-serde = "0.3"
1616
log = { version = "0.4.14", default-features = false }
1717
hex = { version = "0.4.3", default-features = false }
18-
codec = { package = "parity-scale-codec", version = "3.0" }
19-
scale-info = { version = "2.0", default-features = false }
18+
codec = { package = "parity-scale-codec", version = "3.1" }
19+
scale-info = { version = "2.1", default-features = false }
2020

2121
# primitives
22-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
23-
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
24-
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
22+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
23+
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
24+
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
2525

2626
# client dependencies
27-
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
28-
sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
29-
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26" }
27+
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
28+
sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
29+
sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
3030

3131
phala-mq = { path = "../../crates/phala-mq" }
3232
phala-pallets = { path = "../../pallets/phala" }

crates/phala-node-rpc-ext/types/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ edition = "2021"
66
[dependencies]
77
serde = { version = "1.0", features = ["derive"] }
88
impl-serde = "0.3.1"
9-
scale-info = { version = "2.0", default-features = false }
10-
scale = { package = "parity-scale-codec", version = "3.0" }
9+
scale-info = { version = "2.1", default-features = false }
10+
scale = { package = "parity-scale-codec", version = "3.1" }

crates/phala-serde-more/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ edition = "2021"
55

66
[dependencies]
77
serde = { version = "1.0.130", default-features = false, features = ["derive", "alloc"] }
8-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", default-features = false }
9-
scale = { package = "parity-scale-codec", version = "3.0", default-features = false }
8+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27", default-features = false }
9+
scale = { package = "parity-scale-codec", version = "3.1", default-features = false }
1010
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
1111

1212
[features]

0 commit comments

Comments
 (0)