Removed shard from genesis shard block

This commit is contained in:
vbuterin 2019-09-03 13:44:50 +01:00 committed by GitHub
parent b9390f0967
commit 834edc2dbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,6 @@ def get_genesis_shard_state(state: BeaconState, shard: Shard) -> ShardState:
```python
def get_genesis_shard_block(state: BeaconState, shard: Shard) -> ShardBlock:
return ShardBlock(data=ShardBlockData(
shard=shard,
slot=ShardSlot(SHARD_GENESIS_EPOCH * SHARD_SLOTS_PER_EPOCH),
state_root=hash_tree_root(get_genesis_shard_state(state, shard)),
))