All notable changes to ant-protocol will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- ADR-0004 (commitment-bound quote pricing): verify the new signed
commitment fields (
committed_key_count,commitment_pin) on single-node and merkle quote types; centraliseStorageCommitment,commitment_hash, sidecar handling, and the sharedcalculate_price. Requiresevmlib0.9.0. Breaking wire change — part of the coordinated ADR-0004 cutover (evmlib → ant-protocol → ant-node/ant-client).
First release of the 2.x series. Not wire-compatible with previous
1.x releases published from a different repository under the same
crate name.
chunk— chunk protocol messages (ChunkMessage,ChunkPutRequest/Response,ChunkGetRequest/Response,ChunkQuoteRequest/Response,MerkleCandidateQuoteRequest/Response), protocol constants (CHUNK_PROTOCOL_ID,PROTOCOL_VERSION,MAX_CHUNK_SIZE,MAX_WIRE_MESSAGE_SIZE,DATA_TYPE_CHUNK,CLOSE_GROUP_SIZE,CLOSE_GROUP_MAJORITY,XORNAME_LEN),ProtocolError, and payment proof tag bytes (PROOF_TAG_SINGLE_NODE,PROOF_TAG_MERKLE).data_types— address helpers (compute_address,xor_distance,peer_id_to_xor_name) and theDataChunkcontainer.chunk_protocol::send_and_await_chunk_response— subscribe/send/poll helper for chunk-protocol request/response exchanges over asaorsa-core::P2PNode.payment::SingleNodePaymentwithpay(on-chain payment) andverify(on-chain verification) methods.verifyrejects proofs whose median quote has zero price or zero paid amount.payment::proof—PaymentProof,ProofType, and theserialize_single_node_proof/serialize_merkle_proof/deserialize_proof/deserialize_merkle_proof/detect_proof_typehelpers.payment::verify— ML-DSA-65 signature verification (verify_quote_content,verify_quote_signature,verify_merkle_candidate_signature).devnet_manifest—DevnetManifestandDevnetEvmInfoPOJOs for the devnet on-disk handoff file.- Transitive-dep re-export modules
evm,transport,pqcso downstream crates can consumeevmlib,saorsa-core, andsaorsa-pqcthrough a single version pin.
ChunkMessageBody,ChunkPutResponse,ChunkGetResponse,ChunkQuoteResponse,MerkleCandidateQuoteResponse,ProofType,ProtocolError, andErrorare#[non_exhaustive].ChunkMessage::decoderejects inputs larger thanMAX_WIRE_MESSAGE_SIZEbefore deserialization.chunk_protocol::send_and_await_chunk_responseusesInstant::checked_addon the deadline to avoid panicking on out-of-range durations.