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

feat: reorganize traits to remove redundant functions from contracts #283

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

lekhovitsky
Copy link
Collaborator

Previously, ACLNonReentrantTrait was a Swiss knife that combined all traits we commonly use, which had its benefits, but resulted in contracts having functions that they never use (like setController in CreditFacadeV3 or pause in PoolQuotaKeeperV3), which is not really good considering that contract size limit, well, exists. This PR solves the original issue and makes separation of all functionality much cleaner.

@lekhovitsky lekhovitsky merged commit dcf879b into next Sep 1, 2024
2 checks passed
@lekhovitsky lekhovitsky deleted the reorganize-traits branch September 1, 2024 12:47
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.

1 participant