|
35 | 35 | get_previous_fork_version, |
36 | 36 | is_post_bellatrix, |
37 | 37 | is_post_electra, |
38 | | - is_post_fulu, |
39 | 38 | is_post_gloas, |
40 | 39 | ) |
41 | 40 | from eth_consensus_specs.test.helpers.proposer_slashings import ( |
@@ -199,14 +198,6 @@ def do_fork( |
199 | 198 | assert state.slot % spec.SLOTS_PER_EPOCH == 0 |
200 | 199 | assert spec.get_current_epoch(state) == fork_epoch |
201 | 200 |
|
202 | | - # The Eth1 bridge transition is complete before the Fulu fork. Tests do not |
203 | | - # process real deposit requests in pre-fork blocks, so model that completion here. |
204 | | - if ( |
205 | | - is_post_fulu(post_spec) |
206 | | - and state.deposit_requests_start_index == spec.UNSET_DEPOSIT_REQUESTS_START_INDEX |
207 | | - ): |
208 | | - state.deposit_requests_start_index = state.eth1_data.deposit_count |
209 | | - |
210 | 201 | state = get_upgrade_fn(post_spec, post_spec.fork)(state) |
211 | 202 |
|
212 | 203 | assert state.fork.epoch == fork_epoch |
@@ -236,14 +227,6 @@ def do_fork_generate( |
236 | 227 | assert state.slot % spec.SLOTS_PER_EPOCH == 0 |
237 | 228 | assert spec.get_current_epoch(state) == fork_epoch |
238 | 229 |
|
239 | | - # The Eth1 bridge transition is complete before the Fulu fork. Tests do not |
240 | | - # process real deposit requests in pre-fork blocks, so model that completion here. |
241 | | - if ( |
242 | | - is_post_fulu(post_spec) |
243 | | - and state.deposit_requests_start_index == spec.UNSET_DEPOSIT_REQUESTS_START_INDEX |
244 | | - ): |
245 | | - state.deposit_requests_start_index = state.eth1_data.deposit_count |
246 | | - |
247 | 230 | yield "pre", state |
248 | 231 |
|
249 | 232 | state = get_upgrade_fn(post_spec, post_spec.fork)(state) |
|
0 commit comments