Skip to content

Commit

Permalink
perf: Speedup coins.Sort() when coins is of length 1 (backport cosmos…
Browse files Browse the repository at this point in the history
…#18875) (cosmos#18878)

Co-authored-by: Dev Ojha <[email protected]>
Co-authored-by: Julien Robert <[email protected]>
  • Loading branch information
3 people authored and MSalopek committed Feb 27, 2024
1 parent 358c86f commit e187de1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ during the [Oak Security audit of SDK 0.47](https://github.com/oak-security/audi
### Improvements

* (client/tx) [#18852](https://github.com/cosmos/cosmos-sdk/pull/18852) Add `WithFromName` to tx factory.
* (types) [#18875](https://github.com/cosmos/cosmos-sdk/pull/18875) Speedup coins.Sort() if len(coins) <= 1

## [v0.47.7](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.7) - 2023-12-20

Expand Down

0 comments on commit e187de1

Please sign in to comment.