Closed bram-rongen closed 2 years ago
@bram-rongen Might cause issues during local deploy since the order of deploys determines the addresses of the facets. Maybe combine it with moving the facet addresses in this package? Then we can publish that package and API will only have to update and read the config from it.
Nevermind, just noticed your changes to the deploy script. Should be fine for local deploys! Moving facet config for prod/dev in the package can be done later.
Since diamond update functionality is already in diamondCut here: https://github.com/mudgen/diamond-2/blob/master/contracts/facets/DiamondCutFacet.sol