mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-19 23:19:28 +00:00
Removed shard from genesis shard block
This commit is contained in:
parent
b9390f0967
commit
834edc2dbc
@ -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)),
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user