Skip to content

Commit

Permalink
Use minimum values in attestation sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Aug 10, 2021
1 parent 98e1834 commit 02d6408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/lodestar/test/utils/validationData/attestation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export function getAttestationValidData(
): {chain: IBeaconChain; attestation: phase0.Attestation; subnet: number; validatorIndex: number} {
const currentSlot = opts.currentSlot ?? 100;
const attSlot = opts.attSlot ?? currentSlot;
const attIndex = opts.attIndex ?? 1;
const bitIndex = opts.bitIndex ?? 1;
const attIndex = opts.attIndex ?? 0;
const bitIndex = opts.bitIndex ?? 0;
const targetRoot = opts.targetRoot ?? ZERO_HASH;
const beaconBlockRoot = opts.beaconBlockRoot ?? ZERO_HASH;
// Create cached state
Expand Down

0 comments on commit 02d6408

Please sign in to comment.