Commit bbf6484
authored
Move sync queue assertions to preset loader (#6960)
We already check in `presets.nim`:
- `MAX_BLOBS_PER_BLOCK_ELECTRA` ≥ `MAX_BLOBS_PER_BLOCK`
- Config values match preset constant values until constants phased out
The ≤ 9 check can be moved over, then sync queue no longer depends on
the deprecated preset constant values and it remains a one-time check.1 parent de2429f commit bbf6484
2 files changed
+6
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
873 | 875 | | |
874 | 876 | | |
875 | 877 | | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
876 | 882 | | |
877 | 883 | | |
878 | 884 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 146 | | |
152 | 147 | | |
153 | 148 | | |
| |||
175 | 170 | | |
176 | 171 | | |
177 | 172 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | 173 | | |
184 | 174 | | |
185 | 175 | | |
| |||
980 | 970 | | |
981 | 971 | | |
982 | 972 | | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | 973 | | |
987 | 974 | | |
988 | 975 | | |
| |||
0 commit comments