github NomicFoundation/hardhat hardhat@2.9.8
Hardhat v2.9.8

latest releases: hardhat@2.22.12, hardhat@2.22.11, @nomicfoundation/hardhat-verify@2.0.11...
2 years ago

This release adds support for custom HTTP headers in the forking configuration. This can be useful to, for example, use nodes that have some kind of authorization mechanism:

module.exports = {
  networks: {
    hardhat: {
      forking: {
        url: "...",
        httpHeaders: {
          Authorization: "Bearer token"
        }
      }
    }
  }
};

Thanks @TimDaub for implementing this!

This version also exposes the formArtifactPathFromFullyQualifiedName method in the Artifacts public interface.

Don't miss a new hardhat release

NewReleases is sending notifications on new releases.