-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABI: 'byte' as an alias to 'bytes1' #60
Comments
I support this. |
|
@chriseth it is an alias (e.g.
|
Perhaps we should clarify what we mean when we say ABI. For me this is the way to encode and decode abstract mathematical objects (numbers, strings, ...) to sequences of bytes for use in contracts and a way to address a function of a contract given its name and type. The type of a function is again an abstract mathematical object. Both |
Closing this as it seems to be well outdated. |
Latest Solidity has now an alias from
byte
tobytes1
( https://solidity.readthedocs.org/en/latest/types.html ).It would make sense including this alias in the ABI too, similarly how
int
anduint
are an alias toint256
anduint256
, respectively.It seems logical and there are some demands for having it available too.
The text was updated successfully, but these errors were encountered: