-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VAL-118 Make PoolAccessControl and PoolAdminAccessControl upgradeable #137
Conversation
address factory_, | ||
address borrower_, | ||
address pool_, | ||
address liquidityAsset_, | ||
ILoanSettings memory settings_ | ||
) public virtual initializer { | ||
_serviceConfiguration = IServiceConfiguration(serviceConfiguration); | ||
_serviceConfiguration = IServiceConfiguration(serviceConfiguration_); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable shadowing fix
@@ -149,7 +149,7 @@ contract Pool is IPool, ERC20Upgradeable, IBeaconImplementation { | |||
poolController = IPoolController( | |||
IPoolControllerFactory(poolControllerFactory).createController( | |||
address(this), | |||
serviceConfiguration, | |||
serviceConfiguration_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same - shadowing warning
DeployerUUPSUpgradeable | ||
{ | ||
function initialize() public initializer { | ||
__EIP712_init("VerificationRegistry", "1.0"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since VeriteAccessControl now uses the contracts-upgradeable, this had to be updated too
This also adds some dedicated tests for the base / abstract classes used throughout.