private static Bytes indexKey(final int i) {
    return RLP.encodeOne(UInt256.valueOf(i).trimLeadingZeros());
  }
A utility class for body validation tasks.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/BodyValidation.java