Skip to content

Commit 6814161

Browse files
committed
feat: adds changeset
1 parent b574b0a commit 6814161

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.changeset/tasty-tomatoes-turn.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
'openzeppelin-solidity': major
3+
---
4+
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)`.

0 commit comments

Comments
 (0)