protected long cost(
      final MessageFrame frame,
      final long memOffset,
      final long length,
      final boolean accountIsWarm) {
    return clampedAdd(
        gasCalculator().extCodeCopyOperationGasCost(frame, memOffset, length),
        accountIsWarm
            ? gasCalculator().getWarmStorageReadCost()
            : gasCalculator().getColdAccountAccessCost());
  }
Cost of Ext Code Copy operation.

@param frame the frame
@param memOffset the mem offset
@param length the length
@param accountIsWarm the account is warm
@return the long
evm/src/main/java/org/hyperledger/besu/evm/operation/ExtCodeCopyOperation.java