@Override
  Bytes getCallResultStackItem(final MessageFrame childFrame) {
    return switch (childFrame.getState()) {
      case COMPLETED_SUCCESS -> EOF1_SUCCESS_STACK_ITEM;
      case EXCEPTIONAL_HALT -> EOF1_EXCEPTION_STACK_ITEM;
      case COMPLETED_FAILED ->
          childFrame.getExceptionalHaltReason().isPresent()
              ? EOF1_FAILURE_STACK_ITEM
              : EOF1_EXCEPTION_STACK_ITEM;
      default -> EOF1_FAILURE_STACK_ITEM;
    };
  }
Instantiates a new Abstract call operation.

@param opcode the opcode
@param name the name
@param stackItemsConsumed the stack items consumed
@param stackItemsProduced the stack items produced
@param gasCalculator the gas calculator
evm/src/main/java/org/hyperledger/besu/evm/operation/AbstractExtCallOperation.java