sablier-labs / flow

🍃 Smart contracts of the Sablier Flow protocol.
Other
10 stars 2 forks source link

test: amount withdrawn after multiple withdrawals #255

Closed smol-ninja closed 2 months ago

smol-ninja commented 2 months 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 2 months ago

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

smol-ninja commented 2 months ago

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