Commit 0594d57
committed
test(osmosis): derive the osmo1 address from the device, not a literal
The hardcoded fixture was a cosmos1 address with the prefix swapped to osmo1,
so its bech32 checksum was invalid. osmosis_signTxUpdateMsgSend bech32-decodes
to_address and returns false on failure, which surfaces as the opaque
'Failed to include send message in transaction' — a device-side syntax error
that reads like a firmware bug and was mine.
Asking the device for its own address also makes these genuine self-sends.1 parent 3a9e1b7 commit 0594d57
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
| |||
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
53 | 64 | | |
| 65 | + | |
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
57 | 69 | | |
58 | 70 | | |
59 | 71 | | |
60 | | - | |
| 72 | + | |
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
| |||
0 commit comments