Skip to content

Commit

Permalink
Merge branch 'master' into gene/hh-434
Browse files Browse the repository at this point in the history
  • Loading branch information
feuGeneA committed Aug 11, 2022
2 parents 1ce4e8b + 71fdf39 commit b360ed3
Show file tree
Hide file tree
Showing 283 changed files with 4,906 additions and 2,398 deletions.
5 changes: 0 additions & 5 deletions .changeset/beige-cherries-glow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-jokes-thank.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/fluffy-crabs-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"hardhat": patch
---

- Fixed a bug that was causing `console.log()` to print `undefined` instead of an empty line (issue #2721)
- Made `console.log` ABI-compliant (issue #2666)
5 changes: 0 additions & 5 deletions .changeset/modern-peaches-sneeze.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-balloons-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-foxes-cough.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/seven-pumas-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nomicfoundation/hardhat-chai-matchers": patch
---

Failed assertions now show a more useful stack trace
5 changes: 5 additions & 0 deletions .changeset/slimy-weeks-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nomiclabs/hardhat-ethers": patch
---

getContractAt() now throws an error if the address is not of a contract.
5 changes: 0 additions & 5 deletions .changeset/tidy-flies-help.md

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/stale-issues-and-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
steps:
- uses: actions/stale@v5
with:
stale-issue-message: "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."
stale-pr-message: "This PR was marked as stale because it didn't have any activity in the last 30 days. Please excuse us if we didn't have enough time to review it and get it merged. If you are still interested in getting these changes applied, please leave a comment indicating so. Otherwise, it will be closed in 7 days."
stale-issue-message: ""
stale-pr-message: ""
close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity."
close-pr-message: "This PR was closed because it has been stalled for 7 days with no activity."
days-before-stale: 30
days-before-close: 7
days-before-close: -1
exempt-issue-labels: not-stale
exempt-pr-labels: not-stale
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"remark-prism": "^1.3.6",
"remark-unwrap-images": "^3.0.1",
"ts-node": "^10.8.0",
"undici": "^5.5.1",
"undici": "^5.8.0",
"unist-util-visit": "^4.1.0"
},
"devDependencies": {
Expand Down
Binary file modified docs/public/front-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 34 additions & 21 deletions docs/redirects.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,27 @@ const customRedirects = [
destination: "/hardhat-runner/docs/config",
permanent: false
},
{
source: "/plugins",
destination: "/hardhat-runner/plugins",
permanent: false
},
{
source: "/getting-started",
destination: "/hardhat-runner/docs/getting-started#overview",
permanent: false
},
{ source: "/links/stack-traces", destination: "/", permanent: false },
{
source: "/reportbug",
destination: "https://github.com/nomiclabs/hardhat/issues/new",
permanent: false
},
{
source: "/report-bug",
destination: "https://github.com/nomiclabs/hardhat/issues/new",
permanent: false
},
{
source: "/console-log",
destination: "/hardhat-network/#console.log",
Expand Down Expand Up @@ -61,8 +76,18 @@ const customRedirects = [
destination: "/hardhat-network/docs/metamask-issue",
permanent: false
},
{
source: "/migrate-from-waffle",
destination: "/hardhat-chai-matchers/docs/migrate-from-waffle",
permanent: false
},
{
source: "/custom-hardfork-history",
destination: "/hardhat-network/docs/guides/forking-other-networks.html#using-a-custom-hardfork-history",
permanent: false
},

// top-level projects URLs
// top-level component URLs
{
source: "/hardhat-runner",
destination: "/hardhat-runner/docs/getting-started#overview",
Expand Down Expand Up @@ -127,12 +152,7 @@ const customRedirects = [
},
{
source: "/guides/mainnet-forking",
destination: "/hardhat-network/guides/forking-other-networks",
permanent: false
},
{
source: "/getting-started",
destination: "/hardhat-runner/docs/getting-started#overview",
destination: "/hardhat-network/docs/guides/forking-other-networks",
permanent: false
},
{
Expand Down Expand Up @@ -172,12 +192,7 @@ const customRedirects = [
},
{
source: "/reference/solidity-support",
destination: "hardhat-runner/docs/reference/solidity-support",
permanent: false
},
{
source: "/plugins",
destination: "/hardhat-runner/plugins",
destination: "/hardhat-runner/docs/reference/solidity-support",
permanent: false
},
{
Expand All @@ -198,7 +213,12 @@ const customRedirects = [
},
{
source: "/guides/:slug(waffle-testing|truffle-testing|truffle-migration|ganache-tests)",
destination: "/other-guides/:slug",
destination: "/hardhat-runner/docs/other-guides/:slug",
permanent: false
},
{
source: "/guides/parallel-tests",
destination: "/hardhat-runner/docs/guides/test-contracts#running-tests-in-parallel",
permanent: false
},
{
Expand Down Expand Up @@ -231,13 +251,6 @@ const customRedirects = [
destination: "/hardhat-network-helpers/docs/:slug",
permanent: false
},

{
source: "/guides/parallel-tests",
destination: "/hardhat-runner/docs/guides/test-contracts#running-tests-in-parallel",
permanent: false
},

...loadErrorRedirects()
];

Expand Down
10 changes: 10 additions & 0 deletions docs/src/assets/animation/desktop/hero-back_texture-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b360ed3

Please sign in to comment.