• 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
..
README.md Loading commit data...
big-ways-push.md Loading commit data...
config.json Loading commit data...
curvy-chefs-relax.md Loading commit data...
curvy-pillows-boil.md Loading commit data...
eight-socks-hope.md Loading commit data...
fast-ligers-fry.md Loading commit data...
fifty-books-remain.md Loading commit data...
hot-cups-impress.md Loading commit data...
large-pets-teach.md Loading commit data...
lazy-singers-sing.md Loading commit data...
lemon-houses-chew.md Loading commit data...
lovely-gorillas-destroy.md Loading commit data...
moody-yaks-listen.md Loading commit data...
ninety-experts-wave.md Loading commit data...
polite-flies-shop.md Loading commit data...
poor-jobs-glow.md Loading commit data...
pretty-clocks-repeat.md Loading commit data...
real-ravens-clean.md Loading commit data...
rude-ducks-cry.md Loading commit data...
silent-comics-flash.md Loading commit data...
sixty-cougars-design.md Loading commit data...
thick-books-fail.md Loading commit data...
wet-monkeys-tap.md Loading commit data...