Skip to content

Conversation

@adamegyed
Copy link
Contributor

@adamegyed adamegyed commented Feb 12, 2025

Motivation

The ERC-6900 specification does not require that the account perform an ERC-165 interface check when installing a module, just that the module must implement that interface, Per a discussion in the working group and with the OpenZeppelin team, we will remove the onchain check during installation from the reference implementation to avoid encouraging this non-standard behavior.

Solution

Remove the ERC-165 interface check during _onInstall in ModuleManagerInternals.

@octane-security-app
Copy link

Summary by Octane

New Contracts

No new contracts were added in this PR.

Updated Contracts

  • ModuleManagerInternals.sol: Removed interface checks from module installation and streamlined the _onInstall function without affecting its essential features.

🔗 Commit Hash: cafc5a7

@octane-security-app

This comment was marked as resolved.

@adamegyed adamegyed merged commit f1d6d01 into develop Feb 14, 2025
4 checks passed
@adamegyed adamegyed deleted the adam/remove-onchain-165-check branch February 14, 2025 17:13
@0xrubes
Copy link

0xrubes commented Feb 18, 2025

Thanks for taking care of this!

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.

4 participants