1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

fix(tests): correct ETH signmessage assertion and record the testcase

[no changelog]
This commit is contained in:
grdddj 2023-01-19 09:43:18 +01:00 committed by matejcik
parent e15a0ba1d3
commit a79cf4752e
2 changed files with 15 additions and 12 deletions

View File

@ -14,16 +14,6 @@
"sig": "af4eac50f21acc6daeb0ab036f616f5d19fccade46e47100642b3dfc798c9b740d5873887bdc2f02502c90777a082d10dca113bd1ec29d08108396401421c8cc1b"
}
},
{
"parameters": {
"msg": "This is an example of a signed message at a different path.",
"path": "m/45'/60/2/1/1"
},
"result": {
"address": "0x4C28fB5643a2F9B03736103188845C5B50300242",
"sig": "0x10cb53ab88112fa0a915ab3e477843ab534ba1a1caeb70747373a86cba69ca6c5f70367d8f9023e1d7cd9fe34279dd9266dd26d7390acbfdea777c4c436de4df1c"
}
},
{
"parameters": {
"msg": "VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!VeryLongMessage!",
@ -93,6 +83,16 @@
"address": "0x73d0385F4d8E00C5e6504C6030F47BF6212736A8",
"sig": "fa9d60644436f27eb88956a50893e9a47f67c42fb1b57a44bde4c6e127ab777e0c23b234b6ec9327ffd0620daaa514243ebb5a3652a1bac2d720e0f5555b2e071c"
}
},
{
"parameters": {
"msg": "This is an example of a signed message at a different path.",
"path": "m/45'/60/2/1/1"
},
"result": {
"address": "0x3beC5F707Ef56057354f4c062C53cd089E8Ea02C",
"sig": "27c75ccd53136ef1c470784d16440c798effbff4928fcee36a9080c2e929ce3f727aabcd4a0de88881ae02003bd16bc9d3f199d78266c41596db14fac134b44f1c"
}
}
]
}

View File

