Skip to content

Limit IPAccount Storage Writes to Registered Modules#103

Merged
LeoHChen merged 4 commits intostoryprotocol:mainfrom
kingster-will:v1/ipaccount-storage-limit
Apr 15, 2024
Merged

Limit IPAccount Storage Writes to Registered Modules#103
LeoHChen merged 4 commits intostoryprotocol:mainfrom
kingster-will:v1/ipaccount-storage-limit

Conversation

@kingster-will
Copy link
Copy Markdown
Collaborator

@kingster-will kingster-will commented Apr 15, 2024

This pull request introduces changes to the IPAccount storage. Here's a brief overview of the changes:

We have now limited the ability to write into the IPAccount storage. With this update, only register modules and core registries will have the write access.

Closes #84

Comment thread script/foundry/utils/DeployHelper.sol
Copy link
Copy Markdown

@LeoHChen LeoHChen left a comment

Choose a reason for hiding this comment

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

LGTM in general, is there any security risk with create3 to deploy the accountimpl? do we want to use the same accountimpl cross multiple chains?

Copy link
Copy Markdown

@jdubpark jdubpark left a comment

Choose a reason for hiding this comment

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

nit: would be cleaner to check in CREATE3 code in #104

Comment thread contracts/IPAccountStorage.sol
Comment thread test/foundry/IPAccountStorage.t.sol
@LeoHChen
Copy link
Copy Markdown

please rebase the code.

@kingster-will kingster-will changed the title Limit IPAccount Storage Writes to Registered Modules and Introduce CREATE3 Limit IPAccount Storage Writes to Registered Modules Apr 15, 2024
@kingster-will kingster-will force-pushed the v1/ipaccount-storage-limit branch from 2d2ee14 to dcb4f8f Compare April 15, 2024 11:55
@kingster-will
Copy link
Copy Markdown
Collaborator Author

please rebase the code.

Rebased

@LeoHChen LeoHChen merged commit 6d7bed4 into storyprotocol:main Apr 15, 2024
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.

Anyone can write to any IPAccounts using their namespace

3 participants