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

Add validations for namespaced storage layout #876

Merged
merged 135 commits into from
Sep 27, 2023

Conversation

ericglau
Copy link
Member

@ericglau ericglau commented Sep 7, 2023

Adds upgrade safety validations for implementations that use ERC-7201: Namespaced Storage Layout.

@socket-security
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
solidity-ast 0.4.52 None +41 4.11 MB frangio

Copy link
Contributor

@frangio frangio left a comment

Choose a reason for hiding this comment

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

Sorry these are my final comments. All relatively minor I think.

packages/core/CHANGELOG.md Outdated Show resolved Hide resolved
packages/core/src/storage/extract.ts Outdated Show resolved Hide resolved
packages/core/src/storage/extract.ts Outdated Show resolved Hide resolved
packages/core/src/storage/extract.ts Show resolved Hide resolved
packages/core/src/utils/make-namespaced.ts Outdated Show resolved Hide resolved
packages/core/src/storage/namespace.ts Show resolved Hide resolved
packages/core/src/storage/namespace.ts Outdated Show resolved Hide resolved
packages/core/src/storage/namespace.ts Show resolved Hide resolved
packages/core/src/storage/namespace.ts Outdated Show resolved Hide resolved
packages/core/src/storage/namespace.ts Outdated Show resolved Hide resolved
@ericglau ericglau requested a review from frangio September 26, 2023 21:11
Copy link
Contributor

@frangio frangio left a comment

Choose a reason for hiding this comment

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

LFG!

@ericglau ericglau merged commit 754f203 into OpenZeppelin:master Sep 27, 2023
9 checks passed
@ericglau ericglau deleted the namespaced branch September 27, 2023 14:44
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.

2 participants