sablier-labs / flow

🍃 Smart contracts of the Sablier Flow protocol.
Other
8 stars 0 forks source link

test: amount withdrawn after multiple withdrawals #255

Closed smol-ninja closed 3 weeks ago

smol-ninja commented 4 weeks ago

Closes https://github.com/sablier-labs/flow/issues/251

Includes a test that compares the sum of withdrawn amount through multiple withdrawals with the expected withdrawn amount if there were no precision loss in division.

Note: this test fails against main branch.

smol-ninja commented 4 weeks ago

Pushed the changes @andreivladbrg. lmk if it looks good now.

smol-ninja commented 3 weeks ago

Thanks for approving @andreivladbrg. The name WithdrawNoDelay looks good to me.