add shard to mock crosslink to separate attestations from eachother

This commit is contained in:
Danny Ryan 2019-06-29 00:03:06 -06:00
parent 022f1e7108
commit 129fd6297e
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -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,
))