@Override
  public Operation.OperationResult executeFixedCostOperation(
      final MessageFrame frame, final EVM evm) {
    Code code = frame.getCode();
    if (code.getEofVersion() == 0) {
      return InvalidOperation.INVALID_RESULT;
    }
    int pc = frame.getPC();

    int depth = code.readU8(pc + 1);
    frame.pushStackItem(frame.getStackItem(depth));
    frame.setPC(pc + 1);

    return dupSuccess;
  }
Instantiates a new Dup operation.

@param gasCalculator the gas calculator
evm/src/main/java/org/hyperledger/besu/evm/operation/DupNOperation.java