This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
Detect initial values in fields declarations and throw a warning #80
Labels
kind:enhancement
Enhancement to an existing feature
topic:storage-checks
Storage compatibility validations
Milestone
Setting an initial value for a field when declaring it does not work for proxies, since the value is set in the constructor (see #60 and #79 for more info).
Note that this is not a problem if the field is defined as
constant
.We should detect these scenarios, in all contracts (plus their ancestors) and raise a warning. This warning should be run when
addingpushing the contract.The text was updated successfully, but these errors were encountered: