Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non louping diamonds #6

Merged
merged 6 commits into from
Apr 20, 2022
Merged

Non louping diamonds #6

merged 6 commits into from
Apr 20, 2022

Conversation

zomglings
Copy link
Contributor

Changes

Inspector Facet now supports inspection of EIP2535 Diamond proxies which don't implement the DiamondLoupeFacet interface.

How to test these changes?

Tested live against a contract that does have DiamondLoupeFacet attached to make sure it works.

Related issues

Resolves #2

This is the setup for being able to read facet info even for Diamond
contracts that do not mounte DiamondLoupeFacet.
`eth-brownie` strategy of pinning versions of dependencies makes it very
hard to add other dependencies. Created an issue for this on the brownie
repo: eth-brownie/brownie#1516
This means that Inspector Facet now works with Diamond proxies that
don't have a mounted `DiamondLoupeFacet`.
@zomglings zomglings merged commit 8cfeb5f into main Apr 20, 2022
@zomglings zomglings deleted the non-louping-diamonds branch April 20, 2022 12:27
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.

Add support for Diamond contracts which do not mount the DiamondLoupeFacet
1 participant