gemstation / gemforge

Command-line tool for building, deploying and upgrading Diamond Standard contracts on EVM chains.
https://gemforge.xyz
MIT License
17 stars 4 forks source link

The "Remove" action #8

Closed hiddentao closed 1 year ago

hiddentao commented 1 year ago

This is commented out in the code because at the moment it would remove the the essential ones from the Diamond library due to how the upgrade logic works.

We could just exclude these when doing a removal - but since removal is such a destructive action I am thinking it should be something you still have to specifically enable via a CLI option.

The proposal:

hiddentao commented 1 year ago

Removals are now working. Added a new config option to specify "core" facets that should never be removed: https://gemforge.xyz/configuration/diamond/

hiddentao commented 1 year ago

Splitting hard reset into new ticket -> #15