Skip to content

chore: remove boltz swap leftovers - #231

Merged
ovitrif merged 1 commit into
masterfrom
chore/remove-boltz-leftovers
Dec 1, 2026
Merged

ovitrif merged 1 commit into
masterfrom
chore/remove-boltz-leftovers

Conversation

@ovitrif

@ovitrif ovitrif commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Refs:

This PR removes the last mentions of the Boltz module, which #190 deleted.

Description

  • Rewords the pubky swaps key docs (keys.rs and the module README) to say the keys never collide with the seed's other keys, BIP85 ones included, instead of naming the removed Boltz module.
  • No changelog line: docs only.

Preview

N/A

QA Notes

Manual Tests

N/A — comments and README only.

Automated Checks

N/A

Models used

  • Planning/scoping: Claude Opus 5.5 (reasoning: medium)
  • Implementation: Claude Opus 5.5 (reasoning: medium)
  • Review: Gemini 4 Neon (reasoning: high)
  • Review rounds: 1

The Boltz module is gone, so the pubky swaps key docs no longer name it: the keys never collide with the seed's other keys, BIP85 ones included.

Verified: none (comment and README only)
@ovitrif ovitrif self-assigned this Dec 1, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T17:04:47.304161Z 325b1d6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ovitrif
ovitrif requested review from a team, ben-kaufman and piotr-iohk and removed request for a team December 1, 2026 16:48

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings. Rewords the pubky swaps key docs so they no longer name the removed Boltz module. Reviewed 325b1d6, light tier.

What I checked, and 2 candidates I ruled out

Read: src/modules/pubky_swaps/keys.rs and the module README at the head
CI: the checks that finished are green; the bindgen and usdt jobs were still running, and a comment change cannot affect them

Ruled out

  • The new claim overstates the separation: every key is HMAC-SHA512 keyed by the BIP39 seed over its own bitkit/pubky-swaps/... domain, while BIP85 runs HMAC-SHA512 under the key bip-entropy-from-k over a BIP32-derived child key, so the inputs never coincide.
  • Other Boltz mentions left: the rest are the CHANGELOG.md history and tests/init_db.rs, which keeps an existing boltz.db on purpose.

Merge confidence: 5/5, comments and README only.

Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the run's metadata does not record it)

@piotr-iohk piotr-iohk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA review

Scope: full PR diff against its merge base, at 325b1d6.

No new actionable code findings.

Both edits only reword documentation (src/modules/pubky_swaps/keys.rs module doc comment and src/modules/pubky_swaps/README.md) to stop naming the removed Boltz module. The updated claim matches the HMAC-SHA512(seed, domain || suffix) domain separation implemented in keys.rs, and a repository-wide search confirms the only remaining boltz references are historical CHANGELOG.md entries and the intentional tests/init_db.rs regression test that keeps a legacy boltz.db untouched. No executable code, UniFFI exports, or platform bindings changed, and reconciliation of existing PR reviews and comments found no open concerns.

Validation: rustfmt --edition 2021 --check passed locally on src/modules/pubky_swaps/keys.rs. Local cargo test could not compile here because the environment provides Rust 1.83.0 while the crate requires Rust 1.91 (edition2024 in iroh-relay 1.4.1). On CI for 325b1d6, usdt-tests (cargo fmt --check and cargo clippy --locked --lib --tests, compiling the full crate) and Scripts, Cargo, and Android manifests passed. No additional automated tests or downstream app checks are needed for this documentation-only change.

Reviewer model: gemini-4-neon
Reasoning effort: high

@ovitrif

ovitrif commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator Author

Merged: approved by @piotr-iohk, checks green, no open threads. Docs only, so it ships with the next bitkit-core release; no release candidate for it.

@ovitrif
ovitrif merged commit 0fe8f3a into master Dec 1, 2026
9 checks passed
@ovitrif
ovitrif deleted the chore/remove-boltz-leftovers branch December 1, 2026 18:29
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.

3 participants