Instead of writing a separate initialization function for each facet, just write one initialization function for all facets, or for whatever changes in an upgrade. It doesn’t matter if there is 3 facets or 100 facets, a small upgrade or a large upgrade.
Share this post
Initializing an EIP-2535 Diamond for…
Share this post
Instead of writing a separate initialization function for each facet, just write one initialization function for all facets, or for whatever changes in an upgrade. It doesn’t matter if there is 3 facets or 100 facets, a small upgrade or a large upgrade.