mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 11:55:05 -05:00
add shard to mock crosslink to separate attestations from eachother
This commit is contained in:
@@ -57,7 +57,7 @@ def add_mock_attestations(spec, state, epoch, att_ratio, source, target):
|
||||
beacon_block_root=b'\xaa' * 32,
|
||||
source=source,
|
||||
target=target,
|
||||
crosslink=spec.Crosslink()
|
||||
crosslink=spec.Crosslink(shard=shard)
|
||||
),
|
||||
inclusion_delay=1,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user