vyper
vyper copied to clipboard
method_id Compiler Error
@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