Commit cd92a89
authored
In randomized tests, only do voluntary exit if no pending withdrawals (#4553)
Associated with:
* #4531
Now that there are random pending withdrawals in the state, the function
which adds random voluntary exits must be updated to not exit validators
with pending withdrawals, which is disallowed via gossip & the protocol.
This broke when generating reference tests.1 parent fe5b388 commit cd92a89
File tree
3 files changed
+7
-4
lines changed- specs/electra
- tests/core/pyspec/eth2spec/test/helpers
3 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
| 288 | + | |
290 | 289 | | |
291 | 290 | | |
292 | 291 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1634 | 1634 | | |
1635 | 1635 | | |
1636 | 1636 | | |
1637 | | - | |
1638 | 1637 | | |
1639 | 1638 | | |
1640 | 1639 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
176 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
177 | 182 | | |
178 | 183 | | |
179 | 184 | | |
| |||
0 commit comments