• 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
..
contracts Loading commit data...
deploy Loading commit data...
deploy-config Loading commit data...
deployments Loading commit data...
docs Loading commit data...
genesis Loading commit data...
scripts Loading commit data...
src Loading commit data...
tasks Loading commit data...
test Loading commit data...
.depcheckrc Loading commit data...
.env.example Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.lintstagedrc.yml Loading commit data...
.prettierignore Loading commit data...
.prettierrc.js Loading commit data...
.solcover.js Loading commit data...
.solhint.json Loading commit data...
.solhintignore Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
codechecks.yml Loading commit data...
hardhat.config.ts Loading commit data...
package.json Loading commit data...
slither.config.json Loading commit data...
tsconfig.json Loading commit data...