hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Documentation about the difference between accessing the HRE implicitly from global or explicitly

Open alcuadrado opened this issue 4 years ago • 1 comments

You have two ways of accessing the HRE in Hardhat: implicitly (from global), or explicitly (importing it / as a task param).

Our documentation is very inconsistent about this, and it can lead to confusion to users, and to PRs like #1753 or this one that increase the inconsistency even further.

We should come up with a unified way of explaining this (e.g. always access things implicitly), apply it everywhere, and create a section in the documentation explaining each way of doing things and their limitations..

alcuadrado avatar Aug 04 '21 12:08 alcuadrado

This issue was marked as stale because it didn't have any activity in the last 30 days. If you think it's still relevant, please leave a comment indicating so. Otherwise, it will be closed in 7 days.

github-actions[bot] avatar Aug 05 '22 08:08 github-actions[bot]