-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
C-forgeCommand: forgeCommand: forgeCmd-forge-inspectCommand: forge inspectCommand: forge inspectT-blockedType: blockedType: blockedT-featureType: featureType: feature
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.2.0 (89f0fb9 2024-04-14T00:20:50.727844499Z)
What command(s) is the bug in?
forge inspect
Operating System
Linux
Describe the bug
https://eips.ethereum.org/EIPS/eip-7201 introduces a new (namespace) approach for storage layout esp. for upgradeable contracts. This is already used in OZ v5.
forge inspect storage
however does not list such namespaced storage.
To replicate
forge inspect storage of ERC20 based on https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/master/contracts/token/ERC20/ERC20Upgradeable.sol
ideal fix
forge inspect storage --pretty
appends the ERC7201 based storage to the list.
zerosnacks, kaihiroi, Vancelott and zilayo
Metadata
Metadata
Assignees
Labels
C-forgeCommand: forgeCommand: forgeCmd-forge-inspectCommand: forge inspectCommand: forge inspectT-blockedType: blockedType: blockedT-featureType: featureType: feature
Type
Projects
Status
Blocked