Commit b90f0d9
fix: variable declarations in BeforeEach blocks
- Use short declaration operator (:=) in BeforeEach blocks instead of separate var declarations
- Fix DepositEvent and WithdrawalEvent to use pointers: &werc20.DepositEvent{}
- Fix ERC20 return type field access (Field1 instead of Balance, Name, Symbol, Decimals)
- Remove unused crypto import from test_events.go
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Happy <[email protected]>1 parent 17c90ed commit b90f0d9
File tree
5 files changed
+67
-72
lines changed- tests/integration/precompiles
- erc20
- slashing
- staking
- werc20
5 files changed
+67
-72
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 110 | | |
119 | 111 | | |
120 | 112 | | |
121 | 113 | | |
122 | 114 | | |
123 | | - | |
124 | | - | |
| 115 | + | |
125 | 116 | | |
126 | 117 | | |
127 | | - | |
| 118 | + | |
128 | 119 | | |
129 | 120 | | |
130 | | - | |
| 121 | + | |
131 | 122 | | |
132 | 123 | | |
133 | 124 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
1391 | 1390 | | |
1392 | 1391 | | |
1393 | 1392 | | |
1394 | | - | |
| 1393 | + | |
1395 | 1394 | | |
1396 | 1395 | | |
1397 | 1396 | | |
| |||
1407 | 1406 | | |
1408 | 1407 | | |
1409 | 1408 | | |
1410 | | - | |
| 1409 | + | |
1411 | 1410 | | |
1412 | 1411 | | |
1413 | 1412 | | |
| |||
1418 | 1417 | | |
1419 | 1418 | | |
1420 | 1419 | | |
1421 | | - | |
| 1420 | + | |
1422 | 1421 | | |
1423 | 1422 | | |
1424 | 1423 | | |
| |||
1430 | 1429 | | |
1431 | 1430 | | |
1432 | 1431 | | |
1433 | | - | |
| 1432 | + | |
1434 | 1433 | | |
1435 | 1434 | | |
1436 | 1435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | 131 | | |
134 | | - | |
| 132 | + | |
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
| |||
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
144 | | - | |
145 | | - | |
| 142 | + | |
| 143 | + | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
| |||
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
191 | | - | |
192 | 189 | | |
193 | | - | |
| 190 | + | |
194 | 191 | | |
195 | 192 | | |
196 | 193 | | |
| |||
200 | 197 | | |
201 | 198 | | |
202 | 199 | | |
203 | | - | |
204 | | - | |
| 200 | + | |
| 201 | + | |
205 | 202 | | |
206 | 203 | | |
207 | 204 | | |
| |||
0 commit comments