• Mark Tyneway's avatar
    contracts: add inspect hh task (#3301) · 0c2719f8
    Mark Tyneway authored
    This hardhat task mirrors functionality of `forge inspect`
    where you can pass a contract name and a compiler output field
    and it will print that field for you. This will be useful for
    building sets of `storageLayout`s and `methodIdentifiers` to
    compare against the bedrock contracts.
    
    Example usage:
    
    ```
    $ npx hardhat inspect AddressDictator storageLayout
    ```
    
    Where `AddressDictator` can be any contract in the package
    and `storageLayout` can be one of the following:
    
    - abi
    - bytecode
    - deployedBytecode
    - storageLayout
    - methodIdentifiers
    
    This is one of the more useful features of foundry so porting it
    to hardhat will make storageLayout inspections much easier.
    Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
    0c2719f8
Name
Last commit
Last update
..
actor-tests Loading commit data...
common-ts Loading commit data...
contracts Loading commit data...
contracts-bedrock Loading commit data...
contracts-governance Loading commit data...
contracts-periphery Loading commit data...
core-utils Loading commit data...
data-transport-layer Loading commit data...
drippie-mon Loading commit data...
fault-detector Loading commit data...
hardhat-deploy-config Loading commit data...
integration-tests-bedrock Loading commit data...
message-relayer Loading commit data...
replica-healthcheck Loading commit data...
sdk Loading commit data...