mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-03-01 10:40:36 +00:00
Group pending types & request types
This commit is contained in:
parent
d022a7f80c
commit
90ae0a4ecf
@ -24,12 +24,12 @@
|
|||||||
- [Validator cycle](#validator-cycle)
|
- [Validator cycle](#validator-cycle)
|
||||||
- [Containers](#containers)
|
- [Containers](#containers)
|
||||||
- [New containers](#new-containers)
|
- [New containers](#new-containers)
|
||||||
- [`DepositRequest`](#depositrequest)
|
|
||||||
- [`PendingDeposit`](#pendingdeposit)
|
- [`PendingDeposit`](#pendingdeposit)
|
||||||
- [`PendingPartialWithdrawal`](#pendingpartialwithdrawal)
|
- [`PendingPartialWithdrawal`](#pendingpartialwithdrawal)
|
||||||
|
- [`PendingConsolidation`](#pendingconsolidation)
|
||||||
|
- [`DepositRequest`](#depositrequest)
|
||||||
- [`WithdrawalRequest`](#withdrawalrequest)
|
- [`WithdrawalRequest`](#withdrawalrequest)
|
||||||
- [`ConsolidationRequest`](#consolidationrequest)
|
- [`ConsolidationRequest`](#consolidationrequest)
|
||||||
- [`PendingConsolidation`](#pendingconsolidation)
|
|
||||||
- [`ExecutionRequests`](#executionrequests)
|
- [`ExecutionRequests`](#executionrequests)
|
||||||
- [Modified Containers](#modified-containers)
|
- [Modified Containers](#modified-containers)
|
||||||
- [`AttesterSlashing`](#attesterslashing)
|
- [`AttesterSlashing`](#attesterslashing)
|
||||||
@ -201,19 +201,6 @@ The following values are (non-configurable) constants used throughout the specif
|
|||||||
|
|
||||||
### New containers
|
### New containers
|
||||||
|
|
||||||
#### `DepositRequest`
|
|
||||||
|
|
||||||
*Note*: The container is new in EIP6110.
|
|
||||||
|
|
||||||
```python
|
|
||||||
class DepositRequest(Container):
|
|
||||||
pubkey: BLSPubkey
|
|
||||||
withdrawal_credentials: Bytes32
|
|
||||||
amount: Gwei
|
|
||||||
signature: BLSSignature
|
|
||||||
index: uint64
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `PendingDeposit`
|
#### `PendingDeposit`
|
||||||
|
|
||||||
*Note*: The container is new in EIP7251.
|
*Note*: The container is new in EIP7251.
|
||||||
@ -237,6 +224,30 @@ class PendingPartialWithdrawal(Container):
|
|||||||
amount: Gwei
|
amount: Gwei
|
||||||
withdrawable_epoch: Epoch
|
withdrawable_epoch: Epoch
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### `PendingConsolidation`
|
||||||
|
|
||||||
|
*Note*: The container is new in EIP7251.
|
||||||
|
|
||||||
|
```python
|
||||||
|
class PendingConsolidation(Container):
|
||||||
|
source_index: ValidatorIndex
|
||||||
|
target_index: ValidatorIndex
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `DepositRequest`
|
||||||
|
|
||||||
|
*Note*: The container is new in EIP6110.
|
||||||
|
|
||||||
|
```python
|
||||||
|
class DepositRequest(Container):
|
||||||
|
pubkey: BLSPubkey
|
||||||
|
withdrawal_credentials: Bytes32
|
||||||
|
amount: Gwei
|
||||||
|
signature: BLSSignature
|
||||||
|
index: uint64
|
||||||
|
```
|
||||||
|
|
||||||
#### `WithdrawalRequest`
|
#### `WithdrawalRequest`
|
||||||
|
|
||||||
*Note*: The container is new in EIP7251:EIP7002.
|
*Note*: The container is new in EIP7251:EIP7002.
|
||||||
@ -259,16 +270,6 @@ class ConsolidationRequest(Container):
|
|||||||
target_pubkey: BLSPubkey
|
target_pubkey: BLSPubkey
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `PendingConsolidation`
|
|
||||||
|
|
||||||
*Note*: The container is new in EIP7251.
|
|
||||||
|
|
||||||
```python
|
|
||||||
class PendingConsolidation(Container):
|
|
||||||
source_index: ValidatorIndex
|
|
||||||
target_index: ValidatorIndex
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `ExecutionRequests`
|
#### `ExecutionRequests`
|
||||||
|
|
||||||
*Note*: This container holds requests from the execution layer that are received in [
|
*Note*: This container holds requests from the execution layer that are received in [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user