use of com.hedera.mirror.common.domain.event.EventFile in project hedera-mirror-node by hashgraph.
the class EventFileRepositoryTest method eventFile.
private EventFile eventFile() {
long id = ++count;
EventFile eventFile = new EventFile();
eventFile.setConsensusStart(id);
eventFile.setConsensusEnd(id);
eventFile.setCount(id);
eventFile.setDigestAlgorithm(DigestAlgorithm.SHA384);
eventFile.setFileHash("fileHash" + id);
eventFile.setHash("fileHash" + id);
eventFile.setLoadEnd(id);
eventFile.setLoadStart(id);
eventFile.setName(id + ".evt");
eventFile.setNodeAccountId(EntityId.of("0.0.3", EntityType.ACCOUNT));
eventFile.setPreviousHash("fileHash" + id);
return eventFile;
}
Aggregations