VIP: start and length args in slice
should be uint256
#1986
Labels
VIP: Approved
VIP Approved
Milestone
slice
should be uint256
#1986
Simple Summary
The
start
andlength
args in the builtin functionslice
should be expected asuint256
.Motivation
We do not use negative values for indexing, so a negative start index or length already won't work. There is no need for
int128
here.Specification
Change the function signature to:
Backwards Compatibility
This is a breaking change.
Copyright
Copyright and related rights waived via CC0
The text was updated successfully, but these errors were encountered: