Closed andreivladbrg closed 4 months ago
@smol-ninja forced push the commit, lmk if it looks good
@smol-ninja should we use bound
for streamId in deposit as well?
streamId = _bound(streamId, 1, flow.nextStreamId() * 2);
should we use
bound
for streamId in deposit as well?
Doesn't matter. It would only reject 0
input. All others would go through because of if else.
great, i think i've addressed everything, lmk if we can merge this
Addresses my feedback left on https://github.com/sablier-labs/flow/pull/155 and more
Changes
test: add one more createAsset function test: add a new create stream function in Integration_Test test: use bound over assume for decimals and rps test: add createStreamWithNewAsset in Fixtures contract test: group constants to increase readability test: rename function in utils to boundTransferAmount