Skip to content
Closed
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
826 changes: 400 additions & 426 deletions Cargo.lock

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
[workspace]
members = ["ant-core", "ant-cli"]
resolver = "2"
# ─── TEMPORARY: STRIP BEFORE MERGE — ADR-0004/0005 coordinated cutover ───
# The ADR-0004 commitment-bound-quote types and the ADR-0005 audit-report wire
# types are not yet published to crates.io, so this workspace pins them to
# immutable PR revs (never a mutable branch) so the build is reproducible; the
# committed Cargo.lock records the exact resolution.
#
# AT RELEASE (once the ADR-0004/0005 versions are published, in order
# evmlib → ant-protocol):
# 1. delete this entire [patch.crates-io] block, AND
# 2. bump the `ant-protocol` pin in ant-core/Cargo.toml to the published
# version (evmlib is re-exported through ant-protocol, no direct pin):
# ant-protocol = "3.0.0" # <- published ADR-0005 ant-protocol (major: wire change)
[patch.crates-io]
evmlib = { git = "https://github.com/WithAutonomi/evmlib", branch = "adr-0003-signed-quote-fields" }
# ADR-0005 audit-report wire types (github.com/WithAutonomi/ant-protocol/pull/19),
# pinned to the immutable PR rev.
ant-protocol = { git = "https://github.com/grumbach/ant-protocol", rev = "2015113270bbde8204a1740674bed2ada52d2ca6" }
17 changes: 11 additions & 6 deletions ant-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tower-http = { version = "0.6.8", features = ["cors"] }
# under `ant_protocol::{evm, transport, pqc}`. This is the ONE pin for
# those three deps — do not add direct evmlib/saorsa-core/saorsa-pqc
# deps here or the version can skew between ant-client and ant-node.
ant-protocol = "2.3.0"
ant-protocol = "3.0.0"
xor_name = "5"
self_encryption = "0.36"
futures = "0.3"
Expand All @@ -62,10 +62,10 @@ sysinfo = { version = "0.32", default-features = false, features = ["system"] }
# `ant-protocol` pin above — a version skew pulls a second copy of
# `saorsa-core` into the graph and makes `ant_node`'s and `ant_protocol`'s
# `MultiAddr` mutually incompatible in `node/devnet.rs`. While the runtime
# `ant-protocol` pin above points at a released version, this ant-node must
# track the matching released version carrying the same saorsa-core /
# ant-protocol lineage.
ant-node = { version = "0.14.3", optional = true }
# `ant-protocol` pin above points at an immutable git rev, so this ant-node must
# point at the matching ADR-0005 ant-node PR rev carrying the same saorsa-core /
# ant-protocol lineage rather than a released version.
ant-node = { git = "https://github.com/grumbach/ant-node", rev = "111320385aa5a4eb8d90a19c13e63a7aaf172af4", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[target.'cfg(unix)'.dependencies]
Expand Down Expand Up @@ -96,7 +96,12 @@ test-utils = []
# always compile even without the `devnet` feature. Pinned to the same
# version as the runtime dep so there is a single ant-node /
# saorsa-core version across the whole graph.
ant-node = { version = "0.14.3", features = ["test-utils"] }
# `ant-protocol` pin above points at an immutable git rev, so this ant-node must
# point at the matching ADR-0005 ant-node PR rev carrying the same saorsa-core /
# ant-protocol lineage rather than a released version. The dev-dep enables
# `test-utils` so the e2e/integration suite can reach the node's test-only
# payment-verifier helpers.
ant-node = { git = "https://github.com/grumbach/ant-node", rev = "111320385aa5a4eb8d90a19c13e63a7aaf172af4", features = ["test-utils"] }
serial_test = "3"
anyhow = "1"
alloy = { version = "1.6", features = ["node-bindings"] }
Expand Down
2 changes: 2 additions & 0 deletions ant-core/examples/bench-quoting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ async fn bench_normal_once(client: &Client, rep: usize) -> Rep {
address,
data_size: 1024,
data_type: 0,
report_nonce: [0u8; 32],
}),
};
let bytes = match msg.encode() {
Expand Down Expand Up @@ -509,6 +510,7 @@ async fn bench_merkle_once(client: &Client, rep: usize, concurrency: usize) -> R
data_type: 0,
data_size: 1024,
merkle_payment_timestamp,
report_nonce: [0u8; 32],
}),
};
let bytes = match msg.encode() {
Expand Down
Loading
Loading