Simple Summary
When an array is declared public, the generated getter should accept uint256 instead of int128 in order to handle the lookups.
Motivation
We do not allow array lookups with negative numbers, so the use of int128 is unintuitive.
Specification
As an example, the following variable:
Should produce a getter with the following signature:
def foo(arg0: uint256) -> address: constant
Backwards Compatibility
This is not a breaking change, but it does amount to a deviation in expected behavior.
Dependencies
Not dependent, but related to #1979
Copyright
Copyright and related rights waived via CC0
Simple Summary
When an array is declared public, the generated getter should accept
uint256instead ofint128in order to handle the lookups.Motivation
We do not allow array lookups with negative numbers, so the use of
int128is unintuitive.Specification
As an example, the following variable:
Should produce a getter with the following signature:
Backwards Compatibility
This is not a breaking change, but it does amount to a deviation in expected behavior.
Dependencies
Not dependent, but related to #1979
Copyright
Copyright and related rights waived via CC0