public TransactionReceipt receipt(final Bytes revertReason) {
    return new TransactionReceipt(
        transactionType(),
        random.nextInt(2),
        positiveLong(),
        Arrays.asList(log(), log()),
        Optional.of(revertReason));
  }
Generates a sequence of blocks with some accounts and account storage pre-populated with random
data.
ethereum/core/src/test-support/java/org/hyperledger/besu/ethereum/core/BlockDataGenerator.java