Single test default used for two different constants #870
Labels
effort: low
Easy or tiny task that takes less than a day.
priority: 2
We will do our best to deal with this.
type: test
Adding, updating, or removing tests.
work: clear
Sense-categorize-respond. The relationship between cause and effect is clear.
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.
The text was updated successfully, but these errors were encountered: