use of com.radixdlt.statecomputer.REOutput in project radixdlt by radixdlt.
the class InMemorySystemInfoTest method createLedgerUpdate.
private LedgerUpdate createLedgerUpdate(BFTNode self) {
var events = List.<REEvent>of(new ValidatorBFTDataEvent(self.getKey(), 10, 1));
var txn = new REProcessedTxn(null, null, null, events);
var output = ImmutableClassToInstanceMap.<Object, REOutput>of(REOutput.class, REOutput.create(List.of(txn)));
return new LedgerUpdate(mock(VerifiedTxnsAndProof.class), output);
}
Aggregations