You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a contract directly or indirectly depends on some code that has a delegatecall or selfdestruct, the plugin gives an error like:
Error: Contract `contracts/MyContract.sol:MyContract` is not upgrade safe
@openzeppelin/contracts/utils/Address.sol:191: Use of delegatecall is not allowed
https://zpl.in/upgrades/error-002
It would be helpful to show a stacktrace including the line in MyContract and intermediate contracts that led to the unsafe code, so that the user can determine if they should fix the issue or add an ignore annotation.
The text was updated successfully, but these errors were encountered:
If a contract directly or indirectly depends on some code that has a delegatecall or selfdestruct, the plugin gives an error like:
It would be helpful to show a stacktrace including the line in MyContract and intermediate contracts that led to the unsafe code, so that the user can determine if they should fix the issue or add an ignore annotation.
The text was updated successfully, but these errors were encountered: