public int getMaxCodeSize() {
    return evmConfiguration.maxCodeSizeOverride().orElse(evmSpecVersion.maxCodeSize);
  }
Gets the max code size, taking configuration and version into account

@return The max code size override, if not set the max code size for the EVM version.
evm/src/main/java/org/hyperledger/besu/evm/EVM.java