@ -815,6 +815,7 @@
"TT_bitcoin-test_nonstandard_paths.py::test_getaddress_multisig[paths4-address_index4]": "fa83c8578a9059143e2dad02a6b8e11adbb4cf6528d2e1e0fffb4734a34c7815",
"TT_bitcoin-test_nonstandard_paths.py::test_getaddress_multisig[paths5-address_index5]": "82e39086c84e74b065a47f4ad93312ca350f7902a57c450923fb6ed0ddceed82",
"TT_bitcoin-test_nonstandard_paths.py::test_getaddress_multisig[paths6-address_index6]": "68ce34f5185d7f7f04537911633b36685a1c8d1c33ab7465c33083d0a9f8d718",
"TT_bitcoin-test_nonstandard_paths.py::test_getaddress_multisig[paths7-address_index7]": "2f8ecb8172d07c4023e2ed1f5fcc8478aec6b4ff602e3146389bffa84a51ea4c",
"TT_bitcoin-test_nonstandard_paths.py::test_getpublicnode[m-1195487518-6-255-script_types3]": "72d6d1cdc13cd36c83c4e6dff0e1533515be8fe181a3305a29cd88a18fbaf4ba",
"TT_bitcoin-test_nonstandard_paths.py::test_getpublicnode[m-1195487518-script_types2]": "72d6d1cdc13cd36c83c4e6dff0e1533515be8fe181a3305a29cd88a18fbaf4ba",
"TT_bitcoin-test_nonstandard_paths.py::test_getpublicnode[m-3h-100h-4-255-script_types1]": "72d6d1cdc13cd36c83c4e6dff0e1533515be8fe181a3305a29cd88a18fbaf4ba",
@ -837,6 +838,7 @@
"TT_bitcoin-test_nonstandard_paths.py::test_signtx_multisig[paths4-address_index4]": "22d794b327b7c752fd95a03ecd48b256f47a1628b157c1b6025d5cbf98f5a217",
"TT_bitcoin-test_nonstandard_paths.py::test_signtx_multisig[paths5-address_index5]": "22d794b327b7c752fd95a03ecd48b256f47a1628b157c1b6025d5cbf98f5a217",
"TT_bitcoin-test_nonstandard_paths.py::test_signtx_multisig[paths6-address_index6]": "22d794b327b7c752fd95a03ecd48b256f47a1628b157c1b6025d5cbf98f5a217",
"TT_bitcoin-test_nonstandard_paths.py::test_signtx_multisig[paths7-address_index7]": "fa13232d6f3dfc92d0e90e0ecd53795331da3562bcdd1ba5ca15578311b5f862",
"TT_bitcoin-test_op_return.py::test_nonzero_opreturn": "bfdd9acaecba712cdf71ad98254b793ba8f3e6e2bb9611fe6d3d7b118c5a4f03",
"TT_bitcoin-test_op_return.py::test_opreturn": "df9a7111403d3a5d959b28c7d5d3871174d8f109d56ca7a519ab09d325468692",
"TT_bitcoin-test_op_return.py::test_opreturn_address": "bfdd9acaecba712cdf71ad98254b793ba8f3e6e2bb9611fe6d3d7b118c5a4f03",
@ -1363,6 +1365,7 @@
"TT_ethereum-test_sign_verify_message.py::test_signmessage[parameters5-result5]": "06470a3d7eabee6c8ca7653a9858c8ec703fe12675ebe5852e56860b547cf205",
"TT_ethereum-test_sign_verify_message.py::test_signmessage[parameters6-result6]": "2756147cdfd189a199f18d86edbdb53d929d9b9857ff60d7083a08698b5f24be",
"TT_ethereum-test_sign_verify_message.py::test_signmessage[parameters7-result7]": "9107eb8cf52be38d1d3685bb9486f28deef7b21772f2a8f4b7944a7d88dc6ec2",
"TT_ethereum-test_sign_verify_message.py::test_signmessage[parameters8-result8]": "9b5714fee934c0d8981081b3703454cbb0316c15ee56b270027b75ff72708f5b",
"TT_ethereum-test_sign_verify_message.py::test_verify[parameters0-result0]": "ad91d5d552dc74028a2c642afd5fb20924b53686692c1326a1525be5c8637c92",
"TT_ethereum-test_sign_verify_message.py::test_verify[parameters1-result1]": "038d316608faf51e6d1a388b1fc5a5bda2f21cea85434eb9798c1e200585e92d",
"TT_ethereum-test_sign_verify_message.py::test_verify[parameters2-result2]": "6ec6719185c6f824658a1da96900ba048d1f22d2750fa277a2592a00ec509294",
@ -1585,10 +1588,10 @@
"TT_test_debuglink.py::test_softlock_instability": "6c97af95e3b3aa6ee678fe75068207d76ce7e7b0604e3b25d4b2fb66c683ed95",
"TT_test_firmware_hash.py::test_firmware_hash_emu": "13e6dfd09491219099658c318245425216e2de77140afdb86937cb48a630113e",
"TT_test_firmware_hash.py::test_firmware_hash_hw": "72d6d1cdc13cd36c83c4e6dff0e1533515be8fe181a3305a29cd88a18fbaf4ba",
"TT_test_msg_applysettings.py::test_apply_homescreen_toif": "6531ff6ac0862f47c8d391301cf7bfd2f9f12c1921b2811f0eedfcf7fefc8d73",
"TT_test_msg_applysettings.py::test_apply_homescreen_jpeg": "9ce09adb64a15f43c96188e73a314216230b0d94178f525172f993af76f9c77b",
"TT_test_msg_applysettings.py::test_apply_homescreen_jpeg_wrong_size": "6531ff6ac0862f47c8d391301cf7bfd2f9f12c1921b2811f0eedfcf7fefc8d73",
"TT_test_msg_applysettings.py::test_apply_homescreen_jpeg_progressive": "6531ff6ac0862f47c8d391301cf7bfd2f9f12c1921b2811f0eedfcf7fefc8d73",
"TT_test_msg_applysettings.py::test_apply_homescreen_jpeg_wrong_size": "6531ff6ac0862f47c8d391301cf7bfd2f9f12c1921b2811f0eedfcf7fefc8d73",
"TT_test_msg_applysettings.py::test_apply_homescreen_toif": "6531ff6ac0862f47c8d391301cf7bfd2f9f12c1921b2811f0eedfcf7fefc8d73",
"TT_test_msg_applysettings.py::test_apply_settings": "35d34ef7cfaff95d07782881a25b795c1283f7f981d2402bd051e520de7001ce",
"TT_test_msg_applysettings.py::test_apply_settings_passphrase": "1cfa917d5be8b9408d45ffb005cea1133a67ff42bce8a8b6b95a89ba0dc87531",
"TT_test_msg_applysettings.py::test_apply_settings_passphrase_on_device": "7d560ee93960073ad4864af75a3fc954277a7c2176b3d42b1e1fcbe1c2dba1c9",