[Feature]: Shorten All Relevant Add/Sub Assignment Operations in Every Contract #445
Open
1 task done
Labels
effort: low
Easy or tiny task that takes less than a day.
good first issue
Good for newcomers.
priority: 0
Nice-to-have. Willing to ship without this.
type: ref
A code update that doesn't meaningfully change functionality.
What is the feature you would like to see?
The
AddAssignUnchecked
andSubAssignUnchecked
traits are implemented forStorageUint
(see source).This makes it possible to shorten integer state assignments from:
To a one-liner:
We should update all similar state updates in all contracts.
Contribution Guidelines
The text was updated successfully, but these errors were encountered: