Skip to content

fix: add requires_message gate to BIP-85 tests#181

Merged
BitHighlander merged 1 commit intorelease/7.14.0from
fix/bip85-message-gate
Mar 27, 2026
Merged

fix: add requires_message gate to BIP-85 tests#181
BitHighlander merged 1 commit intorelease/7.14.0from
fix/bip85-message-gate

Conversation

@BitHighlander
Copy link
Copy Markdown
Contributor

Summary

  • Add requires_message("GetBip85Mnemonic") to BIP-85 test setUp() so tests skip gracefully when firmware has version 7.14.0 but BIP-85 handler is not yet compiled in
  • Move requires_firmware("7.14.0") from per-method to setUp() (matches Solana/TRON/TON/Zcash pattern)

Why

Firmware version bump is moving to the baseline (before BIP-85 handler lands). Without the message gate, BIP-85 tests would run and fail instead of skipping.

Test plan

  • On firmware 7.14.0 WITHOUT BIP-85 handler: tests skip
  • On firmware 7.14.0 WITH BIP-85 handler: tests run and pass
  • On firmware 7.10.0: tests skip (requires_firmware gate)

BIP-85 tests only had requires_firmware("7.14.0") which means they
run (and fail) when firmware reports 7.14.0 but the BIP-85 handler
is not yet compiled in. Add requires_message("GetBip85Mnemonic") to
setUp() so tests skip gracefully when the message type is unsupported,
matching the pattern used by Solana/TRON/TON/Zcash tests.
@BitHighlander BitHighlander merged commit 074b2ad into release/7.14.0 Mar 27, 2026
2 of 3 checks passed
@BitHighlander BitHighlander deleted the fix/bip85-message-gate branch March 27, 2026 05:40
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