Skip to content

Conversation

@filmakarov
Copy link
Collaborator

@filmakarov filmakarov commented Sep 30, 2025

PR-Codex overview

This PR primarily focuses on refactoring the constructor of the ModuleManager contract, enhancing the retrieval of the default validator, and cleaning up unused functions related to pre-validation hooks.

Detailed summary

  • Updated the constructor to use parameter names with a trailing underscore.
  • Introduced getDefaultValidator() function to retrieve the default validator address.
  • Removed the old _uninstallPreValidationHook() function parameters.
  • Reintroduced _getPreValidationHook() and _withPreValidationHook() with improved logic.
  • Added back _getEnableModeDataHash() function with updated visibility.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@openzeppelin-code
Copy link

chore: add method to get the default validator

Generated at commit: d425b80940508dfb09cc8930fa42d5fdae8edc82

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
7
30
39

For more details view the full report in OpenZeppelin Code Inspector

@filmakarov filmakarov merged commit 943bf7f into dev Oct 21, 2025
4 of 8 checks passed
@filmakarov filmakarov deleted the chore/add-method-get-defualt-validator branch October 21, 2025 08:20
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