-
Notifications
You must be signed in to change notification settings - Fork 8
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
namespaced storage #22
Conversation
|
address internal s_rateLimitAdmin; | ||
|
||
/// @custom:storage-location erc7201:aave-ccip.storage.UpgradeableTokenPool | ||
struct UpgradeableTokenPoolStorage { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are not all of this part of TokenPool storage layout? so we don't need this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the storage for this contract tho, i'm not sure i follow
(we don't inherit from TokenPool
in UpgradeableTokenPool
, we copy paste and add modifications on top)
/// @custom:storage-location erc7201:aave-ccip.storage.UpgradeableLockReleaseTokenPool | ||
struct UpgradeableLockReleaseTokenPoolStorage { | ||
/// @notice The address of the rebalancer. | ||
address s_rebalancer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
Closing, as we are leaning towards using an storage gap (included in #20) |
erc7201 style storage layout