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

feat: LibDiamondHelper now replaces selectors that override core selectors #28

Closed hiddentao closed 1 year ago

hiddentao commented 1 year ago

If we're overriding core selectors (loupe, cut, etc) then the lib helper needs to replace instead of add these selectors - otherwise the diamondCut() call will fail.