def METHOD_NAME(evm: Evm) -> None:
    """
    Push the chain id onto the stack.
    Parameters
    ----------
    evm :
        The current EVM frame.
    Raises
    ------
    :py:class:`~ethereum.shanghai.vm.exceptions.StackOverflowError`
        If `len(stack)` is equal to `1024`.
    :py:class:`~ethereum.shanghai.vm.exceptions.OutOfGasError`
        If `evm.gas_left` is less than `2`.
    """
    # STACK
    pass
    # GAS
    charge_gas(evm, GAS_BASE)
    # OPERATION
    push(evm.stack, U256(evm.env.METHOD_NAME))
    # PROGRAM COUNTER
    evm.pc += 1