Merge pull request #2563 from ericsson49/ericsson49/fix_typos_in_sharding_spec
Fix typos in sharding/beacon-chain.md, which break setup.py:get_spec processing
This commit is contained in:
commit
8335849360
|
@ -32,7 +32,7 @@
|
||||||
- [`Builder`](#builder)
|
- [`Builder`](#builder)
|
||||||
- [`DataCommitment`](#datacommitment)
|
- [`DataCommitment`](#datacommitment)
|
||||||
- [`AttestedDataCommitment`](#attesteddatacommitment)
|
- [`AttestedDataCommitment`](#attesteddatacommitment)
|
||||||
- [ShardBlobBody](#shardblobbody)
|
- [`ShardBlobBody`](#shardblobbody)
|
||||||
- [`ShardBlobBodySummary`](#shardblobbodysummary)
|
- [`ShardBlobBodySummary`](#shardblobbodysummary)
|
||||||
- [`ShardBlob`](#shardblob)
|
- [`ShardBlob`](#shardblob)
|
||||||
- [`ShardBlobHeader`](#shardblobheader)
|
- [`ShardBlobHeader`](#shardblobheader)
|
||||||
|
@ -257,7 +257,7 @@ class AttestedDataCommitment(Container):
|
||||||
includer_index: ValidatorIndex
|
includer_index: ValidatorIndex
|
||||||
```
|
```
|
||||||
|
|
||||||
### ShardBlobBody
|
### `ShardBlobBody`
|
||||||
|
|
||||||
Unsigned shard data, bundled by a shard-builder.
|
Unsigned shard data, bundled by a shard-builder.
|
||||||
Unique, signing different bodies as shard proposer for the same `(slot, shard)` is slashable.
|
Unique, signing different bodies as shard proposer for the same `(slot, shard)` is slashable.
|
||||||
|
@ -759,7 +759,7 @@ def process_shard_header(state: BeaconState, signed_header: SignedShardBlobHeade
|
||||||
commitment=body_summary.commitment,
|
commitment=body_summary.commitment,
|
||||||
root=header_root,
|
root=header_root,
|
||||||
includer_index=get_beacon_proposer_index(state),
|
includer_index=get_beacon_proposer_index(state),
|
||||||
)
|
),
|
||||||
votes=initial_votes,
|
votes=initial_votes,
|
||||||
weight=0,
|
weight=0,
|
||||||
update_slot=state.slot,
|
update_slot=state.slot,
|
||||||
|
@ -885,7 +885,7 @@ def reset_pending_shard_work(state: BeaconState) -> None:
|
||||||
selector=SHARD_WORK_PENDING,
|
selector=SHARD_WORK_PENDING,
|
||||||
value=List[PendingShardHeader, MAX_SHARD_HEADERS_PER_SHARD](
|
value=List[PendingShardHeader, MAX_SHARD_HEADERS_PER_SHARD](
|
||||||
PendingShardHeader(
|
PendingShardHeader(
|
||||||
attested=AttestedDataCommitment()
|
attested=AttestedDataCommitment(),
|
||||||
votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length),
|
votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length),
|
||||||
weight=0,
|
weight=0,
|
||||||
update_slot=slot,
|
update_slot=slot,
|
||||||
|
|
Loading…
Reference in New Issue