osmosis-labs / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Apache License 2.0
14 stars 31 forks source link

fix(math): Defend NewIntFromBigInt and NewUIntFromBigInt argument mutation #515

Closed mattverse closed 6 months ago

mattverse commented 6 months ago

….47.x-ics-lsm branch (#19293)

Description

Backport of upstream PR#17352#18214 and Upstream PR#19293


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.

I have...

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.

I have...

ValarDragon commented 6 months ago

Closing since I don't think this matters, as we use the upstream SDK's math?