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

Fix use of max number of components in registry #44

Merged
merged 4 commits into from
Aug 21, 2022

Conversation

doerfli
Copy link
Contributor

@doerfli doerfli commented Aug 19, 2022

No description provided.

@@ -93,6 +93,14 @@ contract InstanceOperatorService is
_registry.deregisterInRelease(_release, _contractName);
}

function contracts() external view override returns (uint256 numberOfContracts) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these functions belong into InstanceService, not instanceOperatorService. InstanceOperatorService should only contain state changing functions that are linked to persmissions from the InstanceOperator

@doerfli doerfli merged commit b7a2666 into master Aug 21, 2022
@doerfli doerfli deleted the bugfix/max-number-of-components branch August 21, 2022 19:52
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