tests: update simulator and BTC vectors for v9.27.1 - #185
Open
benma-agent wants to merge 2 commits into
Open
Conversation
benma
marked this pull request as ready for review
September 5, 2026 19:56
benma-agent
force-pushed
the
benma-agent/simulator-v9.27.1
branch
from
September 5, 2026 20:00
2a49752 to
5d4cd27
Compare
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
force-pushed
the
benma-agent/simulator-v9.27.1
branch
from
September 5, 2026 20:59
5d4cd27 to
5afd5dc
Compare
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.
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: