diff --git a/test/python/apps/cal.py b/test/python/apps/cal.py index 96dd893..bfb8079 100644 --- a/test/python/apps/cal.py +++ b/test/python/apps/cal.py @@ -11,7 +11,7 @@ from .stellar import XLM_PACKED_DERIVATION_PATH, XLM_CONF from .solana_utils import SOL_PACKED_DERIVATION_PATH, SOL_CONF from .xrp import XRP_PACKED_DERIVATION_PATH, XRP_CONF -from .tezos_new import NTZ_PACKED_DERIVATION_PATH, NTZ_CONF +from .tezos_new import XTZ_PACKED_DERIVATION_PATH, XTZ_CONF from .bsc import BSC_PACKED_DERIVATION_PATH, BSC_CONF TICKER_ID_TO_CONF = { @@ -22,7 +22,7 @@ "XLM": XLM_CONF, "SOL": SOL_CONF, "XRP": XRP_CONF, - "NTZ": NTZ_CONF, + "XTZ": XTZ_CONF, "BSC": BSC_CONF, } @@ -34,7 +34,7 @@ "XLM": XLM_PACKED_DERIVATION_PATH, "SOL": SOL_PACKED_DERIVATION_PATH, "XRP": XRP_PACKED_DERIVATION_PATH, - "NTZ": NTZ_PACKED_DERIVATION_PATH, + "XTZ": XTZ_PACKED_DERIVATION_PATH, "BSC": BSC_PACKED_DERIVATION_PATH, } @@ -46,7 +46,7 @@ "XLM": XLM_PACKED_DERIVATION_PATH, "SOL": SOL_PACKED_DERIVATION_PATH, "XRP": XRP_PACKED_DERIVATION_PATH, - "NTZ": NTZ_PACKED_DERIVATION_PATH, + "XTZ": XTZ_PACKED_DERIVATION_PATH, "BSC": BSC_PACKED_DERIVATION_PATH, } diff --git a/test/python/apps/tezos_new.py b/test/python/apps/tezos_new.py index db9f0b8..3188516 100644 --- a/test/python/apps/tezos_new.py +++ b/test/python/apps/tezos_new.py @@ -14,9 +14,9 @@ from ragger.utils import create_currency_config, RAPDU -NTZ_CONF = create_currency_config("NTZ", "Tezos Wallet", ("TZ", 6)) +XTZ_CONF = create_currency_config("XTZ", "Tezos Wallet", ("XTZ", 6)) -NTZ_PACKED_DERIVATION_PATH = pack_derivation_path("m/44'/1729'/0'") +XTZ_PACKED_DERIVATION_PATH = pack_derivation_path("m/44'/1729'/0'") HASH_SIZE = 20 @@ -179,14 +179,14 @@ def _exchange_async(self, ins: INS, index: INDEX, payload: bytes = b"") -> Gener yield def get_public_key(self) -> RAPDU: - return self._exchange(INS.GET_PUBLIC_KEY, P1.FIRST, payload=NTZ_PACKED_DERIVATION_PATH) + return self._exchange(INS.GET_PUBLIC_KEY, P1.FIRST, payload=XTZ_PACKED_DERIVATION_PATH) def sign_message(self, ins: INS = INS.SIGN_WITH_HASH, message: bytes = b"") -> RAPDU: # todo: send the message by chunk instead of fail assert len(message) <= MAX_PAYLOAD_SIZE, "Message to send is too long" - first_rapdu = self._exchange(ins, P1.FIRST, NTZ_PACKED_DERIVATION_PATH) + first_rapdu = self._exchange(ins, P1.FIRST, XTZ_PACKED_DERIVATION_PATH) if first_rapdu.status != StatusCode.STATUS_OK: return first_rapdu diff --git a/test/python/test_tezos_new.py b/test/python/test_tezos_new.py index bbd3f65..7c23ccd 100644 --- a/test/python/test_tezos_new.py +++ b/test/python/test_tezos_new.py @@ -15,7 +15,7 @@ # ExchangeTestRunner implementation for Tezos class TezosTests(ExchangeTestRunner): - currency_ticker = "NTZ" + currency_ticker = "XTZ" valid_destination_1 = encode_address("e6330795ffe18f873b83cb13662442b87bd98c22") valid_destination_memo_1 = "" valid_destination_2 = encode_address("e6330795ffe18f873b83cb13662442b87bd98c40")