Closed PaulRBerg closed 2 months ago
The MAX_COUNT default is used for both MAX_SEGMENT_COUNT and MAX_TRANCHE_COUNT:
MAX_COUNT
MAX_SEGMENT_COUNT
MAX_TRANCHE_COUNT
https://github.com/sablier-labs/v2-core/blob/e080f20eafef0fc18049bcc77f1694db043860f1/test/utils/Defaults.sol#L26
This is not good because there can be more tranches than segments (as discussed here).
We should have two different defaults.
The
MAX_COUNT
default is used for bothMAX_SEGMENT_COUNT
andMAX_TRANCHE_COUNT
:https://github.com/sablier-labs/v2-core/blob/e080f20eafef0fc18049bcc77f1694db043860f1/test/utils/Defaults.sol#L26
This is not good because there can be more tranches than segments (as discussed here).
We should have two different defaults.