Move variables from Defaults
to Constants
#63
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: chore
Maintenance work.
work: clear
Sense-categorize-respond. The relationship between cause and effect is clear.
What if we move
constant
andimmutable
variables fromDefaults
toConstants
contract? This can remove several redundant lines from the code where we have to set the default value onto a local variable to makeexpectRevert
work.For example,
would become
cc @sablier-labs/evm.
The text was updated successfully, but these errors were encountered: