vyper icon indicating copy to clipboard operation
vyper copied to clipboard

method_id Compiler Error

Open chen-robert opened this issue 1 year ago • 0 comments

@external
def f() -> bytes4:
    # all fail
    m: bytes4 = method_id("f_0f_42185()", output_type=bytes4) # 0x0fffce01
    # m: bytes4 = method_id("f_00_68940()", output_type=bytes4) # 0x00ffeee5
    # m: bytes4 = method_id("f_0000_144056()", output_type=bytes4) # 0x00002d87
    # m: bytes4 = method_id("f_000000_1012154()", output_type=bytes4) # 0x000000c7
    # m: bytes4 = method_id("f00000000_bvvvdlt()", output_type=bytes4) # 0x00000000
    return m

chen-robert avatar Dec 16 '23 11:12 chen-robert