Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
9873 commits
Select commit Hold shift + click to select a range
3ca4143
Revert "chore: bump pnpm version for all CI"
ChristopherDedominici May 14, 2024
31fce9a
Revert "chore: bump the pnpm version to 9"
ChristopherDedominici May 14, 2024
21869fd
Add hardhat-errors package
alcuadrado May 10, 2024
09f6ab7
Port `HardhatError` to v-next
alcuadrado May 10, 2024
830b4ff
Initial commit of `v-next`'s core
alcuadrado May 9, 2024
9b059b3
re-generate pnpm-lock
ChristopherDedominici May 14, 2024
cadb80c
use HardhatError.isHardhatError instead of instanceof
ChristopherDedominici May 14, 2024
bd4ace8
fix failing test: return was deleted by mistake
ChristopherDedominici May 14, 2024
c6f647f
Revert "fix failing test: return was deleted by mistake"
ChristopherDedominici May 14, 2024
440045f
Revert "replace 'node:fs/promises' with hh-utils and remove unused fu…
ChristopherDedominici May 14, 2024
de42326
Revert "replace fsExtra in artifacts with hh-utils + remove sync func…
ChristopherDedominici May 14, 2024
870d823
Revert "replace fsExtra with the hh-utils functions"
ChristopherDedominici May 14, 2024
1456e52
replace 'workspace' with 3.0.0 in package.json
ChristopherDedominici May 14, 2024
d1cd303
remove TODOs used to avoid compilation errors
ChristopherDedominici May 14, 2024
db5eb6f
update pnpm-lock file
ChristopherDedominici May 14, 2024
6ea3db3
Fix main's Lint workflow
alcuadrado May 14, 2024
70499c9
Add examples/ to the madge script
alcuadrado May 12, 2024
23ef924
Add a script to diff the expected and actual package.json#exports
alcuadrado May 12, 2024
3a9941e
Introduce the global parameters and task systems
alcuadrado May 12, 2024
8cb39c3
Refactor the project into multiple packages
alcuadrado May 13, 2024
cdc971b
Fix eslint setup
alcuadrado May 14, 2024
e0bfa77
Bump undici
alcuadrado May 14, 2024
f3f392f
[eslint] Remove rule tha we weren't using
alcuadrado May 14, 2024
d8ce870
[eslint] Stricter order of imports
alcuadrado May 14, 2024
d5a6fd9
Sort imports automatically
alcuadrado May 14, 2024
ef2d741
add eslint-import-resolver-typescript and lint:fix files
ChristopherDedominici May 15, 2024
92a14f7
chore(build-system): change scripts escaping
kanej May 15, 2024
6732507
refactor: make isHardhatError public
kanej May 15, 2024
edd9f92
test: fix config resolution on windows
kanej May 15, 2024
9ff3c66
refactor: use default import for windows zip lib
kanej May 15, 2024
7e65909
chore(build-system): bump the version of indici
kanej May 15, 2024
6440216
chore(build-system): bump undici but with pnpm 8
kanej May 15, 2024
61afcf0
remove "node:fs/promises" (#5217)
ChristopherDedominici May 15, 2024
740f3a4
Add method in hh-utils to read Uint8Array files (#5221)
ChristopherDedominici May 15, 2024
5dc445d
Replace "fs-extra" with hh utils methods (#5223)
ChristopherDedominici May 17, 2024
720af20
chore: update escaping in npm scripts
kanej May 15, 2024
c2dba49
add ERRORS + modify HardhatError + tests
ChristopherDedominici May 16, 2024
8891662
Enable eslint rules to make catching errors safer.
alcuadrado May 17, 2024
2a47c81
Apply the fixes in hardhat-build-system
alcuadrado May 17, 2024
6f5152a
Fix linter errors due to dependencies misconfig
alcuadrado May 17, 2024
15a2ff8
Replace errors in hh-build-system package with the methods exposed in…
ChristopherDedominici May 17, 2024
e785b8a
test: add resolve-plugin-list tests
kanej May 20, 2024
6862f58
improvement(plugins): use a HH error for duplicate id
kanej May 20, 2024
ab6b90e
Fix typo in hh-core
ChristopherDedominici May 22, 2024
083c6ad
Fix typos
schaable May 22, 2024
3d4c4a6
Improve isValidParamNameCasing
schaable May 22, 2024
3c80ac6
Add eslint rule to enforce node:assert/strict
alcuadrado May 23, 2024
b632324
Fix new linter errors
alcuadrado May 23, 2024
49e758b
Disable E2E tests on Windows
alcuadrado May 17, 2024
ca63199
Add config validation for empty forking url
jdg2896 Jul 1, 2023
4d8c623
Create seven-tips-float.md
fvictorio Jul 5, 2023
256389d
Revert config validation for empty network or forking url
jdg2896 Jul 7, 2023
21e5bb5
Add empty string URL validation in HttpProvider
jdg2896 Jul 7, 2023
f70c8e4
adding a function and editing the error message for the issue #4151
Saty248 Jul 28, 2023
e76f203
adding test case for clearsnapshot on hardhat reset and formating the…
Saty248 Aug 5, 2023
25f6dad
Fix docblock
alcuadrado May 17, 2024
d006024
Add changeset
alcuadrado May 17, 2024
b916ded
Bring `hardhat-deploy` to Ignition migration guide to docs (#5211)
zoeyTM May 20, 2024
0a0ca15
Notify through Slack when a review is requested or approved
alcuadrado May 23, 2024
f66035b
Update github action
alcuadrado May 23, 2024
748021b
add and test a singleton hre instance
zoeyTM May 23, 2024
0461569
update strict package in tests
zoeyTM May 24, 2024
42610b8
feat: plugin install validation (#5261)
kanej May 24, 2024
03f5861
v-next/lazy-plugin-loading (#5273)
kanej May 24, 2024
31d7da6
Improve action url validation
schaable May 23, 2024
16ade34
Improve typing of default parameters
schaable May 24, 2024
454e37d
Make order consistent
schaable May 24, 2024
a880e9e
Cleanup
schaable May 24, 2024
5727fe5
Validate default value type
schaable May 24, 2024
c31f40a
Validate that the parameter name is not a reserved name
schaable May 24, 2024
1ab7681
Set false as default value for boolean params
schaable May 24, 2024
e23d7b5
Add tests for task builders
schaable May 24, 2024
fdf58b3
Add tests for utils
schaable May 24, 2024
ce92af4
Use HardhatError for task builders
schaable May 24, 2024
3a6465e
PR fixes
schaable May 27, 2024
aa167c6
search up dir tree for hardhat config
zoeyTM May 27, 2024
b752a88
change errors to HardhatErrors and reset hre singleton in tests
zoeyTM May 28, 2024
0082925
fixed CI
zoeyTM May 28, 2024
055e5da
Upgrade to pnpm 9
alcuadrado May 29, 2024
6e773bd
Fix workspace dependencies in hardhat-build-system
alcuadrado May 29, 2024
6530211
refactor: move plugin tests to internal
kanej May 29, 2024
c6f1eed
Disable compilation errors on unused variables
alcuadrado May 29, 2024
e3e55eb
Make HardhatError type-safe and use {v} instead of %v%
alcuadrado May 28, 2024
d5b8bdf
Update the HardhatError-related tests
alcuadrado May 28, 2024
93a0d5b
Type the descriptors as const
alcuadrado May 28, 2024
8905f42
Update all the error descriptors' templates
alcuadrado May 28, 2024
de151e6
Update new compilation errors
alcuadrado May 28, 2024
ba0dfd5
Update new descriptors after rebasing
alcuadrado May 28, 2024
e44cab3
Handle Arrays and BigInt again after rebasing
alcuadrado May 28, 2024
46c9421
Update v-next/hardhat-errors/test/errors.ts
alcuadrado May 29, 2024
fac057b
Remove unnecessary `void` statements
alcuadrado May 29, 2024
812d7c0
Add tests to make it explicit that {} works
alcuadrado May 29, 2024
4a44688
Add parsing for tasks, subtasks and tasks' parameters (#5282)
ChristopherDedominici May 30, 2024
26ab92b
add tests for UserInterruptionsManagerImplementation
zoeyTM May 29, 2024
a1639c7
fix typo and add assertion message
zoeyTM May 30, 2024
ec7952d
remove test:only script
zoeyTM May 30, 2024
e7b3061
Install a rule that forces eslint comments to have a description
alcuadrado May 30, 2024
971d6dd
Fix new linter errors
alcuadrado May 30, 2024
9c7d625
Forbid type casting
alcuadrado May 30, 2024
3206e99
Fix new linter errors
alcuadrado May 30, 2024
6be3988
Small style improvements
alcuadrado May 30, 2024
45c71fe
Add messages to assert.ok calls
alcuadrado May 30, 2024
fbf4256
Fix typo
alcuadrado May 30, 2024
8dffe2f
Initial commit of the test-reporter
alcuadrado May 28, 2024
6eabc8e
Enable the linter in the integration tests
alcuadrado May 30, 2024
199a134
Cleanup node types fixes
alcuadrado May 30, 2024
8c9b74c
Pre-format failure reasons
alcuadrado May 30, 2024
089cd23
Simplify error context and padding formatting
alcuadrado May 30, 2024
319f1f2
Make all formatting functions return strings
alcuadrado May 30, 2024
3ec764f
Add docs about diagnostics
alcuadrado May 30, 2024
3503931
Add a module with utilities to work with node:test generated errors
alcuadrado May 30, 2024
4ad94fd
Add eslint directive explanation
alcuadrado May 30, 2024
804c2cc
Add docs about the reporter and the code design
alcuadrado May 30, 2024
366df3e
Remove unused dependency
alcuadrado May 30, 2024
a50851a
Fix new linter errors
alcuadrado May 30, 2024
c31493f
Task manager cleanup and error handling
schaable May 28, 2024
8d3caba
Validate non-empty task id
schaable May 28, 2024
c0a41df
Update error descriptor templates
schaable May 30, 2024
9385872
Fix error arg name
schaable May 30, 2024
a183b22
Update v-next/core/src/internal/tasks/task-manager.ts
schaable May 30, 2024
c398e71
Added check for positional parameters in task override
schaable May 30, 2024
bb59648
Fix lint
schaable May 30, 2024
a2970c5
refactor: rename from validation to detection
kanej May 28, 2024
1cf3abc
refactor: expand the error messages in plugin validation
kanej May 30, 2024
f5a6323
Make the build-system work with solcjs
alcuadrado May 31, 2024
a44a13b
Fix error number
alcuadrado May 31, 2024
77b55ce
Ensure that the npm scripts are consistent in v-next
alcuadrado May 17, 2024
68d72f8
Change the node:test reporter and add test:only
alcuadrado May 17, 2024
98d4ca5
Remove `glob` from our dev dependencies
alcuadrado May 17, 2024
3151578
Use our own reporter
alcuadrado May 30, 2024
730570e
Fix tsconfig references
alcuadrado May 31, 2024
f5e00b6
Remove circular dependency between the reporter and -utils
alcuadrado May 31, 2024
0cd9280
Fix core's test:coverage
alcuadrado May 31, 2024
30e22a2
Implement feedback on task, subtask and parameter cli parsing (#5300)
ChristopherDedominici Jun 4, 2024
3440031
Add github actions integration to the reporter
alcuadrado Jun 1, 2024
870fd74
Only use our reporter on the CI
alcuadrado Jun 1, 2024
447c53b
Improve the reporters formatting of assert.equal
alcuadrado Jun 1, 2024
c9d2132
Improve the reporting of test-file execution errors
alcuadrado Jun 1, 2024
f29fc1a
Don't add GH Actions annotations from the reporter's own tests
alcuadrado Jun 1, 2024
ed95f9b
Upgrade tsx to fix its source maps support
alcuadrado Jun 1, 2024
e712a5f
Fix file-url/path incompatibilities
alcuadrado Jun 1, 2024
575c903
Update fixture
alcuadrado Jun 1, 2024
f04fbd2
Fix reporter tests on windows
alcuadrado Jun 1, 2024
8db052d
Add missing parameter to processTaskOverride
schaable May 31, 2024
f5708e9
Add tests to the task manager
schaable May 31, 2024
c307da5
assert.reject must be awaited
schaable May 31, 2024
90411d9
Remove unneeded createHre
schaable Jun 4, 2024
02bb7ce
Remove the FILE parsing logic when parsing cli arguments (#5338)
ChristopherDedominici Jun 5, 2024
06bc10b
Add function in hh-utils to check if process is running in the CI (#5…
ChristopherDedominici Jun 6, 2024
187489c
Implement cli global parameters parsing (#5334)
ChristopherDedominici Jun 6, 2024
ceef117
Improve task types
schaable Jun 5, 2024
6c26298
Use TaskArguments instead of ParsedTaskArguments
schaable Jun 5, 2024
afd1897
Move type import to the top
schaable Jun 6, 2024
0dec2aa
implement and test config variable resolution
zoeyTM Jun 6, 2024
e5fcf68
Run task
schaable Jun 5, 2024
6e2a971
Resolve task actions individually for robustness & efficiency
schaable Jun 6, 2024
e3a804f
Add args
schaable Jun 6, 2024
ec22a6a
Add tests and fix validations
schaable Jun 7, 2024
d7f59d9
Move type import to the top
schaable Jun 7, 2024
158afd9
Improve variable naming
schaable Jun 7, 2024
16b902a
Add parent error to file import
schaable Jun 7, 2024
1bb3ee6
Fixes
schaable Jun 7, 2024
22f618c
Update error descriptors to include the task name
schaable Jun 7, 2024
54ca712
Simplify test logic
schaable Jun 7, 2024
d906436
Use isObject & kebabToCamelCase in v-next
schaable Jun 7, 2024
d862f23
Enable import/no-relative-packages and fix an instance of it
alcuadrado Jun 7, 2024
9d11244
Add example-project
alcuadrado Jun 7, 2024
2bb8a29
Remove example-project from the CI workflow
alcuadrado Jun 7, 2024
d6d3ff0
Remove example-project from the scripts validation
alcuadrado Jun 7, 2024
ddc5bda
Improve the README.md
alcuadrado Jun 7, 2024
157dbfb
Install @types/node
alcuadrado Jun 7, 2024
54ac334
Add empty task builder
schaable Jun 7, 2024
a63861c
Merge remote-tracking branch 'origin/NomicFoundation/hardhat/main'
Dargon789 Nov 27, 2025
67f1569
Merge remote-tracking branch 'origin/v-next'
Dargon789 Nov 27, 2025
7f72a26
Merge branch 'v2-6603' into master-V2-6603
Dargon789 Nov 27, 2025
4df50ab
Create docker-publish.yml
Dargon789 Nov 27, 2025
56400b7
Create google.yml (#1884)
Dargon789 Nov 27, 2025
4c734c0
Create docker-image.yml (#1885)
Dargon789 Nov 27, 2025
671337d
Create docker.yml (#1886)
Dargon789 Nov 27, 2025
5d7db0b
Create nuxtjs.yml (#1887)
Dargon789 Nov 27, 2025
ec92f08
Create dockerfile (#1888)
Dargon789 Nov 27, 2025
b0f1092
Create dependency-review.yml (#1889)
Dargon789 Nov 27, 2025
51eb05a
beige-ladybugs-confess.md
Dargon789 Nov 28, 2025
b13187b
changeset\bright-onions-switch.md
Dargon789 Nov 28, 2025
d9ac143
Merge remote-tracking branch 'origin/nightly-17221'
Dargon789 Nov 28, 2025
c4bb9f6
docs\public\sitemap.xml
Dargon789 Nov 28, 2025
7fa0179
fix: .github\workflows & add counter forge foundry module doc site
Dargon789 Nov 28, 2025
1f22a69
fix :gas fee account sent gas hardhat core
Dargon789 Nov 28, 2025
ce2d590
rare-mugs-drum.md
Dargon789 Nov 29, 2025
a61d178
counter\script\Counter.s.sol
Dargon789 Nov 29, 2025
ba931d4
Create v3-deploy.yml (#1896)
Dargon789 Nov 29, 2025
825a8c9
remapping @nomiclabs/hardhat-web3
Dargon789 Nov 30, 2025
fb9b1f0
Merge remote-tracking branch 'origin/revert-1793-Dargon789-patch-7'
Dargon789 Nov 30, 2025
bef338f
Merge remote-tracking branch 'origin/hardhat/main'
Dargon789 Nov 30, 2025
8d81f78
v2
Dargon789 Nov 30, 2025
65e0057
fix: packages/hardhat-core/package.json to reduce vulnerabilities (#1…
Dargon789 Nov 30, 2025
bd58ad1
"hardhat": patch
Dargon789 Jan 27, 2024
f23b4a0
Added support for Typed objects
Dargon789 Feb 22, 2024
587e587
Merge branch 'hardhat-viem@npm-2.40.3-wagmi(fac1221)' into hardhat-ch…
Dargon789 Nov 30, 2025
d2f887e
fix: docs/package.json to reduce vulnerabilities
snyk-bot Nov 30, 2025
58f4627
Merge branch 'master-V2-6603'
Dargon789 Dec 1, 2025
150084a
Update .github/ISSUE_TEMPLATE/other-issue.md
Dargon789 Dec 1, 2025
177b4fc
fix: reback pack "hardhat": patch ai help verified signature. (#1…
Dargon789 Dec 1, 2025
4bff971
Merge branch 'main' into NomicFoundation/hardhat/main
Dargon789 Dec 2, 2025
a4965e4
Update LICENSE (#1905)
Dargon789 Dec 2, 2025
a0123d8
fix: packages/hardhat-core/package.json to reduce vulnerabilities (#1…
Dargon789 Dec 2, 2025
be31ac1
Merge remote-tracking branch 'origin/snyk-fix-72e1ea38d69da8cf8d04d53…
Dargon789 Dec 3, 2025
488d9ba
Update README.md (#1908)
Dargon789 Dec 3, 2025
e31e397
Create hardhat-project.yml (#1910)
Dargon789 Dec 5, 2025
bdad67b
Create safety_scan.yml (#1912)
Dargon789 Dec 5, 2025
6affc0b
fix: bug ecosystem "hardhat": patch-9 scan biome (#1913)
Dargon789 Dec 5, 2025
af0b321
Merge remote-tracking branch 'origin/v-next'
Dargon789 Dec 5, 2025
0688485
Update config.yml (#1917)
Dargon789 Dec 7, 2025
c95f762
Update and rename hardhat-project.yml to ci-web3-gamefi.yml (#1919)
Dargon789 Dec 7, 2025
ba380df
Update ci-web3-gamefi.yml (#1921)
Dargon789 Dec 7, 2025
c7dc49d
fix: docs/package.json to reduce vulnerabilities (#1907)
Dargon789 Dec 8, 2025
0eb843b
Bump the npm_and_yarn group across 2 directories with 13 updates (#1906)
dependabot[bot] Dec 8, 2025
fea0f13
Update .gitignore
Dargon789 Dec 8, 2025
92a3e1c
Create npm.yml (#1922)
Dargon789 Dec 8, 2025
83bddb2
fix: docs/package.json to reduce vulnerabilities (#1926)
Dargon789 Dec 17, 2025
8b43bdf
Bump next in /docs in the npm_and_yarn group across 1 directory (#1925)
dependabot[bot] Dec 24, 2025
c49b73c
Add .vercel/ to .gitignore for Vercel deployment (#1928)
Dargon789 Dec 26, 2025
9a0bf13
Add CircleCI configuration for hello world job (#1929)
Dargon789 Dec 27, 2025
2b24f38
Add 0xsequence-wallet-2.3.7 Hardhat Ignition example
Dargon789 Dec 29, 2025
bd572af
Merge branch 'copilot-next-e3de203'
Dargon789 Dec 30, 2025
e468c2b
fix: packages/hardhat-core/package.json to reduce vulnerabilities (#1…
Dargon789 Jan 12, 2026
f7838e5
fix: packages/hardhat-core/package.json to reduce vulnerabilities (#1…
Dargon789 Jan 12, 2026
48cea1c
V1 (#1948)
Dargon789 Jan 17, 2026
fba5fee
fix: packages/hardhat-core/package.json to reduce vulnerabilities (#1…
Dargon789 Jan 19, 2026
570cbdc
Update safety_scan.yml (#1939)
Dargon789 Jan 19, 2026
35b737d
Potential fix for code scanning alert no. 332: Artifact poisoning
Dargon789 Jan 22, 2026
a4918f9
Potential fix for code scanning alert no. 330: Artifact poisoning
Dargon789 Jan 22, 2026
d44cac0
Potential fix for code scanning alert no. 333: Cross-window communica…
Dargon789 Jan 22, 2026
157d3cb
Potential fix for code scanning alert no. 349: Artifact poisoning
Dargon789 Jan 22, 2026
2beeec8
Potential fix for code scanning alert no. 350: Artifact poisoning
Dargon789 Jan 22, 2026
27f24d2
Delete CNAME
Dargon789 Jan 24, 2026
c182cc7
Delete .github/workflows/safety_scan.yml (#1954)
Dargon789 Jan 24, 2026
4a73d8c
322 h1dependency reviewh1 (#1893)
Dargon789 Jan 24, 2026
fce0bd8
Update .gitignore
Dargon789 Jan 24, 2026
911452f
fix: docs/package.json to reduce vulnerabilities (#1950)
Dargon789 Jan 24, 2026
577d751
Update docs/src/content/hardhat-runner/docs/advanced/using-viem.md
Dargon789 Jan 24, 2026
d1ec315
Update docs/src/content/ignition/docs/guides/creating-modules.md
Dargon789 Jan 24, 2026
98f6277
Update docs/src/content/ignition/docs/guides/creating-modules.md
Dargon789 Jan 24, 2026
03a438b
Update docs/src/content/ignition/docs/guides/creating-modules.md
Dargon789 Jan 24, 2026
dd4eb86
Potential fix for code scanning alert no. 351: Artifact poisoning (#1…
Dargon789 Jan 24, 2026
634060d
fix doc #1950 (#1957)
Dargon789 Jan 24, 2026
0f4f2c2
Merge branch 'main-Vercel-deployment-(#1928)' of https://github.com/D…
Dargon789 Jan 24, 2026
5624d15
Merge remote-tracking branch 'origin/master' into main-Vercel-deploym…
Dargon789 Jan 24, 2026
7169360
Update docs/src/model/markdown.tsx
Dargon789 Jan 24, 2026
73b088e
Update packages/hardhat-core/src/internal/util/report-telemetry-conse…
Dargon789 Jan 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions .changeset/beige-ladybugs-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"hardhat": patch
---

Added a notification when a new Hardhat version is available

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

Added support for Typed objects (thanks @RenanSouza2!)
7 changes: 7 additions & 0 deletions .changeset/curvy-cherries-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@nomicfoundation/hardhat-chai-matchers": patch
"hardhat": patch
"@nomicfoundation/hardhat-viem": patch
---

Improved loading performance
5 changes: 5 additions & 0 deletions .changeset/dry-pianos-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hardhat": patch
---

Fixed a bug during project initialization when using yarn or pnpm
6 changes: 6 additions & 0 deletions .changeset/modern-fishes-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"hardhat": patch
---

Added a fix to prevent submitting transactions with 0 priority fee (thanks @itsdevbear!)

6 changes: 6 additions & 0 deletions .changeset/twelve-mails-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nomicfoundation/hardhat-verify": patch
---

Added support for programmatic verification in Sourcify

63 changes: 63 additions & 0 deletions .circleci/ci-web3-gamefi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference

version: 2.1
executors:
my-custom-executor:
docker:
- image: cimg/base:stable
auth:
# ensure you have first added these secrets
# visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables
username: $DOCKER_HUB_USER
password: $DOCKER_HUB_PASSWORD
jobs:
web3-defi-game-project-:

executor: my-custom-executor
steps:
- checkout
- run: |
# echo Hello, World!

workflows:
my-custom-workflow:
jobs:
- web3-defi-game-project-

- run:
name: Plan a deploy
command: |
circleci run release plan \
--environment-name="web3-defi" \
--component-name="dargon789-gamefi" \
--target-version="<some-version-name>"
# Your job here doing the actual deployment
- run:
name: Update a deploy to SUCCESS
command: circleci run release update --status=SUCCESS
when: on_success
- run:
name: Update planned deploy to FAILED
command: circleci run release update --status=FAILED
when: on_fail
jobs:
build:
docker:
- image: cimg/node:22.0

working_directory: /tmp
steps:
- run:
name: Creating Dummy Artifacts
command: |
echo "my artifact file" > /tmp/art-1;
mkdir /tmp/artifacts;
echo "my artifact files in a dir" > /tmp/artifacts/art-2;

- store_artifacts:
path: /tmp/art-1
destination: artifact-file

- store_artifacts:
path: /tmp/artifacts
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/reference/configuration-reference
version: 2.1
#
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#jobs-overview & https://circleci.com/docs/reference/configuration-reference/#jobs
jobs:
say-hello:
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/guides/execution-managed/executor-intro/ & https://circleci.com/docs/reference/configuration-reference/#executor-job
docker:
# Specify the version you desire here (pin to a specific tag for reproducible builds)
# See: https://circleci.com/developer/images/image/cimg/base
- image: cimg/base:2024.01
#
# Add steps to the job
# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#steps-overview & https://circleci.com/docs/reference/configuration-reference/#steps
steps:
# Checkout the code as the first step.
- checkout
- run:
name: "Say hello"
command: "echo Hello, World!"
#
# Orchestrate jobs using workflows
# See: https://circleci.com/docs/guides/orchestrate/workflows/ & https://circleci.com/docs/reference/configuration-reference/#workflows
workflows:
say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
jobs:
- say-hello

97 changes: 97 additions & 0 deletions .circleci/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Docker

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:
schedule:
- cron: '21 12 * * *'
push:
branches: [ "master" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "master" ]

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}


jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 #v3.5.0
with:
cosign-release: 'v2.2.4'

# Set up BuildKit Docker container builder to be able to build
# multi-platform images and export cache
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5.0.0
with:
context: ./
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish
# transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "Hardhat + EDR",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "16" /* Keep in sync with the oldest version of Node.js that Hardhat supports */
},
"ghcr.io/devcontainers/features/rust:1": {
"version": "1.70" /* Keep in sync with rust-toolchain */,
"profile": "default"
}
},
/* libudev-dev is required by hardhat-ledger. pkg-config is required by EDR to use OpenSSL */
"postCreateCommand": "sudo apt update && sudo apt install -y libudev-dev pkg-config"
}
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: ""
assignees: ""
---

**Describe the bug** A clear and concise description of what the bug is.

**To Reproduce** Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior** A clear and concise description of what you expected to happen.

**Screenshots** If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context** Add any other context about the problem here.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ""
labels: ""
assignees: ""
---
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/feature-request.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: ""
assignees: ""
---

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like** A clear and concise description of what you want to happen.

**Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered.

**Additional context** Add any other context or screenshots about the feature request here.
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/other-issue.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
name: Other issue
about: Other kind of issue. Please don't use this to ask questions.
title: ""
labels: ""
assignees: ""
---
24 changes: 14 additions & 10 deletions .github/workflows/LATEST_DEPENDENCY_VERSIONS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,32 @@ on:
workflow_dispatch:

jobs:
test-without-yarn-lock:
name: Test without yarn.lock
test-without-pnpm-lock-yaml:
name: Test without pnpm-lock.yaml
strategy:
matrix:
system: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.system }}
steps:
- uses: actions/setup-node@v2
with:
node-version: 14
- uses: actions/checkout@v2
- name: Delete yarn.lock
run: "rm yarn.lock"
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- name: Delete pnpm-lock.yaml
run: "rm pnpm-lock.yaml"
- name: Install
run: yarn
run: pnpm install --no-frozen-lockfile
- name: List dependencies
run: yarn list
run: pnpm list -r --depth 2
- name: Run tests
env:
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true
FORCE_COLOR: 3
run: yarn test || (echo "===== Retry =====" && yarn test)
run: pnpm test || (echo "===== Retry =====" && pnpm test)
- name: Notify failures
if: failure()
uses: slackapi/slack-github-action@v1.18.0
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/add-issue-to-project.yml

This file was deleted.

Loading