public static ContractValidationRule from(final EVM evm) {
    return new EOFValidationCodeRule(evm.getMaxEOFVersion());
  }
Create EOF validation.

@param evm The EVM for which we are enforcing the rule
@return The EOF validation contract validation rule.
evm/src/main/java/org/hyperledger/besu/evm/contractvalidation/EOFValidationCodeRule.java