Skip to content

Commit e6f118c

Browse files
committed
test: gate Solana hardening by firmware version
1 parent 0c63d05 commit e6f118c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_msg_solana_signtx.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ def _build_tx(self, from_pubkey, accounts, program_id, instr_data, extra_account
265265
def test_solana_sign_token_transfer(self):
266266
"""Unchecked SPL Transfer is opaque because no mint is signed."""
267267
self.requires_fullFeature()
268+
self.requires_firmware("7.14.2")
268269
self.setup_mnemonic_allallall()
269270
from_pubkey = self._get_from_pubkey()
270271
to_account = b'\x33' * 32 # destination token account
@@ -280,6 +281,7 @@ def test_solana_sign_token_transfer(self):
280281
def test_solana_sign_token_approve(self):
281282
"""Unchecked SPL Approve is opaque because no mint is signed."""
282283
self.requires_fullFeature()
284+
self.requires_firmware("7.14.2")
283285
self.setup_mnemonic_allallall()
284286
from_pubkey = self._get_from_pubkey()
285287
delegate = b'\x44' * 32

0 commit comments

Comments
 (0)