Merge pull request #3029 from ethereum/ralexstokes-patch-1

Remove duplicated definition of `Validator` in `capella` specs
This commit is contained in:
Hsiao-Wei Wang 2022-10-10 23:03:41 +08:00 committed by GitHub
commit ae89e4e615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 16 deletions

View File

@ -24,7 +24,6 @@
- [Extended Containers](#extended-containers)
- [`ExecutionPayload`](#executionpayload)
- [`ExecutionPayloadHeader`](#executionpayloadheader)
- [`Validator`](#validator)
- [`BeaconBlockBody`](#beaconblockbody)
- [`BeaconState`](#beaconstate)
- [Helpers](#helpers)
@ -180,21 +179,6 @@ class ExecutionPayloadHeader(Container):
withdrawals_root: Root # [New in Capella]
```
#### `Validator`
```python
class Validator(Container):
pubkey: BLSPubkey
withdrawal_credentials: Bytes32 # Commitment to pubkey for withdrawals
effective_balance: Gwei # Balance at stake
slashed: boolean
# Status epochs
activation_eligibility_epoch: Epoch # When criteria for activation were met
activation_epoch: Epoch
exit_epoch: Epoch
withdrawable_epoch: Epoch # When validator can withdraw funds
```
#### `BeaconBlockBody`
```python