diff --git a/contracts/contracts-registry/pools/AbstractPoolContractsRegistry.sol b/contracts/contracts-registry/pools/AbstractPoolContractsRegistry.sol index 3df701fd..e1cf7f1e 100644 --- a/contracts/contracts-registry/pools/AbstractPoolContractsRegistry.sol +++ b/contracts/contracts-registry/pools/AbstractPoolContractsRegistry.sol @@ -124,7 +124,7 @@ abstract contract AbstractPoolContractsRegistry is Initializable, AbstractDepend ) internal virtual { for (uint256 i = 0; i < names_.length; i++) { if (address(_beacons[names_[i]]) == address(0)) { - _beacons[names_[i]] = ProxyBeacon(_deployProxyBeacon(newImplementations_[i])); + _beacons[names_[i]] = ProxyBeacon(_deployProxyBeacon()); } if (_beacons[names_[i]].implementation() != newImplementations_[i]) { @@ -184,10 +184,9 @@ abstract contract AbstractPoolContractsRegistry is Initializable, AbstractDepend /** * @notice The utility function to deploy a Proxy Beacon contract to be used within the registry - * @param implementation_ the address of the implementation * @return the address of a Proxy Beacon */ - function _deployProxyBeacon(address implementation_) internal virtual returns (address) { + function _deployProxyBeacon() internal virtual returns (address) { return address(new ProxyBeacon()); } } diff --git a/contracts/contracts-registry/pools/proxy/ProxyBeacon.sol b/contracts/contracts-registry/pools/proxy/ProxyBeacon.sol index 48b894ac..f907d714 100644 --- a/contracts/contracts-registry/pools/proxy/ProxyBeacon.sol +++ b/contracts/contracts-registry/pools/proxy/ProxyBeacon.sol @@ -35,7 +35,7 @@ contract ProxyBeacon is IBeacon { emit Upgraded(newImplementation_); } - function implementation() external view override returns (address) { + function implementation() public view override returns (address) { return _implementation; } } diff --git a/contracts/package.json b/contracts/package.json index 74f20eb9..8ad780e3 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@solarity/solidity-lib", - "version": "2.6.3", + "version": "2.6.4", "license": "MIT", "author": "Distributed Lab", "readme": "README.md", diff --git a/package-lock.json b/package-lock.json index 3b1dd784..7b1a975f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@solarity/solidity-lib", - "version": "2.6.3", + "version": "2.6.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@solarity/solidity-lib", - "version": "2.6.3", + "version": "2.6.4", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 7845978b..7875f247 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solarity/solidity-lib", - "version": "2.6.3", + "version": "2.6.4", "license": "MIT", "author": "Distributed Lab", "description": "Solidity Library by Distributed Lab",