Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 48 additions & 48 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 11 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ path = "src/bin/ant-devnet/main.rs"
# Until then, the git pin tracks the matching saorsa-core lineage
# (the rc-2026.4.2 branch) so Cargo can unify the wire types here
# with ant-protocol's re-exports.
Comment on lines 34 to 35
ant-protocol = "2.0.3"
ant-protocol = { git = "https://github.com/WithAutonomi/ant-protocol", branch = "main" }

# Core (provides EVERYTHING: networking, DHT, security, trust, storage)
saorsa-core = "0.24.2"
saorsa-core = { git = "https://github.com/saorsa-labs/saorsa-core", branch = "fix/stability-improvements" }
saorsa-pqc = "0.5"

# Payment verification - autonomi network lookup + EVM payment
Expand Down Expand Up @@ -171,23 +171,14 @@ cognitive_complexity = "allow"
# Allow non-const functions during initial development (may need runtime features later)
missing_const_for_fn = "allow"

# Pin ant-protocol to the perf/chunk-put-bytes branch so ChunkPutRequest's
# `content` field is `Bytes` (not `Vec<u8>`). The storage handler reads the
# field but holds it as a slice / converts to Vec at the boundary, so the
# wire-level type swap is transparent to existing logic.
# Remove once https://github.com/WithAutonomi/ant-protocol/pull/6 lands and a
# crates.io release containing it is published.
# Pin ant-protocol to the WithAutonomi `fix/stability-improvements` branch
# until a crates.io release containing the matching stability fixes is
# published.
#
# Two patch tables are needed:
# * `[patch.crates-io]` overrides ant-protocol on `main`, which consumes
# from crates.io.
# * `[patch."https://github.com/WithAutonomi/ant-protocol"]` overrides it
# on testnet branches where saorsa-core / saorsa-transport pin
# ant-protocol to a WithAutonomi git branch.
# Whichever table doesn't match the active resolution path emits a benign
# "patch not used in the crate graph" warning.
# `[patch.crates-io]` overrides ant-protocol/saorsa-core where transitive deps
# (e.g. evmlib, saorsa-transport) pull them from crates.io, so they unify
# with our direct git branch pins instead of producing two versions in the
# graph (which would split `MultiAddr` / DHT types).
[patch.crates-io]
ant-protocol = { git = "https://github.com/jacderida/ant-protocol.git", rev = "4aac7d35b69a5d0906a6f2acd5d1d0beb52dcbb8" }

[patch."https://github.com/WithAutonomi/ant-protocol"]
ant-protocol = { git = "https://github.com/jacderida/ant-protocol.git", rev = "4aac7d35b69a5d0906a6f2acd5d1d0beb52dcbb8" }
ant-protocol = { git = "https://github.com/WithAutonomi/ant-protocol", branch = "main" }
saorsa-core = { git = "https://github.com/saorsa-labs/saorsa-core", branch = "fix/stability-improvements" }
1 change: 1 addition & 0 deletions src/devnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ impl Devnet {
topic,
source: Some(source),
data,
..
} = event
{
if topic == CHUNK_PROTOCOL_ID {
Expand Down
1 change: 1 addition & 0 deletions src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,7 @@ impl RunningNode {
topic,
source: Some(source),
data,
..
} = event
{
let handler_info: Option<(&str, &str)> = if topic == CHUNK_PROTOCOL_ID {
Expand Down
1 change: 1 addition & 0 deletions src/replication/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ impl ReplicationEngine {
topic,
source: Some(source),
data,
..
} = event {
// Determine if this is a replication message
// and whether it arrived via the /rr/ request-response
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,7 @@ impl TestNetwork {
topic,
source: Some(source),
data,
..
} = event
{
if topic == CHUNK_PROTOCOL_ID {
Expand Down
Loading