use of tech.pegasys.teku.bls.BLSKeyPair in project teku by ConsenSys.
the class ActiveKeyManagerTest method generateActiveValidatorsList.
private List<Validator> generateActiveValidatorsList() {
final BLSKeyPair keyPair1 = BLSTestUtil.randomKeyPair(1);
final BLSKeyPair keyPair2 = BLSTestUtil.randomKeyPair(2);
final Validator validator1 = new Validator(keyPair1.getPublicKey(), NO_OP_SIGNER, Optional::empty, true);
final Validator validator2 = new Validator(keyPair2.getPublicKey(), NO_OP_SIGNER, Optional::empty, false);
return Arrays.asList(validator1, validator2);
}
Aggregations