Skip to content

Commit

Permalink
chore: restore the solidity survey message (2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Jan 10, 2025
1 parent e4e2b86 commit 0e5c8d7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-fireants-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hardhat": patch
---

Restored the message linking to the 2024 solidity survey
6 changes: 6 additions & 0 deletions docs/redirects.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ const customRedirects = [
"https://cryptpad.fr/form/#/2/form/view/pV-DdryeJoYUWvW+gXsFaMNynEY7t5mUsgeD1urgwSE",
permanent: false,
},
{
source: "/solidity-survey-2024",
destination:
"https://cryptpad.fr/form/#/2/form/view/9xjPVmdv8z0Cyyh1ejseMQ0igmx-TedH5CPST3PhRUk",
permanent: false,
},
{
source: "/solc-viair",
destination:
Expand Down
4 changes: 2 additions & 2 deletions packages/hardhat-core/src/internal/cli/project-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,15 +372,15 @@ function showStarOnGitHubMessage() {
}

export function showSoliditySurveyMessage() {
if (new Date() > new Date("2024-01-07 23:39")) {
if (new Date() > new Date("2025-01-31 23:39")) {
// the survey has finished
return;
}

console.log();
console.log(
picocolors.cyan(
"Please take a moment to complete the 2023 Solidity Survey: https://hardhat.org/solidity-survey-2023"
"Please take a moment to complete the 2024 Solidity Survey: https://hardhat.org/solidity-survey-2024"
)
);
}
Expand Down

0 comments on commit 0e5c8d7

Please sign in to comment.