Commit 055bda6
committed
eth tx verification: use same address case as in input
Previously, no matter the format of the adress given by user to the
client, BitBox02 was showing this address in mixed case in the
verification step(see 'mixed-case checksum address encoding in EIP-55').
Even though this is acceptable, we thought that this could create
confusion among users when they see that the address they inputted is
not the same on the device(only difference is in the case though). To
avoid any questions, this commit achieves showing the address in the
same case as in user input on the device. Valid cases are : all upper,
all lower or mixed(EIP-55).
The client libraries will also implement a mechanism to categorize the
case of the input address to pass to BitBox02 firmware.
Signed-off-by: asi345 <inanata15@gmail.com>1 parent cb481ba commit 055bda6
File tree
10 files changed
+179
-55
lines changed- messages
- py
- bitbox02
- bitbox02
- bitbox02
- communication/generated
- src/rust/bitbox02-rust/src
- hww/api/ethereum
10 files changed
+179
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| 65 | + | |
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
| |||
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| 80 | + | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | | - | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
792 | 798 | | |
793 | 799 | | |
794 | 800 | | |
| |||
853 | 859 | | |
854 | 860 | | |
855 | 861 | | |
| 862 | + | |
856 | 863 | | |
857 | 864 | | |
858 | 865 | | |
| |||
871 | 878 | | |
872 | 879 | | |
873 | 880 | | |
| 881 | + | |
874 | 882 | | |
875 | 883 | | |
876 | 884 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments