Rename Strings.fromUint256 to Strings.toString (#2188)
* rename Strings.fromUint256 to Strings.toString * add changelog entry * fix conflict with js toString method
This commit is contained in:
committed by
GitHub
parent
3e139baa50
commit
8b10cb38d8
@ -4,6 +4,6 @@ import "../utils/Strings.sol";
|
||||
|
||||
contract StringsMock {
|
||||
function fromUint256(uint256 value) public pure returns (string memory) {
|
||||
return Strings.fromUint256(value);
|
||||
return Strings.toString(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user