diff --git a/contracts/state/TSSUpgradeable.sol b/contracts/state/TSSUpgradeable.sol index 827f917..12eda72 100644 --- a/contracts/state/TSSUpgradeable.sol +++ b/contracts/state/TSSUpgradeable.sol @@ -15,14 +15,14 @@ abstract contract TSSUpgradeable is UUPSSignableUpgradeable, TSSSigner { return _getImplementation(); } - function _authorizeUpgrade(address) internal pure virtual override { + function _authorizeUpgrade(address) internal virtual override { revert("Upgradeable: This upgrade method is off"); } function _authorizeUpgrade( address newImplementation_, bytes calldata proof_ - ) internal override { + ) internal virtual override { require(newImplementation_ != address(0), "Upgradeable: Zero address"); uint256 nonce_ = _getAndIncrementNonce(MAGIC_ID); diff --git a/package-lock.json b/package-lock.json index 632ae59..6bbba48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rarimo/passport-contracts", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rarimo/passport-contracts", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "dependencies": { "@iden3/contracts": "1.4.7", diff --git a/package.json b/package.json index 8d71f57..038d7c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rarimo/passport-contracts", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "author": "Zero Block Global Foundation", "readme": "README.md",