1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +00:00

chore(core): hardcode ETH and Gwei units in ETH send summary

[no changelog]
This commit is contained in:
grdddj 2023-11-22 16:23:19 +01:00 committed by matejcik
parent f4b1b8a76a
commit 01eb896817
4 changed files with 96 additions and 76 deletions

View File

@ -0,0 +1 @@
Always display Ethereum fees in Gwei.

View File

@ -41,7 +41,9 @@ async def require_confirm_tx(
total_amount = format_ethereum_amount(value, token, network)
maximum_fee = format_ethereum_amount(gas_price * gas_limit, None, network)
gas_limit_str = f"{gas_limit} units"
gas_price_str = format_ethereum_amount(gas_price, None, network)
gas_price_str = format_ethereum_amount(
gas_price, None, network, force_unit_gwei=True
)
items = (
("Gas limit:", gas_limit_str),
@ -63,7 +65,6 @@ async def require_confirm_tx_eip1559(
token: EthereumTokenInfo | None,
chunkify: bool,
) -> None:
if to_bytes:
to_str = address_from_bytes(to_bytes, network)
else:
@ -73,8 +74,12 @@ async def require_confirm_tx_eip1559(
total_amount = format_ethereum_amount(value, token, network)
maximum_fee = format_ethereum_amount(max_gas_fee * gas_limit, None, network)
gas_limit_str = f"{gas_limit} units"
max_gas_fee_str = format_ethereum_amount(max_gas_fee, None, network)
max_priority_fee_str = format_ethereum_amount(max_priority_fee, None, network)
max_gas_fee_str = format_ethereum_amount(
max_gas_fee, None, network, force_unit_gwei=True
)
max_priority_fee_str = format_ethereum_amount(
max_priority_fee, None, network, force_unit_gwei=True
)
items = (
("Gas limit:", gas_limit_str),
@ -243,6 +248,7 @@ def format_ethereum_amount(
value: int,
token: EthereumTokenInfo | None,
network: EthereumNetworkInfo,
force_unit_gwei: bool = False,
) -> str:
from trezor.strings import format_amount
@ -253,12 +259,18 @@ def format_ethereum_amount(
suffix = network.symbol
decimals = 18
if force_unit_gwei:
assert token is None
assert decimals >= 9
decimals = decimals - 9
suffix = "Gwei"
elif decimals > 9 and value < 10 ** (decimals - 9):
# Don't want to display wei values for tokens with small decimal numbers
if decimals > 9 and value < 10 ** (decimals - 9):
suffix = "Wei " + suffix
decimals = 0
return f"{format_amount(value, decimals)} {suffix}"
amount = format_amount(value, decimals)
return f"{amount} {suffix}"
def limit_str(s: str, limit: int = 16) -> str:

View File

@ -50,6 +50,13 @@ class TestFormatEthereumAmount(unittest.TestCase):
text = format_ethereum_amount(1000000000000000000000, None, ETH)
self.assertEqual(text, "1,000 ETH")
def test_force_units(self):
wei_amount = 100_000_000
text = format_ethereum_amount(wei_amount, None, ETH)
self.assertEqual(text, "100,000,000 Wei ETH")
text = format_ethereum_amount(wei_amount, None, ETH, force_unit_gwei=True)
self.assertEqual(text, "0.1 Gwei")
def test_precision(self):
text = format_ethereum_amount(1000000000000000001, None, ETH)
self.assertEqual(text, "1.000000000000000001 ETH")

View File

@ -1548,15 +1548,15 @@
"TR_cardano-test_sign_tx.py::test_cardano_sign_tx_show_details[plutus_transaction_with_total_co-e846c221": "ac7c656cfb484aaf9596dae64402e15d4f76d92ca6377ffa534307829b1835ce",
"TR_cardano-test_sign_tx.py::test_cardano_sign_tx_show_details[transaction_with_cip36_registrat-b9111c27": "fc825672a972f5d3e48d31e73f72b4b4d2524b3fae5826ab80ca43ae18b40038",
"TR_cardano-test_sign_tx.py::test_cardano_sign_tx_show_details[transaction_with_stake_deregistr-6e84da2f": "af91468fe2519576e6352729dbc49d495746e12305f898f993159871420f0db0",
"TR_ethereum-test_definitions.py::test_builtin": "0f7c5f3f28c296fa300571713636fd7f7603164a1b408b2b0319a8c30e543385",
"TR_ethereum-test_definitions.py::test_builtin_token": "7277808c8458316cf889f650886c805a3c5cc96d0c03c53c5897d790f2b87e49",
"TR_ethereum-test_definitions.py::test_chain_id_allowed": "f6a80cf048a64de10ed9c4ee49d754a3dee42c4665d59b0c5aba236fa0c20d44",
"TR_ethereum-test_definitions.py::test_builtin": "3f1737690633c5de976eaecea529278dde16a70919cf2549b42fef0c66a2f267",
"TR_ethereum-test_definitions.py::test_builtin_token": "0b13a08beae5d03a26519ca7501f105509ae3b008d33bc546318ccdcbcf9aff2",
"TR_ethereum-test_definitions.py::test_chain_id_allowed": "20c91ff8e7528d2b8268ce9d797fdbe6ad6c464f2a52f277c0e26459ea9632e0",
"TR_ethereum-test_definitions.py::test_chain_id_mismatch": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions.py::test_definition_does_not_override_builtin": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions.py::test_external_chain_token_mismatch": "bbe1b6471b7249da7831e697221db5fd4e5f90c0e1738d944f60956bcbb4b6fa",
"TR_ethereum-test_definitions.py::test_external_chain_token_ok": "5446130ff938779372dcdc11247151631fd449437c5ba9815f254c26863e4549",
"TR_ethereum-test_definitions.py::test_external_chain_without_token": "620328cd6a02081f1ac99f98662061fab6b5f997034b052c66ebfa34d1ff503e",
"TR_ethereum-test_definitions.py::test_external_token": "50530f6219add3fbcfa42114d3b8ce00c2f5e0a8da6680519ab662e3bebf9295",
"TR_ethereum-test_definitions.py::test_external_chain_token_mismatch": "e1cb1249e3e97188ada4b64d1c5bea7ad98f211e65d9aaa0852721c326cd6d1b",
"TR_ethereum-test_definitions.py::test_external_chain_token_ok": "3d38e8b12723439e44a62c778a528568ec28d6873420b8704c0e85c9ea84aa7d",
"TR_ethereum-test_definitions.py::test_external_chain_without_token": "d2f97097784711e7aafe7cbe29112a2abf171dbda5574fd0da8cbf0b31ad46cb",
"TR_ethereum-test_definitions.py::test_external_token": "176183f6a17f8a3a805bf4e8ddd8e445cb73d2c1a58e2ae09a5a7e596ae5cefc",
"TR_ethereum-test_definitions.py::test_method_builtin[_call_getaddress]": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions.py::test_method_builtin[_call_sign_typed_data]": "6ed18b2d677f47ecfad4e1582e694c1469b6518d82263e1e890d2080e2705075",
"TR_ethereum-test_definitions.py::test_method_builtin[_call_signmessage]": "a1bb2de5c72df145f463f02344854a2e9164db148d1b836fa8e6b3d751556fcc",
@ -1570,7 +1570,7 @@
"TR_ethereum-test_definitions.py::test_method_external_mismatch[_call_sign_typed_data]": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions.py::test_method_external_mismatch[_call_signmessage]": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions.py::test_slip44_disallowed": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions.py::test_slip44_external": "0f801a2b3b68914d8efd97caa025b90032d7d913b96ae4b4b71397116e788ac8",
"TR_ethereum-test_definitions.py::test_slip44_external": "f55dd933c96b1c8b7131be1f121b28af154dda9bb7d8f7207bbca899431d68ce",
"TR_ethereum-test_definitions.py::test_slip44_external_disallowed": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions_bad.py::test_bad_prefix": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_definitions_bad.py::test_bad_proof": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
@ -1632,71 +1632,71 @@
"TR_ethereum-test_sign_verify_message.py::test_verify[parameters6-result6]": "13d1772f9773e33e579bfdb015861b918ef873e69cd5d13ea86901501e1b17d0",
"TR_ethereum-test_sign_verify_message.py::test_verify[parameters7-result7]": "a853f7bb2e397c727d57023ea1a1606b59473b6e10cfe0a8c45447bc20a3eddd",
"TR_ethereum-test_sign_verify_message.py::test_verify_invalid": "daa48077ae60cbd84493f839430987550e57c7205c857f81c9da68b9679ec5cc",
"TR_ethereum-test_signtx.py::test_data_streaming": "bd9637197763bd6302e21482ba0886ceb744658aa1b0e6e226dc2bd5c57660be",
"TR_ethereum-test_signtx.py::test_data_streaming": "42d16b6bb2ba48584665019fb3c07e92c4b4c6ec3b8189b0287c06f5cae08db4",
"TR_ethereum-test_signtx.py::test_sanity_checks": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_signtx.py::test_sanity_checks_eip1559": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_ethereum-test_signtx.py::test_signtx[False-Auxilium]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-ETC]": "3187e16f10d547f1b46224abd82b340e8f04310a2b03b9e2554c817139b1a3c0",
"TR_ethereum-test_signtx.py::test_signtx[False-Ethereum]": "0956f8f473f6267cb5a087079d1ce55c4572e37f84deb5d54925d24b27ca3e77",
"TR_ethereum-test_signtx.py::test_signtx[False-Ledger Live legacy path0]": "775ae7d89071cae390fea4069fd3eaf9616fb98cad792de0f31efa7888b0492e",
"TR_ethereum-test_signtx.py::test_signtx[False-Ledger Live legacy path1]": "0956f8f473f6267cb5a087079d1ce55c4572e37f84deb5d54925d24b27ca3e77",
"TR_ethereum-test_signtx.py::test_signtx[False-Palm]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-Pirl]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-Rinkeby]": "124c91e03b54f5c82c9c40d14c3b94c5e9aceb5b78b5d22c30050c080d661768",
"TR_ethereum-test_signtx.py::test_signtx[False-Ropsten]": "124c91e03b54f5c82c9c40d14c3b94c5e9aceb5b78b5d22c30050c080d661768",
"TR_ethereum-test_signtx.py::test_signtx[False-Unknown_chain_id_eth_path]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-Unknown_chain_id_testnet_path]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-data_1]": "9ca83f2be46dbac7e1ee6de003064e08505b2eec50bc5b1f68e805f26d9d6ac4",
"TR_ethereum-test_signtx.py::test_signtx[False-data_2_bigdata]": "9ef439e09b189a61ccf1c46e44588565b227410a62bb7f7d79bd43a9aec7f972",
"TR_ethereum-test_signtx.py::test_signtx[False-erc20_token]": "6cb74a353e8de4b773b814a0cc76cc9aea86c2b832e60bd5ef8761f3eb69c7e8",
"TR_ethereum-test_signtx.py::test_signtx[False-max_chain_id]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-max_chain_plus_one]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-max_uint64]": "16c842adfb793ccc79bdef3ec1bce71ff82e49d9d87c771c343215755a8c8b5c",
"TR_ethereum-test_signtx.py::test_signtx[False-newcontract]": "5e43d085de9ceca68ea77da4981bb2930fade59e2c26287628291ff3a6b3e225",
"TR_ethereum-test_signtx.py::test_signtx[False-nodata_1]": "daa8f8a145d85ea0065efca1ef5e727c6f7a247b13ab78106007cd65cbf26168",
"TR_ethereum-test_signtx.py::test_signtx[False-nodata_2_bigvalue]": "47d2dfe8bf76e81d5004d41d5129078630172c3b68adc51a0543cbb15ccb2d20",
"TR_ethereum-test_signtx.py::test_signtx[False-wanchain]": "a0903e52fb3cf84ec909d03452f10655cb8019279d04f37da2ce8fba3ab662d7",
"TR_ethereum-test_signtx.py::test_signtx[True-Auxilium]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-ETC]": "88087e65b791d96e9b47c4af01ac67c0fc04f500306a8530f4ed7ba44567f0a0",
"TR_ethereum-test_signtx.py::test_signtx[True-Ethereum]": "2b4db6c81e44c8b3da09913d97d837f1dedd5d3dc006395da34a43ae5c97b825",
"TR_ethereum-test_signtx.py::test_signtx[True-Ledger Live legacy path0]": "7f2d6e0813ccceca5d45b146cc73462799e5f30032f798f4d62d336abd9f6147",
"TR_ethereum-test_signtx.py::test_signtx[True-Ledger Live legacy path1]": "2b4db6c81e44c8b3da09913d97d837f1dedd5d3dc006395da34a43ae5c97b825",
"TR_ethereum-test_signtx.py::test_signtx[True-Palm]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-Pirl]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-Rinkeby]": "438b850e0d0a9ce257738963d61c41894a8a9c56985eea1de046aeb948a1318b",
"TR_ethereum-test_signtx.py::test_signtx[True-Ropsten]": "438b850e0d0a9ce257738963d61c41894a8a9c56985eea1de046aeb948a1318b",
"TR_ethereum-test_signtx.py::test_signtx[True-Unknown_chain_id_eth_path]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-Unknown_chain_id_testnet_path]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-data_1]": "7722763533047e5c6983b1de65c3d1d5eeb7e55793e2fb8bcd298357b66e477a",
"TR_ethereum-test_signtx.py::test_signtx[True-data_2_bigdata]": "7616c80236cfdb802199764ae835b588cb3cd5a2cb307a55d02c36222967a29c",
"TR_ethereum-test_signtx.py::test_signtx[True-erc20_token]": "270641826faa6fc6587a7037990f6e8ed027dd4a38b6ccc1009affd24ba91454",
"TR_ethereum-test_signtx.py::test_signtx[True-max_chain_id]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-max_chain_plus_one]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-max_uint64]": "46042105e15556750a3bbbc496f4c17d2a9d3dfd1bee1d059c5f54936a234e29",
"TR_ethereum-test_signtx.py::test_signtx[True-newcontract]": "5e43d085de9ceca68ea77da4981bb2930fade59e2c26287628291ff3a6b3e225",
"TR_ethereum-test_signtx.py::test_signtx[True-nodata_1]": "9f6f4631cfe916b98a0419bdce3f34714ab1c4a0c19cb16e3176d5116110761d",
"TR_ethereum-test_signtx.py::test_signtx[True-nodata_2_bigvalue]": "825a1549502862888fdb666b99af27c00117c5baeadc48566e16df650398c66d",
"TR_ethereum-test_signtx.py::test_signtx[True-wanchain]": "ad16b748d6601ab5778782fd64fcff4a5000e0497cb96bf28a9d0dcfd47568b3",
"TR_ethereum-test_signtx.py::test_signtx[False-Auxilium]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-ETC]": "c45da4bfb528761cf858a421ea6ac0d7b46e9e002302eae0cde7ef816ed7c986",
"TR_ethereum-test_signtx.py::test_signtx[False-Ethereum]": "5b553314a433b78fb2edaa0fbb27601142fbca349e1c5aa0a0aeb11be0326980",
"TR_ethereum-test_signtx.py::test_signtx[False-Ledger Live legacy path0]": "5ed9b89904755e80e9f8f69428b237fb3adc67ed15e8398d47113d3537ebd674",
"TR_ethereum-test_signtx.py::test_signtx[False-Ledger Live legacy path1]": "5b553314a433b78fb2edaa0fbb27601142fbca349e1c5aa0a0aeb11be0326980",
"TR_ethereum-test_signtx.py::test_signtx[False-Palm]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-Pirl]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-Rinkeby]": "af1202285bc7647dd3bdfb2d5e9d16e03b27720adb3161a27bc39a92c8ad8e22",
"TR_ethereum-test_signtx.py::test_signtx[False-Ropsten]": "af1202285bc7647dd3bdfb2d5e9d16e03b27720adb3161a27bc39a92c8ad8e22",
"TR_ethereum-test_signtx.py::test_signtx[False-Unknown_chain_id_eth_path]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-Unknown_chain_id_testnet_path]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-data_1]": "78bf8e9f55414568213c277ee6a1a4c6b9f3260f2691c0e57f114d055faf93fe",
"TR_ethereum-test_signtx.py::test_signtx[False-data_2_bigdata]": "7029813f35500febf955a6bdad2e78c1f39eff2aa850137421e70f875d47c041",
"TR_ethereum-test_signtx.py::test_signtx[False-erc20_token]": "fbd88726b3e23ba9f5dc4eb5be3981b2d82070c7f5f4bff0c662eeb6c822f206",
"TR_ethereum-test_signtx.py::test_signtx[False-max_chain_id]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-max_chain_plus_one]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-max_uint64]": "7583ef59e6347047123a9ffef5f9dea839752e7e6e52a24a874e89ff124bd440",
"TR_ethereum-test_signtx.py::test_signtx[False-newcontract]": "46510284a611de7e91566c2fa572e353561c492955e24f8b2d5c277ff65eb36e",
"TR_ethereum-test_signtx.py::test_signtx[False-nodata_1]": "7b845ef59092a877b6747ae853b24256e73015a524c7aabb6c935c5551e8785c",
"TR_ethereum-test_signtx.py::test_signtx[False-nodata_2_bigvalue]": "894e236d118d95236b0c15559387f31c3f2537e66c33e6325e4a5f943304f453",
"TR_ethereum-test_signtx.py::test_signtx[False-wanchain]": "1447ec7ec10e7bfc5d0c860564b6d230d979d0b952d66620fb6346567a6d3a02",
"TR_ethereum-test_signtx.py::test_signtx[True-Auxilium]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-ETC]": "db5c51d837fb518f592acbbc7848b4a11af7fef418d5b85c165bf723c133d499",
"TR_ethereum-test_signtx.py::test_signtx[True-Ethereum]": "4cf0bb46c961c6aa992203f18682be756dab77477f645e73edef7dfc7d8ab9e8",
"TR_ethereum-test_signtx.py::test_signtx[True-Ledger Live legacy path0]": "e278cff1c112bd65871ff94df0325db0c510aa95bf260e9101a6c42fd9822bf1",
"TR_ethereum-test_signtx.py::test_signtx[True-Ledger Live legacy path1]": "4cf0bb46c961c6aa992203f18682be756dab77477f645e73edef7dfc7d8ab9e8",
"TR_ethereum-test_signtx.py::test_signtx[True-Palm]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-Pirl]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-Rinkeby]": "add9bcdc023c48859b56f768775df15a9aae19d06c25a31fa1d7434551e32ae2",
"TR_ethereum-test_signtx.py::test_signtx[True-Ropsten]": "add9bcdc023c48859b56f768775df15a9aae19d06c25a31fa1d7434551e32ae2",
"TR_ethereum-test_signtx.py::test_signtx[True-Unknown_chain_id_eth_path]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-Unknown_chain_id_testnet_path]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-data_1]": "4afed702ddfcdb84d3b9e3018b58b62aac5c9a4d46e9769701cdca3547dffb24",
"TR_ethereum-test_signtx.py::test_signtx[True-data_2_bigdata]": "7cb6f9e69a958eda38744a9b2fe1cf38e195d0f119dfaa34b01bec5e9e5ed822",
"TR_ethereum-test_signtx.py::test_signtx[True-erc20_token]": "ef36760f74226c8b6bd137db4eae2ea185f412b8fb5a288035cb5380bf0875ec",
"TR_ethereum-test_signtx.py::test_signtx[True-max_chain_id]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-max_chain_plus_one]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-max_uint64]": "fb42bcc1a61e341448cb346a930fefaa94d2500f4da6a8d496ff644d363169dc",
"TR_ethereum-test_signtx.py::test_signtx[True-newcontract]": "46510284a611de7e91566c2fa572e353561c492955e24f8b2d5c277ff65eb36e",
"TR_ethereum-test_signtx.py::test_signtx[True-nodata_1]": "db1f4236b9fa755c871fd9eca97ebdb19e4d946dafbf06126b129602e412a6b9",
"TR_ethereum-test_signtx.py::test_signtx[True-nodata_2_bigvalue]": "173f2d285dc22b405e00b21196da753508f8749678004861d3863eb24ddcad08",
"TR_ethereum-test_signtx.py::test_signtx[True-wanchain]": "a026c372220ce4e96178bf693231f46d61d587f383d3c1203227f451fb1d08d9",
"TR_ethereum-test_signtx.py::test_signtx_data_pagination[input_flow_data_go_back]": "c1c0ed86a9947cc06b66929a189a78cd40c3bd6c15b72c6ce9b5aca91e4f853b",
"TR_ethereum-test_signtx.py::test_signtx_data_pagination[input_flow_data_scroll_down]": "fe89e174ef1dcb7bd5b7457c6d0a5abfc125d7359678d6cf3a2d6e3cf200422b",
"TR_ethereum-test_signtx.py::test_signtx_data_pagination[input_flow_data_skip]": "2b96578a51534dd018f887b1de4531ef96cc8dcee0cfe240ca84283f9aa810a9",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-Ledger Live legacy path]": "dd22a6444092e36d8f1c66f96c947d0219421daac029991dac288b5ba13381d1",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-data_1]": "e1b8cf156d89250efbe3ccfffd7c5e02a6c8878f2b4b1e66e727906de4daeb29",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-data_2_bigdata]": "06a0e952406f0401eb5a4e434acfcd032999494e5e57c81a3a8f1104dc5afd00",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-erc20]": "908365dd0627f761c02a7cdc13c35c039730e01ac0b5255ada6a99b63e0789a7",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-large_chainid]": "14b43f7e0b3c0eaab1c2946ab44247cecc190561177b866e110a335ad66f8545",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-long_fees]": "f432d9c3e049194a4a1ab9bca64509b1c4e7041d7e6a3bbbd1ee76c05627aacb",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-nodata]": "dd22a6444092e36d8f1c66f96c947d0219421daac029991dac288b5ba13381d1",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-Ledger Live legacy path]": "7e2b1cb1f840d8f7a8d081f774aee7d67ada6cf586bfb9b6a61a82944f4331b2",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-data_1]": "404f5e74d4b2dffbeaef0b8220038e82c62a665fc92566422059c282b209e1ad",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-data_2_bigdata]": "8718e49401f57f5bcb12a3057b14c233fdffdc139568fdba006604626998dd5c",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-erc20]": "a69488b2ba7c1863c0472e43c537bc58c8762cf450cff2fdd30167493f29cb98",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-large_chainid]": "4e609212c234b7ec1a5837d51e4c2c827f651fe30ba3cd2bc314e712a4e4a737",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-long_fees]": "97865242b6cad1f47aa6c1082bd77145518f883515b7c9ba2f98879b9fda2826",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-nodata]": "7e2b1cb1f840d8f7a8d081f774aee7d67ada6cf586bfb9b6a61a82944f4331b2",
"TR_ethereum-test_signtx.py::test_signtx_eip1559_access_list": "b6034c12854236ba96f002859814ee3098f5750c33732a81c0674e4e44f5866c",
"TR_ethereum-test_signtx.py::test_signtx_eip1559_access_list_larger": "b6034c12854236ba96f002859814ee3098f5750c33732a81c0674e4e44f5866c",
"TR_ethereum-test_signtx.py::test_signtx_fee_info": "18af368ec44c0069b1be6e64f59fb1a2ede672efb24b4dc4f8ae73f4a18525f8",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-Ledger Live legacy path]": "eab79f1b81510a8bc807aad1e2b71372dd3a27410a0656a6d5491e6f954c8c6a",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-data_1]": "8c2db2bd61e0281f31473f13d412d52beb59df95eb26e347daee8110bc417047",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-data_2_bigdata]": "24ce3cb21b3fbfd4794028c6b4e157314245419f5e3a7198701ede4389391954",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-erc20]": "ffd135d8641c46129e91cf98dfb481f55dbc782b20524cbfdfe507d59f3e73ca",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-large_chainid]": "488700e642ffac38c6988ef64f2c975f6f06d5134d5a1a541f8099e12177db2c",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-long_fees]": "1d2cd687029bd27318f7dc9a3965f9240a584a6cc90c8e392a5653f439e9048b",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[False-nodata]": "eab79f1b81510a8bc807aad1e2b71372dd3a27410a0656a6d5491e6f954c8c6a",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-Ledger Live legacy path]": "d81788c1f9338f28eb7cf9228f292b4c0cb51122f121c805152aa8587c2d8f0d",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-data_1]": "d7fab81a196333ac7b848bc458bd416f97e85bfd2ce1f204f93d1e8eb9bfe22f",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-data_2_bigdata]": "c14853793b892e200a171bdde5e88684283e487af9773f8b1a0fddfd130ea138",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-erc20]": "092961e89b1e45ef3f89342f166080d06d8f2fc3e70025137f6792e651665a70",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-large_chainid]": "426add3fe2bdcda80c00481248b31250ee312b05e1f6e24cce275c7cd55c2664",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-long_fees]": "5d096f86847cec1709575994b93ad5ab40baac796dfe2636f54bfb4cf984f51f",
"TR_ethereum-test_signtx.py::test_signtx_eip1559[True-nodata]": "d81788c1f9338f28eb7cf9228f292b4c0cb51122f121c805152aa8587c2d8f0d",
"TR_ethereum-test_signtx.py::test_signtx_eip1559_access_list": "2194989e1cace4e2d55bd685572c7cb6c73d311be40dfa5895706501440d0bf9",
"TR_ethereum-test_signtx.py::test_signtx_eip1559_access_list_larger": "2194989e1cace4e2d55bd685572c7cb6c73d311be40dfa5895706501440d0bf9",
"TR_ethereum-test_signtx.py::test_signtx_fee_info": "bc5b20174b6b5b3a72f80c421934bd3137b12b53e07d76e4059deb2de7e4312d",
"TR_misc-test_cosi.py::test_cosi_different_key": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
"TR_misc-test_cosi.py::test_cosi_nonce": "df3420ca2395ced6fb2e3e5b984ece9d1a1151d877061681582c8f9404416600",
"TR_misc-test_cosi.py::test_cosi_pubkey": "8c801bd0142e5c1ad4aad50b34c7debb1b8f17a2e0a87eb7f95531b9fd15e095",
@ -3040,7 +3040,7 @@
"TT_ethereum-test_signtx.py::test_signtx_eip1559[True-nodata]": "ac146a14d60488c3f201e11398fb6ad810c088614a9ce1d529319812e6d4d86e",
"TT_ethereum-test_signtx.py::test_signtx_eip1559_access_list": "243010310ac5a4c70c627507ea8501cc61c2e20728eb06bc796f093132bebb4f",
"TT_ethereum-test_signtx.py::test_signtx_eip1559_access_list_larger": "243010310ac5a4c70c627507ea8501cc61c2e20728eb06bc796f093132bebb4f",
"TT_ethereum-test_signtx.py::test_signtx_fee_info": "c0e5bcb26ef58d6bd7659c58d1cc69f18f074997262d143e73324ded905c323f",
"TT_ethereum-test_signtx.py::test_signtx_fee_info": "714e4c5f6e6b45fa3e78f74c7ee5e3332f39686f8b708a4f56232105bde0c3e4",
"TT_misc-test_cosi.py::test_cosi_different_key": "80a6e289138a604cf351a29511cf6f85e2243591317894703152787e1351a1a3",
"TT_misc-test_cosi.py::test_cosi_nonce": "25a47ec1384fb563a6495d92d9319d19220cbb15b0f33fbdc26f01d3ccde1980",
"TT_misc-test_cosi.py::test_cosi_pubkey": "80a6e289138a604cf351a29511cf6f85e2243591317894703152787e1351a1a3",