Skip to content

tests: Match Core initializer signature - #117

Open
BenWestgate wants to merge 1 commit into
reviewability-v1from
codex/38-core-stub-signature
Open

BenWestgate wants to merge 1 commit into
reviewability-v1from
codex/38-core-stub-signature

Conversation

@BenWestgate

Copy link
Copy Markdown
Owner

Refs #38.

The prior dead-code cleanup removed the unused fake state but left its obsolete private= keyword in _FakeBitcoinCore.initialize. Production BitcoinCore.initialize does not accept that keyword. Remove the one parameter so future accidental calls fail in CLI tests instead of only against real Core.

Verification: 232 CLI tests passed on this branch; git diff --check passes. No runtime code changed.

AI assistance was used to find and prepare this one-line test correction. Human review remains with the maintainer.

@BenWestgate BenWestgate added area: ci Continuous integration and workflow configuration. area: wallet/core Wallet integration and Bitcoin Core boundaries. gate: adversarial review Resolve, merge, or explicitly defer before the next full adversarial review. labels Oct 4, 2026
The CLI fake still accepted an obsolete private keyword after the earlier cleanup. Remove it so a production call using that unsupported argument cannot pass the fake and fail only against real Bitcoin Core. Refs #38.
@BenWestgate
BenWestgate force-pushed the codex/38-core-stub-signature branch from 90b9efe to 6fc7e68 Compare October 4, 2026 06:59
@BenWestgate
BenWestgate marked this pull request as draft October 4, 2026 07:00

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

AI-generated review (Codex), posted at the maintainer's request.

ACK 6fc7e68. The test fake now matches the actual initializer signature.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 6fc7e68b83

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@BenWestgate
BenWestgate marked this pull request as ready for review October 4, 2026 22:20

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci Continuous integration and workflow configuration. area: wallet/core Wallet integration and Bitcoin Core boundaries. gate: adversarial review Resolve, merge, or explicitly defer before the next full adversarial review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants