Apply suggestions from @jtraglia

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
This commit is contained in:
Mikhail Kalinin 2024-09-27 12:17:24 +04:00 committed by GitHub
parent 5913960651
commit 33302651f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,7 @@ The following values are (non-configurable) constants used throughout the specif
| `MAX_PENDING_PARTIALS_PER_WITHDRAWALS_SWEEP` | `uint64(2**3)` (= 8)| *[New in Electra:EIP7002]* Maximum number of pending partial withdrawals to process per payload |
### Pending deposits processing
| Name | Value | Description |
| - | - | - |
| `MAX_PENDING_DEPOSITS_PER_EPOCH` | `uint64(2**4)` (= 16)| *[New in Electra:EIP6110]* Maximum number of pending deposits to process per epoch |

View File

@ -133,6 +133,7 @@ def test_process_deposit_request_set_start_index_only_once(spec, state):
amount = spec.MIN_ACTIVATION_BALANCE
deposit_request = prepare_deposit_request(spec, validator_index, amount, signed=True)
assert initial_start_index != deposit_request.index
state.deposit_requests_start_index = initial_start_index
yield from run_deposit_request_processing(spec, state, deposit_request, validator_index)