fix tests after rename
This commit is contained in:
parent
224f22d377
commit
f5a641178d
|
@ -109,10 +109,6 @@ suite "Tree hashing":
|
||||||
let vr = Validator()
|
let vr = Validator()
|
||||||
check: hash_tree_root(vr).len > 0
|
check: hash_tree_root(vr).len > 0
|
||||||
|
|
||||||
test "Hash ShardCommittee":
|
|
||||||
let sc = ShardCommittee()
|
|
||||||
check: hash_tree_root(sc).len > 0
|
|
||||||
|
|
||||||
test "Hash BeaconBlock":
|
test "Hash BeaconBlock":
|
||||||
## TODO: Test genesis hash when spec is updated
|
## TODO: Test genesis hash when spec is updated
|
||||||
let bb = BeaconBlock()
|
let bb = BeaconBlock()
|
||||||
|
|
|
@ -97,7 +97,7 @@ suite "Block processing":
|
||||||
attestation = makeAttestation(
|
attestation = makeAttestation(
|
||||||
state, previous_block_root,
|
state, previous_block_root,
|
||||||
#state.shard_committees_at_slots[state.slot][0].committee[0])
|
#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
|
# Some time needs to pass before attestations are included - this is
|
||||||
# to let the attestation propagate properly to interested participants
|
# to let the attestation propagate properly to interested participants
|
||||||
|
|
Loading…
Reference in New Issue