Skip to content

universal proxy support for function identifier lookup#1327

Open
wighawag wants to merge 3 commits into
NomicFoundation:mainfrom
wighawag:feat/universal-proxy-function-selector
Open

universal proxy support for function identifier lookup#1327
wighawag wants to merge 3 commits into
NomicFoundation:mainfrom
wighawag:feat/universal-proxy-function-selector

Conversation

@wighawag

@wighawag wighawag commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

fix NomicFoundation/hardhat#7434

better than #1324 as it supports any proxy, diamond ...

it is also simpler

Note that I modified the proxy chain detection logic to only match for the first 4 bytes so it supports things like clone-with-immutable-args that append data to the calldata

@changeset-bot

changeset-bot Bot commented Mar 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7c19076

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nomicfoundation/edr Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Wodann

Wodann commented Mar 13, 2026

Copy link
Copy Markdown
Member

Thank you for the PR.

My review is delayed a little as I've been working on similar parts of the code to resolve #1325. Once I've finished and merged those changes, I'll resolve conflicts on your PR and give any additional feedback I might have.

@wighawag

Copy link
Copy Markdown
Contributor Author

Hey @Wodann any update on this ? was it integrated in other PR ?

@Wodann

Wodann commented Apr 28, 2026

Copy link
Copy Markdown
Member

Hey @Wodann any update on this ? was it integrated in other PR ?

Sorry for the delay!

I incorporated the fix as part of #1333. This has since been released in Hardhat.

I do still need to rebase this PR to make sure that your tests are added and validated

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.

hardhat is not able to figure out function selector even though they are available as part of the source artifacts

2 participants