Repository navigation
build(antd): repin ant-core 0.12.0 (ant-cli-v0.3.10) - #319
Merged
Merged
Conversation
Moves antd from ant-core 0.10.0 (ant-cli-v0.3.8) to the latest release, ahead of the antd release that ships byte-range downloads and the chunk-cache cap. No source changes are needed. The pins that track ant-core's graph move with it: ant-protocol =3.0.0 -> =4.0.0. evmlib (0.10.0) and self_encryption (0.36.0) are unchanged. The lock also moves saorsa-core 0.28.0 -> 0.29.0 and saorsa-transport 0.37.0 -> 0.38.0, and holds a single copy of each. What antd picks up on its native read path: - Early speculative GETs go only to already-connected peers, and discovery has the full fallback allowance while it runs, so a cold download no longer stalls on dead addresses (ant-client 96d63f9). - A holder that discovery offers after that allowance is spent is still read, instead of waiting for discovery to finish (ant-client 630d646). - data_download_range now goes through an internal helper that can use records the caller already holds; antd's calls behave as before. ant-protocol 4.0.0 adds the pointer messages, appended after every existing variant, so older peers reject them cleanly. antd exposes no pointer API. The rest of 0.11 and 0.12 is pointers and browser/WASM fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repins antd from ant-core 0.10.0 (
ant-cli-v0.3.8) to 0.12.0 (ant-cli-v0.3.10, released 2026-10-08), before the antd release that ships byte-range downloads (#313) and the chunk-cache cap (#314). No source changes were needed.This is an interim repin. A later one will pick up single-flight chunk fetches (WithAutonomi/ant-client#218) once that's released.
What changes
antd/Cargo.toml:ant-core: tagant-cli-v0.3.8→ant-cli-v0.3.10.ant-protocol:=3.0.0→=4.0.0, which must match ant-core's own copy exactly.evmlib(0.10.0) andself_encryption(0.36.0) are unchanged; ant-core 0.12.0 still resolves to them.antd/Cargo.lockmoves four crates (ant-core, ant-protocol 4.0.0, saorsa-core 0.29.0, saorsa-transport 0.38.0) and keeps a single copy of each.What antd picks up
ant-client recorded no release notes for 0.3.9 or 0.3.10, so this list comes from the commits.
96d63f9): early speculative GETs go only to peers that are already connected. Peer discovery gets the full fallback allowance while it runs. A cold download no longer burns its early GET slots on dead addresses.630d646): a holder that discovery finds after the early allowance is spent is still read, rather than waiting for discovery to finish.data_download_rangenow goes through an internal helper that can reuse records the caller already holds. antd's calls behave as before.QuoteRequestV2), with their fallback for older nodes, were already in 0.10.0.The rest of 0.11 and 0.12 is pointers and browser/WASM fixes.
Test evidence
Unit tests: antd passes 113 tests, and
fmtandclippy --all-targets -D warningsare clean.Devnet, 4.5 GiB: a 25-node devnet on ant-node 0.22.0, the release that pairs with ant-core 0.12.0 (the earlier runs used 0.20.0). The daemon is a release build of this branch (
build_commit00b94aa), so it includes #313–#317 and the #314 cache cap at its default of 64. The object is 4,831,850,553 bytes. ALL PASS, and antd logged no ERROR or WARN lines.bytes */size, and gRPCOUT_OF_RANGEcarries the size (the run requires it).RangeNotSatisfiable { size: Some(4831850553) }.Compared with the same check on 0.10.0 and ant-node 0.20.0 with the cache cap:
bytes=0-The upload was about 13% slower. Each figure is a single run on one box, and the node version changed as well as the client. Two earlier 0.10.0 runs took 6m42s and 6m28s.
🤖 Generated with Claude Code