Open ritzdorf opened 4 months ago
vyper Version (output of vyper --version OR linkable commit hash vyperlang/vyper@): vyperlang/vyper@b43fface148b45cbd2c90b5d24f77398a63745b5
vyper --version
Expr.parse_Hex()
# bytes_m types are left padded with zeros
ir_node_for_log()
buf
_maxlen
Stmt._assert_reason()
method_id
buf+32
# abi encode method_id + bytestring to `buf+32`, then # write method_id to `buf` and get out of here
# offset of bytes in (bytes,)
method_id = util.method_id_int("Error(string)")
Version Information
vyper Version (output of): vyperlang/vyper@b43fface148b45cbd2c90b5d24f77398a63745b5
vyper --version
OR linkable commit hash vyperlang/vyper@Issue Description
Expr.parse_Hex()
the following comment is incorrect given that bytes_m are right padded with zeros.ir_node_for_log()
, the comment states that the function takes as argumentsbuf
and_maxlen
but it does not.Stmt._assert_reason()
, the following comment is incorrect given thatmethod_id
is not abi encoded tobuf+32
:Stmt._assert_reason()
, the comment# offset of bytes in (bytes,)
does not make sense given the commented line: