Skip to content

Commit 0e5c8d7

Browse files
committed
chore: restore the solidity survey message (2024)
1 parent e4e2b86 commit 0e5c8d7

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.changeset/sixty-fireants-greet.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": patch
3+
---
4+
5+
Restored the message linking to the 2024 solidity survey

docs/redirects.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ const customRedirects = [
105105
"https://cryptpad.fr/form/#/2/form/view/pV-DdryeJoYUWvW+gXsFaMNynEY7t5mUsgeD1urgwSE",
106106
permanent: false,
107107
},
108+
{
109+
source: "/solidity-survey-2024",
110+
destination:
111+
"https://cryptpad.fr/form/#/2/form/view/9xjPVmdv8z0Cyyh1ejseMQ0igmx-TedH5CPST3PhRUk",
112+
permanent: false,
113+
},
108114
{
109115
source: "/solc-viair",
110116
destination:

packages/hardhat-core/src/internal/cli/project-creation.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -372,15 +372,15 @@ function showStarOnGitHubMessage() {
372372
}
373373

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

380380
console.log();
381381
console.log(
382382
picocolors.cyan(
383-
"Please take a moment to complete the 2023 Solidity Survey: https://hardhat.org/solidity-survey-2023"
383+
"Please take a moment to complete the 2024 Solidity Survey: https://hardhat.org/solidity-survey-2024"
384384
)
385385
);
386386
}

0 commit comments

Comments
 (0)