Skip to content

Commit 2a39ea1

Browse files
balajipachaiAmxx
andauthored
Update .changeset/tasty-tomatoes-turn.md
Co-authored-by: Hadrien Croubois <[email protected]>
1 parent 6814161 commit 2a39ea1

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.changeset/tasty-tomatoes-turn.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,4 @@
22
'openzeppelin-solidity': major
33
---
44

5-
Replaces `toString(int256)` with `toStringSigned(int256)`
6-
7-
# WHAT the breaking change is?
8-
9-
- The toString(int256) is now replaced with toStringSigned(int256)
10-
11-
# WHY the change was made?
12-
13-
- The change was made as invoking `toString(int256)` with an integer literal from another contract was failing with the error `Member "toString" not unique` since `toString(1)` qualifies for both int256 & uint256, hence replaced `toString(int256)` with `toStringSigned(int256)`.
14-
15-
# HOW a consumer should update their code?
16-
17-
- Replace the instances of `toString(int256)` with `toStringSigned(int256)`.
5+
`Strings`: Rename `toString(int256)` to `toStringSigned(int256)`.

0 commit comments

Comments
 (0)