Repository navigation
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
Merged
Conversation
… 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>
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.
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 behindParams::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 ofCHANGELOG.md's 0.9.0-beta.11 section, read from top to bottom: eachParamsliteral, each exhaustive match onWordand onCheckError, every call that builds aProof, each call ofTracker::restore; and three changes of meaning no compiler names (a wildcard arm readinghanded, 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).bsv-rs0.9.0-beta.10to0.9.0-beta.12and 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)..cargo_vcs_info.jsonsha10eaf056e388e07a8b38d491945352a04686b1c8f;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.Transaction::from_ef,from_hex_ef).MerklePath(new,new_unchecked,compute_root,from_coinbase_txid;from_hexin a test),MerklePathLeafandsha256d:src/evidence.rs:203(Proof::new),:232(with_stated_len),:249(record),:287(root,compute_root),:297(bind,new_uncheckedandcompute_root),:47(digest,sha256d), and the compact form's readersrc/compact.rs:595(path, building aMerklePathby fields). bsv-rs'ssrc/transaction/merkle_path.rsandsrc/primitives/hash.rsare 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, noTransaction::verify, no script parser and nofrom_ef.cargo test --locked296 passed, 0 failed at the base5ed21e56and at the pin63bd8f0;cargo test --locked -- --listidentical (296 names); everytest ... okline identical. After the texts commit the same holds (the doc comments ofsrc/evidence.rswere 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.rsconstructors_by_lengthandbrc237_t64_is_never_proven,tests/measure.rsa_state_measured_at_64_refuses_every_proofanda_measure_of_64_on_a_tracked_mined_word_returns_the_fault_and_moves_the_indexes,tests/length_properties.rsambiguous_never_mined,tests/compact_golden.rsmeasured_at_64, and the doc test ofProof::new(src/evidence.rs, line 186): each ok before and after.The fold
## [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.handedas whatever it says once the host feedsHostAction::HandOver(items 3 and 4); a transaction offered as its own competitor is refused where 0.9.0-beta.10 wroteconflicted(item 10); andState's equality compares the measured length, the list of instances, the record and the prior word (item 11)."the_competitor_doorbuilds a stated competitor proof on purpose, to pin its refusal.)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 itsParams:State::steptakes them as its argument, andTracker::applyandTracker::on_chaintake none, since the tracker holds theParamsit was given byTracker::new, which is where a host of the tracker picks the mode."State,Tracker,ChainEvent,decode_envelope, every serde form and the compact bytes are as at 0.9.0-beta.10 (tests/compact_golden.rsuntouched)." New: "they move no serde form ofState,Tracker,ChainEventordecode_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 andtests/compact_golden.rsare untouched"; "stays at version 1").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
README.md:3,:19README.md:4README.md:5README.md:33,:126README.md:128,:330;docs/SPEC.md:29src/hints.rs:194,:287src/hints.rs:7src/evidence.rs:64,src/state.rs:43,tests/compact_golden.rs:875tests/compact_golden.rs:498src/events.rs(ten lines)docs/VERIFICATION.mddocs/DOUBTS.mdThe 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
journals_reproduce_the_states_after_every_rowprints itsSKIPPEDline, as on CI (the journals are private and were not read).Rows left
Paramsby literal in the CLI. bsv-wallet-cli'ssrc/tracker_host.rsbuildsParamsby 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.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.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.tomlalready reads 0.9.0-beta.11.🤖 Generated with Claude Code