Skip to content

Commit 1a9dec0

Browse files
committed
Upgrade to Polkadot 0.9.25
1 parent 88dbf52 commit 1a9dec0

File tree

28 files changed

+791
-745
lines changed

28 files changed

+791
-745
lines changed

Cargo.lock

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

crates/phactory/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ phala-crypto = { path = "../phala-crypto", features = ["getrandom", "stream"] }
4040
prpc = { path = "../prpc" }
4141
pink = { path = "../pink" }
4242

43-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", features = ["disable_panic_handler", "disable_oom", "disable_allocator"] }
44-
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", features = ["disable_target_static_assertions"] }
45-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
46-
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
43+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", features = ["disable_panic_handler", "disable_oom", "disable_allocator"] }
44+
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", features = ["disable_target_static_assertions"] }
45+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
46+
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
4747
parity-scale-codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive", "full", "chain-error"] }
4848
scopeguard = { version = "1.1", default-features = false }
4949

@@ -61,11 +61,11 @@ derive_more = "0.99.0"
6161
hash-db = { version = "0.15.2", default-features = false }
6262
num = { package = "num-traits", version = "0.2", default-features = false }
6363
finality-grandpa = { version = "0.15", default-features = false, features = ["derive-codec"] }
64-
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
65-
frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
66-
sp-finality-grandpa = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
67-
sp-application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
68-
sp-core = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24"}
64+
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
65+
frame-system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
66+
sp-finality-grandpa = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
67+
sp-application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
68+
sp-core = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25"}
6969

7070
fixed = "1.9.0"
7171
fixed-sqrt = "0.2.4"

crates/phactory/api/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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.24", package = "sp-finality-grandpa", default-features = false }
23-
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", package = "frame-system", default-features = false }
24-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", package = "sp-core", default-features = false, features = ["full_crypto"] }
25-
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", package = "sp-application-crypto", default-features = false, features = ["full_crypto"] }
26-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", default-features = false }
22+
sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", package = "sp-finality-grandpa", default-features = false }
23+
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", package = "frame-system", default-features = false }
24+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", package = "sp-core", default-features = false, features = ["full_crypto"] }
25+
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", package = "sp-application-crypto", default-features = false, features = ["full_crypto"] }
26+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", default-features = false }
2727

2828
# for pruntime_client
2929
async-trait = { version = "0.1.51", optional = true }

crates/phala-crypto/Cargo.toml

Lines changed: 2 additions & 2 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.24", default-features = false }
9-
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", default-features = false }
8+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", default-features = false }
9+
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", default-features = false }
1010

1111
ring = { version = "0.16.20", default-features = false, features = ["alloc"] }
1212
curve25519-dalek = { version = "2.0", default-features = false }

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.24", default-features = false }
14+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", 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: 7 additions & 7 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.13", features = ["server"] }
14+
jsonrpsee = { version = "0.14", 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 }
1818
codec = { package = "parity-scale-codec", version = "3.0" }
1919
scale-info = { version = "2.0", default-features = false }
2020

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

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

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

crates/phala-serde-more/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ 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.24", default-features = false }
8+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", default-features = false }
99
scale = { package = "parity-scale-codec", version = "3.0", default-features = false }
1010
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
1111

crates/phala-trie-storage/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ repository = "https://github.com/Phala-Network/phala-blockchain"
1010
[dependencies]
1111
parity-scale-codec = { version = "3.0", default-features = false }
1212
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
13-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", features = ["full_crypto"] }
14-
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
15-
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
16-
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", default-features = false }
13+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", features = ["full_crypto"] }
14+
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
15+
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
16+
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", default-features = false }
1717

1818
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true }
1919
hash-db = "0.15.2"
@@ -22,8 +22,8 @@ im = { version = "15", features = ["serde"] }
2222
parity-util-mem = "0.11.0"
2323

2424
[dev-dependencies]
25-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24" }
26-
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", features = ["full_crypto"] }
25+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25" }
26+
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", features = ["full_crypto"] }
2727
hash256-std-hasher = { version = "0.15", default-features = false }
2828
hex = "0.4"
2929
serde_json = "1.0"

crates/phala-types/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ hex = { version = "0.4", default-features = false, features = ["alloc"] }
99
serde = { version = "1.0.101", default-features = false, optional = true }
1010
codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["full"] }
1111
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
12-
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", default-features = false }
13-
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.24", default-features = false, optional = true }
12+
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", default-features = false }
13+
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.25", default-features = false, optional = true }
1414

1515
phala-trie-storage = { path = "../../crates/phala-trie-storage", default-features = false, optional = true }
1616
phala-mq = { path = "../../crates/phala-mq", default-features = false }

crates/phaxt/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use scale_info::TypeInfo;
44
#[subxt::subxt(runtime_metadata_path = "metadata_files/khala_metadata.scale")]
55
pub mod khala {
66
#[subxt(substitute_type = "phala_mq::types::SignedMessage")]
7-
pub use phala_types::messaging::SignedMessage;
7+
pub use ::phala_types::messaging::SignedMessage;
88

99
#[subxt(substitute_type = "polkadot_parachain::primitives::Id")]
1010
pub use crate::ParaId;

0 commit comments

Comments
 (0)