Remove duplicated definition of `Validator`
This commit is contained in:
parent
3552e2f6e8
commit
092617ec1e
|
@ -24,7 +24,6 @@
|
||||||
- [Extended Containers](#extended-containers)
|
- [Extended Containers](#extended-containers)
|
||||||
- [`ExecutionPayload`](#executionpayload)
|
- [`ExecutionPayload`](#executionpayload)
|
||||||
- [`ExecutionPayloadHeader`](#executionpayloadheader)
|
- [`ExecutionPayloadHeader`](#executionpayloadheader)
|
||||||
- [`Validator`](#validator)
|
|
||||||
- [`BeaconBlockBody`](#beaconblockbody)
|
- [`BeaconBlockBody`](#beaconblockbody)
|
||||||
- [`BeaconState`](#beaconstate)
|
- [`BeaconState`](#beaconstate)
|
||||||
- [Helpers](#helpers)
|
- [Helpers](#helpers)
|
||||||
|
@ -180,21 +179,6 @@ class ExecutionPayloadHeader(Container):
|
||||||
withdrawals_root: Root # [New in Capella]
|
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`
|
#### `BeaconBlockBody`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
Loading…
Reference in New Issue