-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Summary
ERC-7201 establishes @custom:storage-location. While proposing their own formula, they allow for other formulas.
Future EIPs may define new formulas with unique formula identifiers. It is recommended to follow the convention set in this EIP and use an identifier of the format erc1234.
I think the bytes9 formula used in IthacaAccount is good in contexts where codesize is important, and so its formula should be standardized.
The reason to do this is:
The Solidity compiler includes this annotation in the AST
Timeline
Idea (long term)
Security Considerations
n/a
Proposed Solution
@custom:storage-location ercXXXX:ITHACA_ACCOUNT_STORAGE
struct AccountStorage {
if you don't want to standardize it, I suggest:
@custom:storage-location ithacaxyz:ITHACA_ACCOUNT_STORAGE
struct AccountStorage {
Gas Considerations
No response
Implementation Notes
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request