Commit 63e16ed
authored
Report assembly error strings for compile API endpoint (#3190)
* Add error strings to v2 TEAL compile endpoint
* Move number of errors to end so it is consistent with goal clerk compile
* Refactor ReportProblems() to take io.Writer
* Don't report number of errors on the API call1 parent f72764b commit 63e16ed
File tree
5 files changed
+20
-9
lines changed- cmd
- goal
- pingpong
- daemon/algod/api/server/v2
- data/transactions/logic
5 files changed
+20
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
925 | | - | |
| 925 | + | |
926 | 926 | | |
927 | 927 | | |
928 | 928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | | - | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
754 | 755 | | |
755 | 756 | | |
756 | 757 | | |
757 | | - | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
758 | 761 | | |
759 | 762 | | |
760 | 763 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
2109 | 2108 | | |
2110 | 2109 | | |
2111 | 2110 | | |
2112 | | - | |
2113 | | - | |
| 2111 | + | |
| 2112 | + | |
2114 | 2113 | | |
2115 | 2114 | | |
2116 | 2115 | | |
2117 | 2116 | | |
2118 | | - | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
2119 | 2122 | | |
2120 | 2123 | | |
2121 | 2124 | | |
2122 | 2125 | | |
2123 | 2126 | | |
2124 | | - | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
2125 | 2132 | | |
2126 | 2133 | | |
2127 | 2134 | | |
| |||
0 commit comments