Skip to content

tests: update simulator and BTC vectors for v9.27.1 - #185

Open
benma-agent wants to merge 2 commits into
BitBoxSwiss:masterfrom
benma-agent:benma-agent/simulator-v9.27.1
Open

tests: update simulator and BTC vectors for v9.27.1#185
benma-agent wants to merge 2 commits into
BitBoxSwiss:masterfrom
benma-agent:benma-agent/simulator-v9.27.1

Conversation

@benma-agent

@benma-agent benma-agent commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Add the v9.27.1 simulator to the test matrix and refresh the shared BTC signing vectors from
bitbox02-firmware commit 82375e144984adacc58083b64b9f9ce30cf27853.
The vectors update locktime screen expectations, add timestamp-locktime coverage, and include
payment-request memo screens starting with firmware v9.27.2. Historical screen expectations are preserved.

The simulator SHA-256 matches the published release digest, and the vectors are copied byte for byte.

BitBoxSync is disabled in this release build. Its simulator tests now skip on the specific firmware
disabled error (106), while retaining failures for other errors and the existing older-version checks.

Validation:

  • go test -count=1 ./api/firmware: all BTC signing vectors passed across all 11 simulators; the only failures were the two BitBoxSync tests subsequently adjusted here.
  • go test -count=1 ./api/firmware -run '^TestSimulatorBitBoxSync': focused rerun after that adjustment passed, with the two v9.27.1 cases skipped because BitBoxSync is disabled.

Latest vector refresh: go test -count=1 ./api/firmware -run '^TestSimulatorBTCTransactionVectors$/^payment-request$'
passed across all 11 simulators. All historical expectations for the released matrix are unchanged.

Related PRs:

Copy the BTC transaction test vectors from bitbox02-firmware
commit 82375e144984adacc58083b64b9f9ce30cf27853.

Refresh locktime screen expectations and add timestamp-locktime coverage.
Include versioned payment-request memo screens for firmware v9.27.2.
Add the v9.27.1 firmware simulator to the test matrix using the
SHA-256 digest published with the release asset.

Skip BitBoxSync simulator tests when firmware reports the optional
feature as disabled, as it is in the v9.27.1 release build.
@benma-agent
benma-agent force-pushed the benma-agent/simulator-v9.27.1 branch from 5d4cd27 to 5afd5dc Compare September 5, 2026 20:59
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