Skip to content

St v0.2.2 - #11

Merged
stringhandler merged 3 commits into
mainfrom
st-v0.2.2
Sep 9, 2026
Merged

stringhandler merged 3 commits into
mainfrom
st-v0.2.2

Conversation

@stringhandler

Copy link
Copy Markdown
Owner

No description provided.

@stringhandler
stringhandler merged commit 5e5133f into main Sep 9, 2026
3 checks passed
stringhandler added a commit that referenced this pull request Oct 5, 2026
main moved five commits since this branch was cut, chiefly #11, which ran
rustfmt across the crate. Ten files conflicted, lifecycle.rs with 22 hunks, but
after rustfmt is applied to the merge base, main's semantic changes to the
conflicting files come to two:

- lifecycle.rs: amount_uses_fee_keyword becomes pub(crate), for validate
- validate.rs: the "nowhere for an L-BTC surplus to go" check, its helper
  lbtc_surplus_has_a_home, and its tests

Resolution: this branch's side of each conflicted file, those two changes ported
onto it, then rustfmt on the resolved files so main's formatting is kept rather
than undone. The ported tests' fixture now says manifest_version 0.3.0, which
this branch requires. CHANGELOG keeps both: [Unreleased] from this branch, then
main's [0.2.1]. lib.rs keeps this branch's module list (rustfmt not run on it,
since that would recurse into every module).

Verified: cargo test --workspace --locked passes (272 lib tests: this branch's
260 plus main's 12); the signet covenant Unlock still builds, satisfies and
signs.

Not fixed here: main's new surplus check fails examples/deadcat and
examples/deadcat_v2, on main alone as well -- no test validates the examples.
stringhandler added a commit that referenced this pull request Oct 5, 2026
main moved five commits since this branch was cut, chiefly #11, which ran
rustfmt across the crate. Ten files conflicted, lifecycle.rs with 22 hunks, but
after rustfmt is applied to the merge base, main's semantic changes to the
conflicting files come to two:

- lifecycle.rs: amount_uses_fee_keyword becomes pub(crate), for validate
- validate.rs: the "nowhere for an L-BTC surplus to go" check, its helper
  lbtc_surplus_has_a_home, and its tests

Resolution: this branch's side of each conflicted file, those two changes ported
onto it, then rustfmt on the resolved files so main's formatting is kept rather
than undone. The ported tests' fixture now says manifest_version 0.3.0, which
this branch requires. CHANGELOG keeps both: [Unreleased] from this branch, then
main's [0.2.1]. lib.rs keeps this branch's module list (rustfmt not run on it,
since that would recurse into every module).

Verified: cargo test --workspace --locked passes (272 lib tests: this branch's
260 plus main's 12); the signet covenant Unlock still builds, satisfies and
signs.

Not fixed here: main's new surplus check fails examples/deadcat and
examples/deadcat_v2, on main alone as well -- no test validates the examples.
stringhandler added a commit that referenced this pull request Oct 5, 2026
main moved five commits since this branch was cut, chiefly #11, which ran
rustfmt across the crate. Ten files conflicted, lifecycle.rs with 22 hunks, but
after rustfmt is applied to the merge base, main's semantic changes to the
conflicting files come to two:

- lifecycle.rs: amount_uses_fee_keyword becomes pub(crate), for validate
- validate.rs: the "nowhere for an L-BTC surplus to go" check, its helper
  lbtc_surplus_has_a_home, and its tests

Resolution: this branch's side of each conflicted file, those two changes ported
onto it, then rustfmt on the resolved files so main's formatting is kept rather
than undone. The ported tests' fixture now says manifest_version 0.3.0, which
this branch requires. CHANGELOG keeps both: [Unreleased] from this branch, then
main's [0.2.1]. lib.rs keeps this branch's module list (rustfmt not run on it,
since that would recurse into every module).

Verified: cargo test --workspace --locked passes (272 lib tests: this branch's
260 plus main's 12); the signet covenant Unlock still builds, satisfies and
signs.

Not fixed here: main's new surplus check fails examples/deadcat and
examples/deadcat_v2, on main alone as well -- no test validates the examples.
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