Skip to content
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

Merged
merged 8 commits into from
Dec 8, 2022
Merged

Conversation

ams9198
Copy link
Contributor

@ams9198 ams9198 commented Dec 8, 2022

This also adds some dedicated tests for the base / abstract classes used throughout.

address factory_,
address borrower_,
address pool_,
address liquidityAsset_,
ILoanSettings memory settings_
) public virtual initializer {
_serviceConfiguration = IServiceConfiguration(serviceConfiguration);
_serviceConfiguration = IServiceConfiguration(serviceConfiguration_);
Copy link
Contributor Author

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_,
Copy link
Contributor Author

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");
Copy link
Contributor Author

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

@ams9198 ams9198 merged commit 167e9d7 into circlefin:master Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants