diff --git a/contracts/contracts-registry/pools/AbstractPoolContractsRegistry.sol b/contracts/contracts-registry/pools/AbstractPoolContractsRegistry.sol index e1cf7f1e..3df701fd 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()); + _beacons[names_[i]] = ProxyBeacon(_deployProxyBeacon(newImplementations_[i])); } if (_beacons[names_[i]].implementation() != newImplementations_[i]) { @@ -184,9 +184,10 @@ 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() internal virtual returns (address) { + function _deployProxyBeacon(address implementation_) internal virtual returns (address) { return address(new ProxyBeacon()); } } diff --git a/contracts/package.json b/contracts/package.json index 67f2a730..74f20eb9 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,6 +1,6 @@ { "name": "@solarity/solidity-lib", - "version": "2.6.2", + "version": "2.6.3", "license": "MIT", "author": "Distributed Lab", "readme": "README.md", diff --git a/package-lock.json b/package-lock.json index 4005cdac..3b1dd784 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@solarity/solidity-lib", - "version": "2.6.1", + "version": "2.6.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@solarity/solidity-lib", - "version": "2.6.1", + "version": "2.6.3", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index d332037b..7845978b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solarity/solidity-lib", - "version": "2.6.2", + "version": "2.6.3", "license": "MIT", "author": "Distributed Lab", "description": "Solidity Library by Distributed Lab",