Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Cleanup and Minimize Base Module Attributes #81

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

kingster-will
Copy link
Contributor

In this PR, it focus on refining the base module by cleaning up and minimizing its attributes.

BaseModule supposed to be inherited by all modules, It will force all modules has some common attributes or functions. we need to decide which attributes/functions require all modules to have, more smaller scope more better. for example, not all modules need access to LicenseModule or LicenseRegistry.

Not interface change introduced in this PR.

Copy link
Contributor

@Spablob Spablob left a comment

Choose a reason for hiding this comment

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

LGTM

@kingster-will kingster-will merged commit 2dc30e6 into storyprotocol:main Feb 7, 2024
1 check passed
@Spablob
Copy link
Contributor

Spablob commented Feb 7, 2024

Just realized that we could even go further and merge BaseModule and AccessControlled - given that AccessControlled does not need to be called on its own independently from BaseModule. Can be a future improvement.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants