fix tests after rename

This commit is contained in:
Jacek Sieka 2019-02-06 21:11:14 +01:00
parent 224f22d377
commit f5a641178d
No known key found for this signature in database
GPG Key ID: 6299FEB3EB6FA465
2 changed files with 1 additions and 5 deletions

View File

@ -109,10 +109,6 @@ suite "Tree hashing":
let vr = Validator()
check: hash_tree_root(vr).len > 0
test "Hash ShardCommittee":
let sc = ShardCommittee()
check: hash_tree_root(sc).len > 0
test "Hash BeaconBlock":
## TODO: Test genesis hash when spec is updated
let bb = BeaconBlock()

View File

@ -97,7 +97,7 @@ suite "Block processing":
attestation = makeAttestation(
state, previous_block_root,
#state.shard_committees_at_slots[state.slot][0].committee[0])
crosslink_committees[0].a[0])
crosslink_committees[0].committee[0])
# Some time needs to pass before attestations are included - this is
# to let the attestation propagate properly to interested participants