@Override
    public long cost(final MessageFrame frame, final Supplier<Code> unused) {
      final int inputOffset = clampedToInt(frame.getStackItem(1));
      final int inputSize = clampedToInt(frame.getStackItem(2));
      return clampedAdd(
          clampedAdd(
              gasCalculator().txCreateCost(),
              gasCalculator().memoryExpansionGasCost(frame, inputOffset, inputSize)),
          gasCalculator().initcodeCost(inputSize));
    }
Instantiates a new Create operation.

@param gasCalculator the gas calculator
evm/src/test/java/org/hyperledger/besu/evm/operation/AbstractCreateOperationTest.java