Skip to content

Commit

Permalink
Update direct dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Oct 1, 2024
1 parent a7fd66f commit c8b024d
Show file tree
Hide file tree
Showing 30 changed files with 172 additions and 163 deletions.
159 changes: 86 additions & 73 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/pallet-subspace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ subspace-verification = { version = "0.1.0", path = "../subspace-verification",

[dev-dependencies]
env_logger = "0.11.5"
futures = "0.3.29"
futures = "0.3.30"
pallet-balances = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
rand = { version = "0.8.5", features = ["min_const_gen"] }
sp-io = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
Expand Down
4 changes: 2 additions & 2 deletions crates/sc-consensus-subspace-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
async-oneshot = "0.5.9"
futures = "0.3.29"
futures = "0.3.30"
futures-timer = "3.0.3"
jsonrpsee = { version = "0.24.5", features = ["server", "macros"] }
parking_lot = "0.12.2"
Expand All @@ -37,5 +37,5 @@ subspace-erasure-coding = { version = "0.1.0", path = "../subspace-erasure-codin
subspace-farmer-components = { version = "0.1.0", path = "../subspace-farmer-components" }
subspace-networking = { version = "0.1.0", path = "../subspace-networking" }
subspace-rpc-primitives = { version = "0.1.0", path = "../subspace-rpc-primitives" }
thiserror = "1.0.63"
thiserror = "1.0.64"
tracing = "0.1.40"
6 changes: 3 additions & 3 deletions crates/sc-consensus-subspace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-trait = "0.1.83"
codec = { package = "parity-scale-codec", version = "3.6.12", features = ["derive"] }
futures = "0.3.29"
futures = "0.3.30"
parking_lot = "0.12.2"
rand = "0.8.5"
rand_chacha = "0.3.1"
Expand Down Expand Up @@ -44,8 +44,8 @@ subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primiti
subspace-erasure-coding = { version = "0.1.0", path = "../subspace-erasure-coding" }
subspace-proof-of-space = { version = "0.1.0", path = "../subspace-proof-of-space" }
subspace-verification = { version = "0.1.0", path = "../subspace-verification" }
thiserror = "1.0.63"
tokio = { version = "1.39.2", features = ["sync", "time"] }
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["sync", "time"] }
tracing = "0.1.40"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/sc-proof-of-time/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include = [
[dependencies]
core_affinity = "0.8.1"
derive_more = { version = "1.0.0", features = ["full"] }
futures = "0.3.29"
futures = "0.3.30"
parity-scale-codec = { version = "3.6.12", features = ["derive"] }
parking_lot = "0.12.2"
rayon = "1.10.0"
Expand All @@ -32,5 +32,5 @@ sp-runtime = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e
subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primitives" }
subspace-proof-of-time = { version = "0.1.0", path = "../subspace-proof-of-time" }
thread-priority = "1.1.0"
tokio = { version = "1.39.2", features = ["sync"] }
tokio = { version = "1.40.0", features = ["sync"] }
tracing = "0.1.40"
4 changes: 2 additions & 2 deletions crates/sc-subspace-block-relay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async-channel = "1.9.0"
async-trait = "0.1.83"
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] }
derive_more = { version = "1.0.0", features = ["full"] }
futures = "0.3.29"
futures = "0.3.30"
parking_lot = "0.12.2"
sc-client-api = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
sc-network = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
Expand All @@ -28,5 +28,5 @@ sp-runtime = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e
strum_macros = "0.26.4"
subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primitives" }
substrate-prometheus-endpoint = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
thiserror = "1.0.63"
thiserror = "1.0.64"
tracing = "0.1.40"
2 changes: 1 addition & 1 deletion crates/sp-consensus-subspace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sp-timestamp = { git = "https://github.com/subspace/polkadot-sdk", rev = "587181
subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primitives", default-features = false }
subspace-proof-of-space = { version = "0.1.0", path = "../subspace-proof-of-space", default-features = false }
subspace-verification = { version = "0.1.0", path = "../subspace-verification", default-features = false }
thiserror = { version = "1.0.63", optional = true }
thiserror = { version = "1.0.64", optional = true }

[features]
default = ["std"]
Expand Down
8 changes: 4 additions & 4 deletions crates/sp-domains-fraud-proof/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ sp-weights = { default-features = false, git = "https://github.com/subspace/polk
subspace-core-primitives = { version = "0.1.0", default-features = false, path = "../subspace-core-primitives" }
subspace-runtime-primitives = { version = "0.1.0", default-features = false, path = "../subspace-runtime-primitives" }
trie-db = { version = "0.29.1", default-features = false }
thiserror = { version = "1.0.63", optional = true }
thiserror = { version = "1.0.64", optional = true }

[dev-dependencies]
domain-block-builder = { version = "0.1.0", path = "../../domains/client/block-builder" }
Expand All @@ -49,7 +49,7 @@ fp-rpc = { version = "3.0.0-dev", git = "https://github.com/autonomys/frontier",
fp-self-contained = { version = "1.0.0-dev", git = "https://github.com/autonomys/frontier", rev = "f80f9e2bad338f3bf3854b256b3c4edea23e5968", features = ['default'] }
frame-support = { default-features = false, git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
frame-system = { default-features = false, git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
futures = "0.3.29"
futures = "0.3.30"
libsecp256k1 = { version = "0.7.1", features = ["static-context", "hmac"] }
pallet-balances = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
pallet-ethereum = { git = "https://github.com/autonomys/frontier", rev = "f80f9e2bad338f3bf3854b256b3c4edea23e5968", features = ['default'] }
Expand All @@ -63,8 +63,8 @@ sc-service = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e
subspace-test-client = { version = "0.1.0", path = "../../test/subspace-test-client" }
subspace-test-service = { version = "0.1.0", path = "../../test/subspace-test-service" }
subspace-runtime-primitives = { version = "0.1.0", path = "../../crates/subspace-runtime-primitives" }
tempfile = "3.12.0"
tokio = "1.39.2"
tempfile = "3.13.0"
tokio = "1.40.0"

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-archiving/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rayon = { version = "1.10.0", optional = true }
serde = { version = "1.0.110", optional = true, features = ["derive"] }
subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primitives", default-features = false }
subspace-erasure-coding = { version = "0.1.0", path = "../subspace-erasure-coding", default-features = false }
thiserror = { version = "1.0.63", optional = true }
thiserror = { version = "1.0.64", optional = true }

[dev-dependencies]
criterion = "0.5.1"
Expand Down
4 changes: 2 additions & 2 deletions crates/subspace-core-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include = [
bench = false

[dependencies]
blake3 = { version = "1.5.3", default-features = false }
blake3 = { version = "1.5.4", default-features = false }
bytes = { version = "1.7.1", default-features = false }
derive_more = { version = "1.0.0", default-features = false, features = ["full"] }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
Expand All @@ -32,7 +32,7 @@ serde = { version = "1.0.110", optional = true, default-features = false, featur
spin = "0.9.7"
static_assertions = "1.1.0"
tracing = { version = "0.1.40", default-features = false }
uint = { version = "0.9.5", default-features = false }
uint = { version = "0.10.0", default-features = false }

[dev-dependencies]
criterion = "0.5.1"
Expand Down
8 changes: 2 additions & 6 deletions crates/subspace-core-primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -857,9 +857,7 @@ impl U256 {

/// Convert to big endian bytes
pub fn to_be_bytes(self) -> [u8; 32] {
let mut arr = [0u8; 32];
self.0.to_big_endian(&mut arr);
arr
self.0.to_big_endian()
}

/// Create from little endian bytes
Expand All @@ -869,9 +867,7 @@ impl U256 {

/// Convert to little endian bytes
pub fn to_le_bytes(self) -> [u8; 32] {
let mut arr = [0u8; 32];
self.0.to_little_endian(&mut arr);
arr
self.0.to_little_endian()
}

/// Adds two numbers, checking for overflow. If overflow happens, `None` is returned.
Expand Down
12 changes: 6 additions & 6 deletions crates/subspace-farmer-components/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ include = [
bench = false

[dependencies]
async-lock = "3.3.0"
async-lock = "3.4.0"
async-trait = "0.1.83"
backoff = { version = "0.4.0", features = ["futures", "tokio"] }
bitvec = "1.0.1"
# TODO: Switch to fs4 once https://github.com/al8n/fs4-rs/issues/15 is resolved
fs2 = "0.4.3"
futures = "0.3.29"
futures = "0.3.30"
hex = "0.4.3"
libc = "0.2.154"
libc = "0.2.159"
parity-scale-codec = "3.6.12"
parking_lot = "0.12.2"
rand = "0.8.5"
Expand All @@ -37,16 +37,16 @@ subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primiti
subspace-erasure-coding = { version = "0.1.0", path = "../subspace-erasure-coding" }
subspace-proof-of-space = { version = "0.1.0", path = "../subspace-proof-of-space", features = ["parallel"] }
subspace-verification = { version = "0.1.0", path = "../subspace-verification" }
thiserror = "1.0.63"
tokio = { version = "1.39.2", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "sync"] }
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "sync"] }
tracing = "0.1.40"

[target.'cfg(windows)'.dependencies]
winapi = "0.3.9"

[dev-dependencies]
criterion = "0.5.1"
futures = "0.3.29"
futures = "0.3.30"
subspace-archiving = { version = "0.1.0", path = "../subspace-archiving" }
subspace-proof-of-space = { version = "0.1.0", path = "../subspace-proof-of-space" }

Expand Down
28 changes: 14 additions & 14 deletions crates/subspace-farmer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ name = "subspace-farmer"
required-features = ["binary"]

[dependencies]
anyhow = "1.0.86"
async-lock = "3.3.0"
async-nats = { version = "0.35.1", optional = true }
anyhow = "1.0.89"
async-lock = "3.4.0"
async-nats = { version = "0.37.0", optional = true }
async-trait = "0.1.83"
backoff = { version = "0.4.0", features = ["futures", "tokio"] }
base58 = "0.2.0"
blake2 = "0.10.6"
blake3 = { version = "1.5.3", default-features = false }
bytes = "1.7.1"
blake3 = { version = "1.5.4", default-features = false }
bytes = "1.7.2"
bytesize = "1.3.0"
clap = { version = "4.5.15", features = ["derive"], optional = true }
clap = { version = "4.5.18", features = ["derive"], optional = true }
criterion = { version = "0.5.1", default-features = false, features = ["rayon", "async"], optional = true }
derive_more = { version = "1.0.0", features = ["full"] }
event-listener = "5.3.1"
event-listener-primitives = "2.0.1"
fdlimit = { version = "0.3.0", optional = true }
fs4 = "0.8.4"
futures = "0.3.29"
fs4 = "0.9.1"
futures = "0.3.30"
hex = { version = "0.4.3", features = ["serde"] }
hwlocality = { version = "1.0.0-alpha.6", features = ["vendored"], optional = true }
jsonrpsee = { version = "0.24.5", features = ["ws-client"] }
Expand All @@ -50,7 +50,7 @@ schnorrkel = "0.11.4"
serde = { version = "1.0.110", features = ["derive"] }
serde_json = "1.0.128"
static_assertions = "1.1.0"
ss58-registry = "1.47.0"
ss58-registry = "1.50.0"
subspace-archiving = { version = "0.1.0", path = "../subspace-archiving" }
subspace-erasure-coding = { version = "0.1.0", path = "../subspace-erasure-coding" }
subspace-farmer-components = { version = "0.1.0", path = "../subspace-farmer-components" }
Expand All @@ -61,12 +61,12 @@ subspace-proof-of-space = { version = "0.1.0", path = "../subspace-proof-of-spac
subspace-proof-of-space-gpu = { version = "0.1.0", path = "../../shared/subspace-proof-of-space-gpu", optional = true }
subspace-rpc-primitives = { version = "0.1.0", path = "../subspace-rpc-primitives" }
substrate-bip39 = "0.6.0"
supports-color = { version = "3.0.0", optional = true }
tempfile = "3.12.0"
thiserror = "1.0.63"
supports-color = { version = "3.0.1", optional = true }
tempfile = "3.13.0"
thiserror = "1.0.64"
thread-priority = "1.1.0"
tokio = { version = "1.39.2", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "time"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tokio = { version = "1.40.0", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "time"] }
tokio-stream = { version = "0.1.16", features = ["sync"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"], optional = true }
ulid = { version = "1.1.3", features = ["serde"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/subspace-farmer/src/single_disk_farm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ impl SingleDiskFarmInfo {
.create(true)
.truncate(true)
.open(directory.join(Self::FILE_NAME))?;
fs4::FileExt::try_lock_exclusive(&file)?;
fs4::fs_std::FileExt::try_lock_exclusive(&file)?;
file.write_all(&serde_json::to_vec(self).expect("Info serialization never fails; qed"))
}

/// Try to acquire exclusive lock on the single disk farm info file, ensuring no concurrent edits by cooperating
/// processes is done
pub fn try_lock(directory: &Path) -> io::Result<SingleDiskFarmInfoLock> {
let file = File::open(directory.join(Self::FILE_NAME))?;
fs4::FileExt::try_lock_exclusive(&file)?;
fs4::fs_std::FileExt::try_lock_exclusive(&file)?;

Ok(SingleDiskFarmInfoLock { _file: file })
}
Expand Down
8 changes: 4 additions & 4 deletions crates/subspace-malicious-operator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
auto-id-domain-runtime = { version = "0.1.0", path = "../../domains/runtime/auto-id" }
clap = { version = "4.5.15", features = ["derive"] }
clap = { version = "4.5.18", features = ["derive"] }
cross-domain-message-gossip = { version = "0.1.0", path = "../../domains/client/cross-domain-message-gossip" }
domain-client-message-relayer = { version = "0.1.0", path = "../../domains/client/relayer" }
domain-client-operator = { version = "0.1.0", path = "../../domains/client/domain-operator" }
Expand All @@ -31,7 +31,7 @@ evm-domain-runtime = { version = "0.1.0", path = "../../domains/runtime/evm" }
fp-evm = { version = "3.0.0-dev", git = "https://github.com/autonomys/frontier", rev = "f80f9e2bad338f3bf3854b256b3c4edea23e5968" }
frame-system = { default-features = false, git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
futures = "0.3.29"
futures = "0.3.30"
hex-literal = "0.4.1"
log = "0.4.22"
mimalloc = "0.1.43"
Expand Down Expand Up @@ -74,8 +74,8 @@ subspace-proof-of-space = { version = "0.1.0", path = "../subspace-proof-of-spac
subspace-runtime = { version = "0.1.0", path = "../subspace-runtime" }
subspace-runtime-primitives = { version = "0.1.0", path = "../subspace-runtime-primitives" }
subspace-service = { version = "0.1.0", path = "../subspace-service" }
thiserror = "1.0.63"
tokio = "1.39.2"
thiserror = "1.0.64"
tokio = "1.40.0"
rand = "0.8.5"
tracing = "0.1.40"

Expand Down
12 changes: 6 additions & 6 deletions crates/subspace-networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ include = [
async-mutex = "1.4.0"
async-trait = "0.1.83"
backoff = { version = "0.4.0", features = ["futures", "tokio"] }
bytes = "1.7.1"
clap = { version = "4.5.15", features = ["color", "derive"] }
bytes = "1.7.2"
clap = { version = "4.5.18", features = ["color", "derive"] }
derive_more = { version = "1.0.0", features = ["full"] }
either = "1.13.0"
event-listener-primitives = "2.0.1"
# TODO: Switch to fs4 once https://github.com/al8n/fs4-rs/issues/15 is resolved
fs2 = "0.4.3"
futures = "0.3.29"
futures = "0.3.30"
futures-timer = "3.0.3"
hex = "0.4.3"
memmap2 = "0.9.4"
memmap2 = "0.9.5"
nohash-hasher = "0.2.0"
parity-scale-codec = "3.6.12"
parking_lot = "0.12.2"
Expand All @@ -41,8 +41,8 @@ serde = { version = "1.0.110", features = ["derive"] }
serde_json = "1.0.128"
subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primitives" }
subspace-metrics = { version = "0.1.0", path = "../../shared/subspace-metrics" }
thiserror = "1.0.63"
tokio = { version = "1.39.2", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "sync", "time"] }
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "sync", "time"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
unsigned-varint = { version = "0.8.0", features = ["futures", "asynchronous_codec"] }
Expand Down
14 changes: 7 additions & 7 deletions crates/subspace-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
auto-id-domain-runtime = { version = "0.1.0", path = "../../domains/runtime/auto-id" }
bip39 = { version = "2.0.0", features = ["rand"] }
clap = { version = "4.5.15", features = ["derive"] }
clap = { version = "4.5.18", features = ["derive"] }
cross-domain-message-gossip = { version = "0.1.0", path = "../../domains/client/cross-domain-message-gossip" }
dirs = "5.0.1"
domain-client-message-relayer = { version = "0.1.0", path = "../../domains/client/relayer" }
Expand All @@ -36,7 +36,7 @@ fp-evm = { version = "3.0.0-dev", git = "https://github.com/autonomys/frontier",
frame-benchmarking = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42", default-features = false }
frame-benchmarking-cli = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42", default-features = false }
frame-support = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
futures = "0.3.29"
futures = "0.3.30"
hex = "0.4.3"
hex-literal = "0.4.1"
mimalloc = "0.1.43"
Expand Down Expand Up @@ -77,11 +77,11 @@ subspace-runtime = { version = "0.1.0", path = "../subspace-runtime" }
subspace-runtime-primitives = { version = "0.1.0", path = "../subspace-runtime-primitives" }
subspace-service = { version = "0.1.0", path = "../subspace-service" }
substrate-prometheus-endpoint = { git = "https://github.com/subspace/polkadot-sdk", rev = "5871818e1d736f1843eb9078f886290695165c42" }
supports-color = "3.0.0"
tempfile = "3.12.0"
thiserror = "1.0.63"
tokio = { version = "1.39.2", features = ["macros"] }
tokio-stream = { version = "0.1.15" }
supports-color = "3.0.1"
tempfile = "3.13.0"
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["macros"] }
tokio-stream = { version = "0.1.16" }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }

Expand Down
4 changes: 2 additions & 2 deletions crates/subspace-proof-of-time/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ include = [
bench = false

[dependencies]
aes = "0.9.0-pre.1"
aes = "0.9.0-pre.2"
subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primitives", default-features = false }
thiserror = { version = "1.0.63", optional = true }
thiserror = { version = "1.0.64", optional = true }

[dev-dependencies]
core_affinity = "0.8.1"
Expand Down
Loading

0 comments on commit c8b024d

Please sign in to comment.