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
Description:
In eth\contracts\Migrations.sol::upgrade(), This implementation which is an exact copy of the current Migration.sol cannot be called by it. Hence cannot be setCompleted()
Recall that the above named function is restricted to only the owner who is the msg.sender at deployment. Current Migration.sol is not the deployer hence lacks this access.
cannot be upgraded
setCompleted() is restricted & cannot be called by current Migration.sol
This implies that the migration.sol contract is unUpgradeable.
The text was updated successfully, but these errors were encountered:
Does not follow submission guideline - no POC, but mostly marking as invalid as Migrations.sol should not be upgradeable at all. Migrations is just a counter, and using is an opt-in for migration scripts that can (but need not to) check whether a previous migration script was applied (context dependent).
Github username: @kodakr
Twitter username: @Kodak_Rome
Submission hash (on-chain): 0x583795c4d11c46f50c86555838ec16cca3bc363cff2e84a4a26a7cfb5270e867
Severity: high
Description:
In eth\contracts\Migrations.sol::upgrade(), This implementation which is an exact copy of the current Migration.sol cannot be called by it. Hence cannot be
setCompleted()
Recall that the above named function is restricted to only the owner who is the
msg.sender
at deployment. Current Migration.sol is not the deployer hence lacks this access.setCompleted()
is restricted & cannot be called by current Migration.solThis implies that the migration.sol contract is unUpgradeable.
The text was updated successfully, but these errors were encountered: