Commit ef98567
committed
asset+tapsend: add more debugging statements and helpers
To debug commitment issues, it's useful to log the exact asset leaf that
is committed. To be able to easily decode (and compare) that commitment,
we also add a unit test that outputs the leaf as JSON.1 parent b0f4d23 commit ef98567
3 files changed
+33
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
1222 | 1227 | | |
1223 | 1228 | | |
1224 | 1229 | | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1584 | 1584 | | |
1585 | 1585 | | |
1586 | 1586 | | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
1587 | 1590 | | |
1588 | 1591 | | |
1589 | 1592 | | |
| |||
1592 | 1595 | | |
1593 | 1596 | | |
1594 | 1597 | | |
1595 | | - | |
| 1598 | + | |
1596 | 1599 | | |
1597 | | - | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
1598 | 1603 | | |
1599 | 1604 | | |
1600 | 1605 | | |
| |||
0 commit comments