From 5cd1a3e6b44ac9bd6c79051cc50af01a526d24c1 Mon Sep 17 00:00:00 2001 From: Parth Desai Date: Mon, 9 Oct 2023 16:14:56 +0400 Subject: [PATCH] update sdk to gemini-3f-2023-oct-6 snapshot --- Cargo.lock | 115 ++++++++++++++++++++++++-------------------- Cargo.toml | 4 +- dsn/Cargo.toml | 6 +-- farmer/Cargo.toml | 14 +++--- node/Cargo.toml | 44 ++++++++--------- node/src/builder.rs | 7 --- node/src/lib.rs | 9 +--- traits/Cargo.toml | 6 +-- utils/Cargo.toml | 12 ++--- 9 files changed, 107 insertions(+), 110 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3612806e..f51d0da4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1604,7 +1604,7 @@ checksum = "7059fff8937831a9ae6f0fe4d658ffabf58f2ca96aa9dec1c889f936f705f216" [[package]] name = "cross-domain-message-gossip" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "futures", "parity-scale-codec", @@ -2169,7 +2169,7 @@ dependencies = [ [[package]] name = "domain-block-builder" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -2186,7 +2186,7 @@ dependencies = [ [[package]] name = "domain-block-preprocessor" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "domain-runtime-primitives", "parity-scale-codec", @@ -2210,7 +2210,7 @@ dependencies = [ [[package]] name = "domain-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "futures", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "domain-client-message-relayer" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-channel", "cross-domain-message-gossip", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "domain-client-operator" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "crossbeam", "domain-block-builder", @@ -2295,7 +2295,7 @@ dependencies = [ [[package]] name = "domain-client-subnet-gossip" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "futures", "parity-scale-codec", @@ -2314,7 +2314,7 @@ dependencies = [ [[package]] name = "domain-eth-service" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "clap", "domain-runtime-primitives", @@ -2348,7 +2348,7 @@ dependencies = [ [[package]] name = "domain-pallet-executive" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-executive", "frame-support", @@ -2365,7 +2365,7 @@ dependencies = [ [[package]] name = "domain-runtime-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "parity-scale-codec", "scale-info", @@ -2381,7 +2381,7 @@ dependencies = [ [[package]] name = "domain-service" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "clap", @@ -2782,7 +2782,7 @@ dependencies = [ [[package]] name = "evm-domain-runtime" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "domain-pallet-executive", "domain-runtime-primitives", @@ -5919,6 +5919,15 @@ dependencies = [ "libc", ] +[[package]] +name = "memmap2" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "deaba38d7abf1d4cca21cc89e932e542ba2b9258664d2a9ef0e61512039c9375" +dependencies = [ + "libc", +] + [[package]] name = "memoffset" version = "0.6.5" @@ -6507,7 +6516,7 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "orml-vesting" version = "0.4.1-dev" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6579,7 +6588,7 @@ dependencies = [ [[package]] name = "pallet-domain-id" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6591,7 +6600,7 @@ dependencies = [ [[package]] name = "pallet-domains" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-benchmarking", "frame-support", @@ -6698,7 +6707,7 @@ dependencies = [ [[package]] name = "pallet-feeds" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6714,7 +6723,7 @@ dependencies = [ [[package]] name = "pallet-grandpa-finality-verifier" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "finality-grandpa", "frame-support", @@ -6734,7 +6743,7 @@ dependencies = [ [[package]] name = "pallet-messenger" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-benchmarking", "frame-support", @@ -6753,7 +6762,7 @@ dependencies = [ [[package]] name = "pallet-object-store" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6768,7 +6777,7 @@ dependencies = [ [[package]] name = "pallet-offences-subspace" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6783,7 +6792,7 @@ dependencies = [ [[package]] name = "pallet-rewards" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6796,7 +6805,7 @@ dependencies = [ [[package]] name = "pallet-runtime-configs" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6808,7 +6817,7 @@ dependencies = [ [[package]] name = "pallet-subspace" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-benchmarking", "frame-support", @@ -6867,7 +6876,7 @@ dependencies = [ [[package]] name = "pallet-transaction-fees" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "frame-system", @@ -6923,7 +6932,7 @@ dependencies = [ [[package]] name = "pallet-transporter" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "domain-runtime-primitives", "frame-benchmarking", @@ -8416,7 +8425,7 @@ dependencies = [ [[package]] name = "sc-consensus-fraud-proof" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "parity-scale-codec", @@ -8454,7 +8463,7 @@ dependencies = [ [[package]] name = "sc-consensus-subspace" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "fork-tree", @@ -8499,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-consensus-subspace-rpc" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-oneshot", "futures", @@ -8830,7 +8839,7 @@ dependencies = [ [[package]] name = "sc-proof-of-time" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "futures", @@ -9047,7 +9056,7 @@ dependencies = [ [[package]] name = "sc-subspace-block-relay" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-channel", "async-trait", @@ -9069,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-subspace-chain-specs" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "sc-chain-spec", "sc-service", @@ -10067,7 +10076,7 @@ dependencies = [ [[package]] name = "sp-consensus-subspace" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "log", @@ -10184,7 +10193,7 @@ dependencies = [ [[package]] name = "sp-domain-digests" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "parity-scale-codec", "sp-api", @@ -10196,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-domains" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "blake2", "hexlit", @@ -10311,7 +10320,7 @@ dependencies = [ [[package]] name = "sp-messenger" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "frame-support", "hash-db 0.16.0", @@ -10340,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-objects" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "sp-api", "sp-std", @@ -10790,7 +10799,7 @@ dependencies = [ [[package]] name = "subspace-archiving" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "parity-scale-codec", "rayon", @@ -10803,7 +10812,7 @@ dependencies = [ [[package]] name = "subspace-core-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "blake2", "blake3", @@ -10828,7 +10837,7 @@ dependencies = [ [[package]] name = "subspace-erasure-coding" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "blst_rust", "kzg", @@ -10838,7 +10847,7 @@ dependencies = [ [[package]] name = "subspace-farmer" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "anyhow", "async-trait", @@ -10857,6 +10866,7 @@ dependencies = [ "jemallocator", "jsonrpsee", "lru 0.10.1", + "memmap2 0.9.0", "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", @@ -10889,7 +10899,7 @@ dependencies = [ [[package]] name = "subspace-farmer-components" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "backoff", @@ -10914,12 +10924,13 @@ dependencies = [ "thiserror", "tokio", "tracing", + "winapi", ] [[package]] name = "subspace-fraud-proof" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "domain-block-preprocessor", "domain-runtime-primitives", @@ -10943,7 +10954,7 @@ dependencies = [ [[package]] name = "subspace-networking" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "actix-web", "async-mutex", @@ -10985,7 +10996,7 @@ dependencies = [ [[package]] name = "subspace-proof-of-space" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "chacha20 0.9.1", "derive_more", @@ -10998,7 +11009,7 @@ dependencies = [ [[package]] name = "subspace-proof-of-time" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "aes 0.8.3", "subspace-core-primitives", @@ -11008,7 +11019,7 @@ dependencies = [ [[package]] name = "subspace-rpc-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "hex", "serde", @@ -11020,7 +11031,7 @@ dependencies = [ [[package]] name = "subspace-runtime" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "domain-runtime-primitives", "frame-benchmarking", @@ -11071,7 +11082,7 @@ dependencies = [ [[package]] name = "subspace-runtime-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "parity-scale-codec", "serde", @@ -11112,7 +11123,7 @@ dependencies = [ [[package]] name = "subspace-service" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "atomic", @@ -11185,12 +11196,12 @@ dependencies = [ [[package]] name = "subspace-solving" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" [[package]] name = "subspace-transaction-pool" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "async-trait", "domain-runtime-primitives", @@ -11218,7 +11229,7 @@ dependencies = [ [[package]] name = "subspace-verification" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=7b120feb0b5976803cde8843cdb9ed185c7ec0ec#7b120feb0b5976803cde8843cdb9ed185c7ec0ec" +source = "git+https://github.com/subspace/subspace?rev=5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30#5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" dependencies = [ "parity-scale-codec", "scale-info", diff --git a/Cargo.toml b/Cargo.toml index e537ec71..b10317ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ sdk-substrate = { path = "substrate" } sdk-utils = { path = "utils" } static_assertions = "1.1.0" -subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } # The only triple tested and confirmed as working in `jemallocator` crate is `x86_64-unknown-linux-gnu` [target.'cfg(all(target_arch = "x86_64", target_vendor = "unknown", target_os = "linux", target_env = "gnu"))'.dev-dependencies] @@ -28,7 +28,7 @@ derive_more = "0.99" fdlimit = "0.2" futures = "0.3" serde_json = "1" -subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } tempfile = "3" tokio = { version = "1.26", features = ["rt-multi-thread", "macros"] } tracing = "0.1" diff --git a/dsn/Cargo.toml b/dsn/Cargo.toml index 059b08f7..25c03e1a 100644 --- a/dsn/Cargo.toml +++ b/dsn/Cargo.toml @@ -13,13 +13,13 @@ futures = "0.3" hex = "0.4.3" parking_lot = "0.12" sc-client-api = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } -sc-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +sc-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } sdk-utils = { path = "../utils" } serde = { version = "1", features = ["derive"] } sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sp-runtime = { version = "24.0.0", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } -subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-networking = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-networking = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } tracing = "0.1" [features] diff --git a/farmer/Cargo.toml b/farmer/Cargo.toml index f633c573..94092605 100644 --- a/farmer/Cargo.toml +++ b/farmer/Cargo.toml @@ -19,13 +19,13 @@ rayon = "1.7.0" sdk-traits = { path = "../traits" } sdk-utils = { path = "../utils" } serde = { version = "1", features = ["derive"] } -subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-erasure-coding = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-networking = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec", features = ["parallel", "chia"] } -subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-erasure-coding = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-networking = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30", features = ["parallel", "chia"] } +subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } thiserror = "1" tokio = { version = "1.28.2", features = ["fs", "rt", "tracing", "macros", "parking_lot", "rt-multi-thread", "signal"] } tokio-stream = { version = "0.1", features = ["sync", "time"] } diff --git a/node/Cargo.toml b/node/Cargo.toml index 884661ed..551d0660 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -7,36 +7,36 @@ edition = "2021" [dependencies] anyhow = "1" backoff = "0.4" -cross-domain-message-gossip = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +cross-domain-message-gossip = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } derivative = "2.2.0" derive_builder = "0.12" derive_more = "0.99" -domain-client-operator = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -domain-eth-service = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -domain-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -domain-service = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -evm-domain-runtime = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +domain-client-operator = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +domain-eth-service = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +domain-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +domain-service = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +evm-domain-runtime = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } fp-evm = { version = "3.0.0-dev", git = "https://github.com/subspace/frontier", rev = "74483666645e121c0c5e6616f43fdfd8664ea0d3" } frame-system = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } futures = "0.3" hex-literal = "0.4" once_cell = "1.18.0" -pallet-rewards = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -pallet-subspace = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +pallet-rewards = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +pallet-subspace = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } parity-scale-codec = "3.6.3" parking_lot = "0.12" pin-project = "1" sc-client-api = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sc-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } -sc-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +sc-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } sc-executor = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sc-network = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sc-network-sync = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } -sc-proof-of-time = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +sc-proof-of-time = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sc-service = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71", default-features = false } sc-storage-monitor = { version = "0.1.0", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71", default-features = false } -sc-subspace-chain-specs = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +sc-subspace-chain-specs = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sdk-dsn = { path = "../dsn" } sdk-substrate = { path = "../substrate" } @@ -46,20 +46,20 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sp-consensus = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } -sp-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +sp-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } sp-core = { version = "21.0.0", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } -sp-domains = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -sp-messenger = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +sp-domains = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +sp-messenger = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } sp-runtime = { version = "24.0.0", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sp-version = { version = "22.0.0", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } -subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-networking = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-runtime = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-service = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-networking = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-runtime = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-service = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } tokio = { version = "1.28.2", features = ["fs", "rt", "tracing", "macros", "parking_lot", "rt-multi-thread", "signal"] } tokio-stream = { version = "0.1", features = ["sync", "time"] } tracing = "0.1" diff --git a/node/src/builder.rs b/node/src/builder.rs index f8697b1c..f1666763 100644 --- a/node/src/builder.rs +++ b/node/src/builder.rs @@ -53,10 +53,6 @@ pub struct Config { #[builder(default)] #[serde(default, skip_serializing_if = "sdk_utils::is_default")] pub sync_from_dsn: bool, - /// DSN Sync parallelism level - #[builder(default)] - #[serde(default, skip_serializing_if = "sdk_utils::is_default")] - pub dsn_sync_parallelism_level: usize, #[doc(hidden)] #[builder( setter(into, strip_option), @@ -111,7 +107,6 @@ impl Builder { .dsn(DsnBuilder::dev()) .rpc(RpcBuilder::dev()) .offchain_worker(OffchainWorkerBuilder::dev()) - .dsn_sync_parallelism_level(5) } /// Gemini 3f configuration @@ -125,7 +120,6 @@ impl Builder { .role(Role::Authority) .state_pruning(PruningMode::ArchiveAll) .blocks_pruning(BlocksPruning::Some(256)) - .dsn_sync_parallelism_level(5) } /// Devnet chain configuration @@ -139,7 +133,6 @@ impl Builder { .role(Role::Authority) .state_pruning(PruningMode::ArchiveAll) .blocks_pruning(BlocksPruning::Some(256)) - .dsn_sync_parallelism_level(5) } /// Get configuration for saving on disk diff --git a/node/src/lib.rs b/node/src/lib.rs index 3de77bcd..b917c90f 100644 --- a/node/src/lib.rs +++ b/node/src/lib.rs @@ -81,13 +81,7 @@ impl Config { pot_configuration: PotConfiguration, ) -> anyhow::Result> { let Self { - base, - mut dsn, - sync_from_dsn, - storage_monitor, - enable_subspace_block_relay, - dsn_sync_parallelism_level, - .. + base, mut dsn, sync_from_dsn, storage_monitor, enable_subspace_block_relay, .. } = self; let PotConfiguration { is_pot_enabled, is_node_time_keeper } = pot_configuration; @@ -169,7 +163,6 @@ impl Config { subspace_networking, sync_from_dsn, enable_subspace_block_relay, - dsn_sync_parallelism_level, }; let node_runner_future = subspace_farmer::utils::run_future_in_dedicated_thread( diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 34874e3f..00ed2429 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -9,9 +9,9 @@ async-trait = "0.1" parking_lot = "0.12" sc-client-api = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } sdk-dsn = { path = "../dsn" } -subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } [features] default = [] diff --git a/utils/Cargo.toml b/utils/Cargo.toml index f11afb85..89e2c34e 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -19,7 +19,7 @@ futures = "0.3" jsonrpsee-core = "0.16" libp2p-core = "0.40.0" parity-scale-codec = "3.6.3" -sc-consensus-subspace-rpc = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +sc-consensus-subspace-rpc = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } sc-network = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71", default-features = false } sc-rpc = { version = "4.0.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71", default-features = false } sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71", default-features = false } @@ -31,11 +31,11 @@ sp-runtime = { version = "24.0.0", git = "https://github.com/subspace/substrate" sp-storage = { version = "13.0.0", git = "https://github.com/subspace/substrate", rev = "55c157cff49b638a59d81a9f971f0f9a66829c71" } ss58-registry = "1.33" # Unused for now. TODO: add `serde` feature to `subspace-core-primitives` in `subspace-archiver` -subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-runtime = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } -subspace-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "7b120feb0b5976803cde8843cdb9ed185c7ec0ec" } +subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-runtime = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } +subspace-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "5e3f8ef62c8ad52e4db67e1104aa6fefb8f1aa30" } thiserror = "1" tokio = { version = "1.28.2", features = ["fs", "rt", "tracing", "macros", "parking_lot", "rt-multi-thread", "signal"] } tracing = "0.1"