Skip to content

0.9.0-beta.11: bsv-rs =0.9.0-beta.12; the doubts, the tenth word, the record of a conflict, the measured length - #75

Merged
Calgooon merged 2 commits into
betafrom
lane/trk-release
Nov 29, 2026
Merged

Calgooon merged 2 commits into
betafrom
lane/trk-release

Conversation

@Calgooon

@Calgooon Calgooon commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

A host of the published 0.9.0-beta.10 gets the doubts and the effective depth (for #51), the tenth word handed (for #56), the record of a conflict behind Params::recheck_conflicted (for #47) and the measured length (BRC-237, GHSA-jjhc-7hvh-c3hm), on bsv-rs =0.9.0-beta.12. What it must change is the Hosts paragraph of CHANGELOG.md's 0.9.0-beta.11 section, read from top to bottom: each Params literal, each exhaustive match on Word and on CheckError, every call that builds a Proof, each call of Tracker::restore; and three changes of meaning no compiler names (a wildcard arm reading handed, the refusal of a transaction offered as its own competitor, State's equality). For #51, #56 and #47.

The pin

  • Cargo.toml: bsv-rs = { version = "=0.9.0-beta.12", ... } (was =0.9.0-beta.10). crates.io's newest prerelease, not yanked: 0.9.0-beta.12 (2026-11-29T09:29:17Z).
  • The lock: one row moved, bsv-rs 0.9.0-beta.10 to 0.9.0-beta.12 and its checksum (185a0622...ae20); its dependency list is unchanged and no other crate's version moved (cargo update -p bsv-rs --precise 0.9.0-beta.12: Updating bsv-rs v0.9.0-beta.10 -> v0.9.0-beta.12, nothing else).
  • The crate against its tag: the registry copy's .cargo_vcs_info.json sha1 0eaf056e388e07a8b38d491945352a04686b1c8f; git ls-remote --tags https://github.com/Calhooon/bsv-rs 'v0.9.0-beta.12*': 0eaf056e388e07a8b38d491945352a04686b1c8f refs/tags/v0.9.0-beta.12^{}. They agree.
  • What it brings, in the key library's published words, cut short. 0.9.0-beta.11: "a transaction of the 64-byte length that collides with a merkle inner node is never taken as proven by its path; it is judged as an unproven transaction at every proof door (CVE-2017-12842)" (GHSA-jjhc-7hvh-c3hm), with the script chunk walkers' bound (GHSA-f2rq-878r-pgxv), the identity badge (GHSA-pfv3-7r7f-mhgh) and the P-256 tag 05 (GHSA-mp9c-g2q9-q3qw); "Breaking since beta.10. None." 0.9.0-beta.12: "the 64-byte merkle-ambiguity residue: the false claim is refused again, and the public proof words and the link door answer through the rule" (GHSA-3h6g-mj4h-rw57); "Breaking since beta.11. None." Both release pages name GHSA-82g9-h6jw-r99f as open on the line (Transaction::from_ef, from_hex_ef).
  • Which of this crate's doors sit under it: none. The crate names MerklePath (new, new_unchecked, compute_root, from_coinbase_txid; from_hex in a test), MerklePathLeaf and sha256d: src/evidence.rs:203 (Proof::new), :232 (with_stated_len), :249 (record), :287 (root, compute_root), :297 (bind, new_unchecked and compute_root), :47 (digest, sha256d), and the compact form's reader src/compact.rs:595 (path, building a MerklePath by fields). bsv-rs's src/transaction/merkle_path.rs and src/primitives/hash.rs are byte for byte the same in 0.9.0-beta.10 and 0.9.0-beta.12 (diff: 0 lines). The files the two prereleases changed (beef*, beef_stream*, beef_tx*, verify.rs, proof_ambiguity.rs, script/, identity/, kvstore/, p256.rs) hold no item this crate calls: it calls no BEEF reader, no Transaction::verify, no script parser and no from_ef.
  • No test changed its name or its answer across the pin: cargo test --locked 296 passed, 0 failed at the base 5ed21e56 and at the pin 63bd8f0; cargo test --locked -- --list identical (296 names); every test ... ok line identical. After the texts commit the same holds (the doc comments of src/evidence.rs were rewrapped so no doc test moves its line). This crate's rule for a transaction of exactly 64 bytes, which it measures itself, answers the same: tests/proof_length.rs constructors_by_length and brc237_t64_is_never_proven, tests/measure.rs a_state_measured_at_64_refuses_every_proof and a_measure_of_64_on_a_tracked_mined_word_returns_the_fault_and_moves_the_indexes, tests/length_properties.rs ambiguous_never_mined, tests/compact_golden.rs measured_at_64, and the doc test of Proof::new (src/evidence.rs, line 186): each ok before and after.

The fold

  • One section, ## [0.9.0-beta.11] - 2026-11-29, with one Hosts paragraph of eleven items, then Added, Changed, Tests, Documents as one list each; ## [Unreleased] stays as an empty heading. A script in the lane's scratch took every backticked item of both old sections: 570 distinct, 570 in the new section, 0 missing; the four code blocks kept verbatim, 0 missing.
  • The four sentences:
    1. Old: "Every break below stops compiling; none changes meaning in silence." New: "Every compile break below is named by the host's compiler. Three items change an answer with no compile error, and a host reads its code for each of them, since no compiler names them: a wildcard arm, or a rule that reads a word by its text, reads handed as whatever it says once the host feeds HostAction::HandOver (items 3 and 4); a transaction offered as its own competitor is refused where 0.9.0-beta.10 wrote conflicted (item 10); and State's equality compares the measured length, the list of instances, the record and the prior word (item 11)."
    2. Old: "and every competitor proof is built from bytes." New: "and the eight competitor proofs of the tests that came before the length rule are built from bytes." (The wider sentence is not grounded: the_competitor_door builds a stated competitor proof on purpose, to pin its refusal.)
    3. docs/SPEC.md. Old: "so a host chooses once, in the parameters every entry point already carries (State::step, Tracker::apply, Tracker::on_chain)." New: "so a host chooses once, in its Params: State::step takes them as its argument, and Tracker::apply and Tracker::on_chain take none, since the tracker holds the Params it was given by Tracker::new, which is where a host of the tracker picks the mode."
    4. Old (the beta.11 Hosts, item (4)): "State, Tracker, ChainEvent, decode_envelope, every serde form and the compact bytes are as at 0.9.0-beta.10 (tests/compact_golden.rs untouched)." New: "they move no serde form of State, Tracker, ChainEvent or decode_envelope, and no compact byte (the compact form's version 2 is the tenth word's and the record's, item 8)." Two sentences of the same kind in the doubts' Added bullets are mended too ("the decoder and tests/compact_golden.rs are untouched"; "stays at version 1").
  • Added to the Hosts item on version 2: what this release's reader refuses (every version but 1 and 2, CompactError::UnknownVersion, and the fields listed under "Refused in the compact form"). Added under Changed: the pin's line, with the advisories' ids.

The version strings

Where String Which
README.md:3, :19 0.9.0-beta.11 this release
README.md:4 bsv-rs =0.9.0-beta.12 (was =0.9.0-beta.10) bsv-rs, the pin
README.md:5 0.8.0; bsv-rs 0.8.0 published (this crate's stable); bsv-rs published
README.md:33, :126 0.5.0 published
README.md:128, :330; docs/SPEC.md:29 0.7.0 published
src/hints.rs:194, :287 0.4.1 published
src/hints.rs:7 0.9.0-beta.9 (was "before 0.9.0", unpublished) published
src/evidence.rs:64, src/state.rs:43, tests/compact_golden.rs:875 0.9.0-beta.10 published
tests/compact_golden.rs:498 "up to and including 0.9.0-beta.10" (was "up to 0.9.0-beta.11", which writes version 2) published
src/events.rs (ten lines) chaintracks-cloudflare@v0.4.1 another repository's tag, a source citation
docs/VERIFICATION.md bsv-tracker v0.1.0, bsv-rs v0.3.35 and third-party crates in quoted cargo output published; run records
docs/DOUBTS.md none

The key library's rule is cited, on every page that names it (README, SPEC, VERIFICATION, src/evidence.rs), as BRC-237's condition for an anchor and its published advisories GHSA-jjhc-7hvh-c3hm and GHSA-3h6g-mj4h-rw57.

The proof

$ cargo fmt --all -- --check
(no output, rc=0)
$ cargo clippy --locked --all-targets -- -D warnings
    Checking bsv-tracker v0.9.0-beta.11
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.98s
$ cargo test --locked
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
total: 296 passed, 0 failed, 0 ignored (base 5ed21e56: 296 passed, 0 failed, 0 ignored)
$ RUSTDOCFLAGS=-Dwarnings cargo doc --locked --no-deps
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s
   Generated .../doc/bsv_tracker/index.html
$ cargo build --locked --target wasm32-unknown-unknown --features wasm
   Compiling bsv-tracker v0.9.0-beta.11
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.24s
$ cargo +1.88 check --locked --all-targets
    Checking bsv-tracker v0.9.0-beta.11
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.06s
$ cargo deny --locked check bans licenses sources
bans ok, licenses ok, sources ok
$ git diff --stat origin/beta
 CHANGELOG.md            | 134 +++++++++++++++++++-----------------------------
 Cargo.lock              |   4 +-
 Cargo.toml              |   2 +-
 README.md               |   4 +-
 docs/SPEC.md            |   4 +-
 docs/VERIFICATION.md    |   2 +-
 src/evidence.rs         |  10 ++--
 src/hints.rs            |   2 +-
 tests/compact_golden.rs |   4 +-
 9 files changed, 68 insertions(+), 98 deletions(-)

journals_reproduce_the_states_after_every_row prints its SKIPPED line, as on CI (the journals are private and were not read).

Rows left

  • Params by literal in the CLI. bsv-wallet-cli's src/tracker_host.rs builds Params by literal (two sites) and pins =0.9.0-beta.10; its next pin of this crate meets every item of the Hosts paragraph. Its own lane.
  • GHSA-82g9-h6jw-r99f, open on the key library's line. Transaction::from_ef / from_hex_ef; this crate does not call them, and no patched prerelease is on the line. The next pin reads it again.
  • The Hosts paragraph is long. Eleven items and four code blocks in one heading; a host page of its own (docs/HOSTS.md) could carry it with the changelog pointing at it. A documents lane.

Landing

The landing and the tag are the captain's. This pull request changes no version: Cargo.toml already reads 0.9.0-beta.11.

🤖 Generated with Claude Code

Calgooon and others added 2 commits November 29, 2026 04:58
… its residue)

The requirement moves from =0.9.0-beta.10 to =0.9.0-beta.12, the newest
prerelease of the key library on crates.io, and the lock's bsv-rs row with
it (version and checksum); no other crate's version moves. The two
prereleases carry the fixes of the published advisories GHSA-jjhc-7hvh-c3hm
and GHSA-3h6g-mj4h-rw57. The items this crate calls (MerklePath and
sha256d) are unchanged across the pin, and every test keeps its name and
its answer (296 passed before and after).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… true of the release

The changelog's Unreleased account (the tenth word for #56, the record of a
conflict for #47, the measured length) and the never-tagged 0.9.0-beta.11
section (the doubts and the effective depth for #51) become one section,
0.9.0-beta.11 dated 2026-11-29, with one Hosts paragraph a host of the
published 0.9.0-beta.10 follows from top to bottom, then Added, Changed,
Tests and Documents as one list each; Unreleased stays as an empty heading.
Every backticked item and every code block of both old sections is in the
new one. Four sentences are mended in the fold: the Hosts opening names
every compile break and the three changes of meaning no compiler names;
the competitor proofs built from bytes are counted again (eight) where
"every" was not grounded; the claim that the compact bytes are as at
0.9.0-beta.10 does not survive (this release writes version 2); and
Changed gains the pin of the key library in its published words with the
advisories' ids.

docs/SPEC.md: Tracker::apply and Tracker::on_chain take no parameters; the
tracker holds the Params given to Tracker::new, where a host picks the
mode. README names bsv-rs =0.9.0-beta.12; the sentences on the key
library's rule cite both published advisories (README, SPEC, VERIFICATION
and two doc comments of src/evidence.rs, rewrapped so no doc test moves its
line). A comment of tests/compact_golden.rs said the version 1 bytes were
written up to 0.9.0-beta.11, which writes version 2: up to and including
0.9.0-beta.10. A comment of src/hints.rs named the unpublished 0.9.0: the
room was made at 0.9.0-beta.9. No line of behaviour moves; every test keeps
its name and its answer (296 passed, as at the base).

For #51, #56 and #47.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Calgooon
Calgooon merged commit c5fbc52 into beta Nov 29, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant