diff --git a/.changeset/sixty-fireants-greet.md b/.changeset/sixty-fireants-greet.md new file mode 100644 index 0000000000..692ba351df --- /dev/null +++ b/.changeset/sixty-fireants-greet.md @@ -0,0 +1,5 @@ +--- +"hardhat": patch +--- + +Restored the message linking to the 2024 solidity survey diff --git a/docs/redirects.config.js b/docs/redirects.config.js index efaeed44af..63d9025053 100644 --- a/docs/redirects.config.js +++ b/docs/redirects.config.js @@ -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: diff --git a/packages/hardhat-core/src/internal/cli/project-creation.ts b/packages/hardhat-core/src/internal/cli/project-creation.ts index 24cb7a3d4c..4cf3c880d1 100644 --- a/packages/hardhat-core/src/internal/cli/project-creation.ts +++ b/packages/hardhat-core/src/internal/cli/project-creation.ts @@ -372,7 +372,7 @@ 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; } @@ -380,7 +380,7 @@ export function showSoliditySurveyMessage() { 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" ) ); }