From f49f8b082d85c017af6a42ff1bc871eb74e26a2e Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Fri, 3 Jan 2025 12:00:31 +0200 Subject: [PATCH] Update Subspace to the latest `main` revision --- Cargo.lock | 107 +++++++++++++++++++++++++++----------------- Cargo.toml | 38 ++++++++-------- rust-toolchain.toml | 2 +- src/main.rs | 5 +++ 4 files changed, 91 insertions(+), 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e2ceb09..beeba051 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2032,7 +2032,7 @@ checksum = "f64009896348fc5af4222e9cf7d7d82a95a256c634ebcf61c53e4ea461422242" [[package]] name = "cross-domain-message-gossip" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "domain-block-preprocessor", "fp-account", @@ -2520,7 +2520,7 @@ dependencies = [ [[package]] name = "domain-block-preprocessor" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-trait", "domain-runtime-primitives", @@ -2553,7 +2553,7 @@ dependencies = [ [[package]] name = "domain-runtime-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "fp-account", "frame-support", @@ -5063,6 +5063,12 @@ dependencies = [ "once_cell", ] +[[package]] +name = "is_ci" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45" + [[package]] name = "is_terminal_polyfill" version = "1.70.1" @@ -9829,7 +9835,7 @@ dependencies = [ [[package]] name = "sc-consensus-subspace" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-trait", "futures", @@ -9870,7 +9876,7 @@ dependencies = [ [[package]] name = "sc-consensus-subspace-rpc" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-oneshot", "futures", @@ -9905,7 +9911,7 @@ dependencies = [ [[package]] name = "sc-domains" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "sc-client-api", "sc-executor", @@ -10266,7 +10272,7 @@ dependencies = [ [[package]] name = "sc-proof-of-time" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "core_affinity", "derive_more 1.0.0", @@ -10501,7 +10507,7 @@ dependencies = [ [[package]] name = "sc-subspace-block-relay" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -10527,12 +10533,12 @@ dependencies = [ [[package]] name = "sc-subspace-chain-specs" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" [[package]] name = "sc-subspace-sync-common" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "array-bytes", "futures", @@ -11245,7 +11251,7 @@ dependencies = [ [[package]] name = "sp-auto-id" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "parity-scale-codec", "scale-info", @@ -11269,7 +11275,7 @@ dependencies = [ [[package]] name = "sp-block-fees" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-trait", "domain-runtime-primitives", @@ -11364,7 +11370,7 @@ dependencies = [ [[package]] name = "sp-consensus-subspace" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-trait", "log", @@ -11480,7 +11486,7 @@ dependencies = [ [[package]] name = "sp-domain-digests" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -11489,7 +11495,7 @@ dependencies = [ [[package]] name = "sp-domain-sudo" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-trait", "parity-scale-codec", @@ -11500,7 +11506,7 @@ dependencies = [ [[package]] name = "sp-domains" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "blake2 0.10.6", "domain-runtime-primitives", @@ -11532,7 +11538,7 @@ dependencies = [ [[package]] name = "sp-domains-fraud-proof" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "domain-block-preprocessor", "domain-runtime-primitives", @@ -11567,7 +11573,7 @@ dependencies = [ [[package]] name = "sp-executive" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-trait", "parity-scale-codec", @@ -11658,7 +11664,7 @@ dependencies = [ [[package]] name = "sp-messenger" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-trait", "frame-support", @@ -11680,7 +11686,7 @@ dependencies = [ [[package]] name = "sp-messenger-host-functions" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "domain-block-preprocessor", "parity-scale-codec", @@ -11737,7 +11743,7 @@ dependencies = [ [[package]] name = "sp-objects" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "sp-api", "subspace-core-primitives", @@ -11923,7 +11929,7 @@ dependencies = [ [[package]] name = "sp-subspace-mmr" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "parity-scale-codec", "scale-info", @@ -12063,7 +12069,7 @@ dependencies = [ [[package]] name = "space-acres" -version = "0.2.9" +version = "0.2.10" dependencies = [ "anyhow", "arc-swap", @@ -12306,7 +12312,7 @@ dependencies = [ [[package]] name = "subspace-archiving" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "parity-scale-codec", "rayon", @@ -12320,7 +12326,7 @@ dependencies = [ [[package]] name = "subspace-core-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "blake3", "bytes", @@ -12339,7 +12345,7 @@ dependencies = [ [[package]] name = "subspace-data-retrieval" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "anyhow", "async-trait", @@ -12356,7 +12362,7 @@ dependencies = [ [[package]] name = "subspace-erasure-coding" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "kzg", "rust-kzg-blst", @@ -12367,7 +12373,7 @@ dependencies = [ [[package]] name = "subspace-fake-runtime-api" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "domain-runtime-primitives", "frame-support", @@ -12399,7 +12405,7 @@ dependencies = [ [[package]] name = "subspace-farmer" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "anyhow", "async-lock", @@ -12455,7 +12461,7 @@ dependencies = [ [[package]] name = "subspace-farmer-components" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "anyhow", "async-lock", @@ -12488,7 +12494,7 @@ dependencies = [ [[package]] name = "subspace-kzg" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "derive_more 1.0.0", "kzg", @@ -12500,10 +12506,20 @@ dependencies = [ "tracing", ] +[[package]] +name = "subspace-logging" +version = "0.0.1" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" +dependencies = [ + "supports-color", + "tracing", + "tracing-subscriber", +] + [[package]] name = "subspace-metrics" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "actix-web", "prometheus", @@ -12514,7 +12530,7 @@ dependencies = [ [[package]] name = "subspace-networking" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "async-lock", "async-trait", @@ -12540,12 +12556,12 @@ dependencies = [ "serde", "serde_json", "subspace-core-primitives", + "subspace-logging", "subspace-metrics", "thiserror 2.0.1", "tokio", "tokio-stream", "tracing", - "tracing-subscriber", "unsigned-varint 0.8.0", "void", ] @@ -12553,7 +12569,7 @@ dependencies = [ [[package]] name = "subspace-proof-of-space" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "chacha20", "derive_more 1.0.0", @@ -12569,7 +12585,7 @@ dependencies = [ [[package]] name = "subspace-proof-of-space-gpu" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "blst", "cc", @@ -12582,7 +12598,7 @@ dependencies = [ [[package]] name = "subspace-proof-of-time" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "aes 0.9.0-pre.2", "subspace-core-primitives", @@ -12592,7 +12608,7 @@ dependencies = [ [[package]] name = "subspace-rpc-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "hex", "parity-scale-codec", @@ -12605,7 +12621,7 @@ dependencies = [ [[package]] name = "subspace-runtime-primitives" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "frame-support", "frame-system", @@ -12621,7 +12637,7 @@ dependencies = [ [[package]] name = "subspace-service" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "anyhow", "array-bytes", @@ -12709,7 +12725,7 @@ dependencies = [ [[package]] name = "subspace-verification" version = "0.1.0" -source = "git+https://github.com/subspace/subspace?rev=ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f#ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" +source = "git+https://github.com/subspace/subspace?rev=7ffa30b3005db33711569ec4af0ccf6a24e7ef43#7ffa30b3005db33711569ec4af0ccf6a24e7ef43" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -12790,6 +12806,15 @@ version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" +[[package]] +name = "supports-color" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c64fc7232dd8d2e4ac5ce4ef302b1d81e0b80d055b9d77c7c4f51f6aa4c867d6" +dependencies = [ + "is_ci", +] + [[package]] name = "syn" version = "1.0.109" diff --git a/Cargo.toml b/Cargo.toml index 82e13846..3a2da27f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "space-acres" description = "Space Acres is an opinionated GUI application for farming on Autonomys Network" license = "0BSD" -version = "0.2.9" +version = "0.2.10" authors = ["Nazar Mokrynskyi "] repository = "https://github.com/autonomys/space-acres" edition = "2021" @@ -72,13 +72,13 @@ reqwest = { version = "0.12.8", default-features = false, features = ["json", "r sc-client-api = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } sc-client-db = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } sc-consensus-slots = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } -sc-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } +sc-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } sc-network = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } sc-network-types = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } sc-rpc = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } sc-service = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } sc-storage-monitor = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } -sc-subspace-chain-specs = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } +sc-subspace-chain-specs = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } sc-utils = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } schnellru = "0.2.3" semver = "1.0.23" @@ -87,24 +87,24 @@ serde_json = "1.0.133" simple_moving_average = "1.0.2" sp-api = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } sp-consensus = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } -sp-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } +sp-consensus-subspace = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } sp-core = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } -sp-objects = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } +sp-objects = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } sp-runtime = { git = "https://github.com/subspace/polkadot-sdk", rev = "94a1a8143a89bbe9f938c1939ff68abc1519a305", default-features = false } -subspace-archiving = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-data-retrieval = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-erasure-coding = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-fake-runtime-api = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f", default-features = false } -subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-kzg = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-networking = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-proof-of-space-gpu = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f", optional = true } -subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } -subspace-service = { git = "https://github.com/subspace/subspace", rev = "ac3d5e5fad8007a15e7aff3790d4e7ceb3ad7a0f" } +subspace-archiving = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-core-primitives = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-data-retrieval = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-erasure-coding = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-fake-runtime-api = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-farmer = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43", default-features = false } +subspace-farmer-components = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-kzg = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-networking = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-proof-of-space = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-proof-of-space-gpu = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43", optional = true } +subspace-rpc-primitives = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-runtime-primitives = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } +subspace-service = { git = "https://github.com/subspace/subspace", rev = "7ffa30b3005db33711569ec4af0ccf6a24e7ef43" } sys-locale = "0.3.1" tempfile = "3.13.0" thiserror = "2.0.1" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 04a4c598..43837939 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2024-10-22" +channel = "nightly-2024-12-24" components = ["rust-src"] targets = [] profile = "default" diff --git a/src/main.rs b/src/main.rs index 3c7d373e..0a721659 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,11 @@ try_blocks, variant_count )] +// `generic_const_exprs` is an incomplete feature +#![allow(incomplete_features)] +// TODO: This feature is not actually used in this crate, but is added as a workaround for +// https://github.com/rust-lang/rust/issues/133199 +#![feature(generic_const_exprs)] mod backend; mod frontend;