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

Allow looser checking of whether an on-chain address is a Diamond contract #37

Closed hiddentao closed 3 months ago

hiddentao commented 5 months ago

Occasionally, if mistakes are made during upgrades, the supportsInterface() method disappears from the diamond, which prevents further upgrades from taking place due to Gemforge's reliance on it. Add a CLI flag to bypass the lack of this method.

hiddentao commented 3 months ago

Decided against a CLI flag. Instead the code will warn if you supportsInterface() doesn't work as expected but still try to continue, see #43.

hiddentao commented 3 months ago

Completed in 2.9.0