Suppose you have a proxy and its logic contract, on which you already called the
initialize function. Now, you’re deploying a new logic contract (v2), which you intend to use instead of the old contract (v1).
My understanding is that the
initializer modifier will prevent the
initialize function from being called again. Which makes sense, since the storage vars initially set might have different values now, you don’t want to override them.
But say you introduced new storage vars, and you’d like to initialise those. Is the recommended approach to implement an