use of tech.pegasys.web3signer.core.service.http.handlers.signing.eth2.AggregationSlot in project web3signer by ConsenSys.
the class Eth2RequestUtils method createAggregationSlot.
private static Eth2SigningRequestBody createAggregationSlot() {
final ForkInfo forkInfo = forkInfo();
final AggregationSlot aggregationSlot = new AggregationSlot(UInt64.valueOf(119));
final Bytes signingRoot = signingRootUtil.signingRootForSignAggregationSlot(aggregationSlot.getSlot(), forkInfo.asInternalForkInfo());
return new Eth2SigningRequestBody(ArtifactType.AGGREGATION_SLOT, signingRoot, forkInfo, null, null, null, aggregationSlot, null, null, null, null, null, null, null);
}
Aggregations