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

Modify IA storage slot on proxies #187

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Conversation

Joachim-Lebrun
Copy link
Collaborator

Proxies were using the storage slot from the ERC-1822 proxy pattern, but instead of using it to store direct implementation we used it to store the address of the Implementation Authority.
The fact of using this storage slot created issues with the explorers such as polygonscan which believed we used ERC-1822 and displayed the ABI of the Implementation Authority instead of the ABI of the implementation contracts.

This PR proposes a new storage slot 0x821f3e4d3d679f19eacc940c87acf846ea6eae24a63058ea750304437a62aafc which is the result of keccak256("ERC-3643.proxy.beacon")

@Joachim-Lebrun Joachim-Lebrun self-assigned this Feb 12, 2024
@Joachim-Lebrun Joachim-Lebrun added bug Something isn't working version update labels Feb 12, 2024
Copy link
Contributor

@aliarbak aliarbak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@Joachim-Lebrun Joachim-Lebrun merged commit 6176e40 into develop Feb 12, 2024
3 checks passed
@Joachim-Lebrun Joachim-Lebrun deleted the beacon-storage-slot branch February 12, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants