@Override
  public Bytes buildRlpFromReceipt(final TransactionReceipt receipt) {
    return RLP.encode(
        rlpOutput ->
            TransactionReceiptEncoder.writeTo(
                (org.hyperledger.besu.ethereum.core.TransactionReceipt) receipt,
                rlpOutput,
                TransactionReceiptEncodingConfiguration.DEFAULT));
  }
Constructor for RlpConverterServiceImpl.

@param protocolSchedule the protocol schedule.
app/src/main/java/org/hyperledger/besu/services/RlpConverterServiceImpl.java