Skip to content

Commit

Permalink
Update .changeset/tasty-tomatoes-turn.md
Browse files Browse the repository at this point in the history
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
  • Loading branch information
balajipachai and Amxx authored Jun 17, 2023
1 parent 6814161 commit 2a39ea1
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .changeset/tasty-tomatoes-turn.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,4 @@
'openzeppelin-solidity': major
---

Replaces `toString(int256)` with `toStringSigned(int256)`

# WHAT the breaking change is?

- The toString(int256) is now replaced with toStringSigned(int256)

# WHY the change was made?

- 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)`.

# HOW a consumer should update their code?

- Replace the instances of `toString(int256)` with `toStringSigned(int256)`.
`Strings`: Rename `toString(int256)` to `toStringSigned(int256)`.

0 comments on commit 2a39ea1

Please sign in to comment.