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.