Skip to content

Commit

Permalink
fix detection of roles v1 mod
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Feb 16, 2024
1 parent 37a47fc commit e29b1c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extension/src/connections/useZodiacModules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ async function fetchModules(

const implementationAddress = mastercopyAddress || moduleAddress

// 'roles' is the old name for roles_v1 is still configured as an alias in the zodiac package for backwards compatibility
if (type === KnownContracts.ROLES) type = KnownContracts.ROLES_V1

if (!type) {
// Not a proxy to one of our master copies. It might be a custom deployment.
// We try to detect selectors from byte code and match them against the ABIs of known Zodiac modules.
Expand Down

0 comments on commit e29b1c8

Please sign in to comment.