mockAttestationData(...)/mockAttestationImpl(...) changes also match exactly
This commit is contained in:
parent
c08698bffe
commit
cd45b8b43f
|
@ -50,7 +50,9 @@ proc mockAttestationData(
|
||||||
# Constructed to be provide exact equivalent index... to compute_committee(...)
|
# Constructed to be provide exact equivalent index... to compute_committee(...)
|
||||||
# as using epoch/shard.
|
# as using epoch/shard.
|
||||||
let (r_slot, r_index) = get_slot_and_index(state, target_epoch, shard)
|
let (r_slot, r_index) = get_slot_and_index(state, target_epoch, shard)
|
||||||
result.slot = r_slot
|
doAssert r_slot == slot
|
||||||
|
doAssert r_index == 0
|
||||||
|
result.slot = slot
|
||||||
result.index = r_index
|
result.index = r_index
|
||||||
|
|
||||||
result.target = Checkpoint(
|
result.target = Checkpoint(
|
||||||
|
|
Loading…
Reference in New Issue