mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-01 05:14:49 +00:00
Move crosslink above attestation data
This commit is contained in:
parent
65d2a50219
commit
c250296d8a
@ -24,11 +24,11 @@
|
|||||||
- [Misc dependencies](#misc-dependencies)
|
- [Misc dependencies](#misc-dependencies)
|
||||||
- [`Fork`](#fork)
|
- [`Fork`](#fork)
|
||||||
- [`Validator`](#validator)
|
- [`Validator`](#validator)
|
||||||
|
- [`Crosslink`](#crosslink)
|
||||||
- [`AttestationData`](#attestationdata)
|
- [`AttestationData`](#attestationdata)
|
||||||
- [`AttestationDataAndCustodyBit`](#attestationdataandcustodybit)
|
- [`AttestationDataAndCustodyBit`](#attestationdataandcustodybit)
|
||||||
- [`IndexedAttestation`](#indexedattestation)
|
- [`IndexedAttestation`](#indexedattestation)
|
||||||
- [`PendingAttestation`](#pendingattestation)
|
- [`PendingAttestation`](#pendingattestation)
|
||||||
- [`Crosslink`](#crosslink)
|
|
||||||
- [`Eth1Data`](#eth1data)
|
- [`Eth1Data`](#eth1data)
|
||||||
- [`HistoricalBatch`](#historicalbatch)
|
- [`HistoricalBatch`](#historicalbatch)
|
||||||
- [`DepositData`](#depositdata)
|
- [`DepositData`](#depositdata)
|
||||||
@ -296,6 +296,21 @@ class Validator(Container):
|
|||||||
effective_balance: uint64
|
effective_balance: uint64
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### `Crosslink`
|
||||||
|
|
||||||
|
```python
|
||||||
|
class Crosslink(Container):
|
||||||
|
# Shard number
|
||||||
|
shard: uint64
|
||||||
|
# Crosslinking data from epochs [start....end-1]
|
||||||
|
start_epoch: uint64
|
||||||
|
end_epoch: uint64
|
||||||
|
# Root of the previous crosslink
|
||||||
|
parent_root: Bytes32
|
||||||
|
# Root of the crosslinked shard data since the previous crosslink
|
||||||
|
data_root: Bytes32
|
||||||
|
```
|
||||||
|
|
||||||
#### `AttestationData`
|
#### `AttestationData`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
@ -361,21 +376,6 @@ class PendingAttestation(Container):
|
|||||||
proposer_index: uint64
|
proposer_index: uint64
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `Crosslink`
|
|
||||||
|
|
||||||
```python
|
|
||||||
class Crosslink(Container):
|
|
||||||
# Shard number
|
|
||||||
shard: uint64
|
|
||||||
# Crosslinking data from epochs [start....end-1]
|
|
||||||
start_epoch: uint64
|
|
||||||
end_epoch: uint64
|
|
||||||
# Root of the previous crosslink
|
|
||||||
parent_root: Bytes32
|
|
||||||
# Root of the crosslinked shard data since the previous crosslink
|
|
||||||
data_root: Bytes32
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `Eth1Data`
|
#### `Eth1Data`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
Loading…
x
Reference in New Issue
Block a user