Skip to content

Commit

Permalink
fix: proxy detection
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamier committed Oct 17, 2024
1 parent 4ee5f0a commit d033919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/erc7730/common/abi.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ def get_functions(abis: list[ABI]) -> Functions:
for abi in abis:
if abi.type == "function":
functions.functions[function_to_selector(abi)] = abi
if abi.name in ("proxyType", "getImplementation", "implementation"):
if abi.name in ("proxyType", "getImplementation", "implementation", "proxy__getImplementation"):
functions.proxy = True
return functions

0 comments on commit d033919

Please sign in to comment.