Closed spalladino closed 6 years ago
I don't think codemod is the right concept here because it is apparently a tool used for refactors.
When I proposed this idea I was talking about a preprocessing step to be always run before deploying a new version of a contract.
Alternatively a linter to validate, instead of a preprocessor.
@spalladino can I close this one since https://github.com/zeppelinos/labs/pull/127 was already merged?
Closed!
With the fixed proxy model, any Solidity contract can be a backing implementation for a proxy as long as it does not rely on any constructor logic. Such logic needs to be moved to an
initialize
method, to be called only once.Research building a preprocessing step for automating this procedure with existing contracts.