Skip to content

v0.1.2

Compare
Choose a tag to compare
@Ninjatosba Ninjatosba released this 26 Sep 12:35

Release Notes for Stream Swap Contract v0.1.2

This release addresses a critical overflow issue encountered during the calculation of stream shares on the Injective chain. Previously, the contract utilized Uint128 for distribution calculations and was primarily tested with denominations using 6 decimal places (e.g., Osmosis). Injective's native denomination, however, operates with 18 decimals, leading to overflow during multiplication operations.

To resolve this, all calculations have been upgraded to use Uint256, ensuring compatibility with higher precision denominations moving forward.