public TransactionReceipt receipt(final long cumulativeGasUsed) {
    return new TransactionReceipt(
        transactionType(),
        random.nextInt(2),
        cumulativeGasUsed,
        Arrays.asList(log(), log()),
        Optional.empty());
  }
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