Set FULL_EXIT_REQUEST_AMOUNT to 0

This commit is contained in:
Mikhail Kalinin 2024-04-05 15:35:06 +03:00 committed by GitHub
parent 4f8fb6f716
commit ace9db9aa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,7 +94,7 @@ The following values are (non-configurable) constants used throughout the specif
| Name | Value |
| - | - |
| `FULL_EXIT_REQUEST_AMOUNT` | `uint64(2**64 - 1)` |
| `FULL_EXIT_REQUEST_AMOUNT` | `uint64(0)` |
### Withdrawal prefixes
@ -1001,4 +1001,4 @@ def process_voluntary_exit(state: BeaconState, signed_voluntary_exit: SignedVolu
assert get_pending_balance_to_withdraw(state, voluntary_exit.validator_index) == 0 # [New in EIP7251]
# Initiate exit
initiate_validator_exit(state, voluntary_exit.validator_index)
```
```