Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate hardhat ignition to hardhat monorepo #6066

Open
wants to merge 1,385 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1385 commits
Select commit Hold shift + click to select a range
0cbde6e
feat: update deployment complete displays
kanej Oct 11, 2023
b62e748
fix: timeout display (#546)
kanej Oct 13, 2023
f6a8dfe
feat/update status UI (#548)
kanej Oct 13, 2023
933b1e9
feat: update the default deployment id template
kanej Oct 15, 2023
7448290
improvement: remove blank line from start of deploy
kanej Oct 16, 2023
f695a6b
improvement: display warning on ephemeral network
kanej Oct 16, 2023
f72d127
Define call ids based on the entire id of the contract
alcuadrado Oct 16, 2023
214892b
feat: change contractAt signature
kanej Oct 16, 2023
ebd11c9
Update validation errors
alcuadrado Oct 16, 2023
8046460
Update error messages and delete an unnecessary error
alcuadrado Oct 16, 2023
abf9358
Expose errorNumber in IgnitionError
alcuadrado Oct 16, 2023
6d6b111
Don't pass an error cause if its undefined
alcuadrado Oct 16, 2023
bf91cf7
Use the IgnitionError#errorNumber property in the plugin
alcuadrado Oct 16, 2023
2834958
Don't wrap errors thrown by the ModuleBuilder
alcuadrado Oct 16, 2023
612fb83
Provide parent errors when creating NomicLabsHardhatPluginErrors
alcuadrado Oct 16, 2023
f588a07
improvement: update the text for status and completion
kanej Oct 16, 2023
d3552f8
test: update tests to match error message changes
kanej Oct 17, 2023
c0eef27
fix: update typo
kanej Oct 17, 2023
8bca015
fix: spelling of interfer to interfere
kanej Oct 17, 2023
107a443
Merge pull request #561 from NomicFoundation/review-error-messages
alcuadrado Oct 17, 2023
e187d7f
Change submodule separator
alcuadrado Oct 17, 2023
6e8a3dd
Merge pull request #560 from NomicFoundation/better-call-ids
alcuadrado Oct 17, 2023
32e504f
Update contract name validation to support FQNs
alcuadrado Oct 16, 2023
ff12361
Update ids generation logic
alcuadrado Oct 16, 2023
135a866
Merge pull request #564 from NomicFoundation/better-validation-error-…
alcuadrado Oct 17, 2023
bdda81c
Merge pull request #563 from NomicFoundation/support-fqns
alcuadrado Oct 17, 2023
1602af5
Better duplicated id errors (#569)
alcuadrado Oct 18, 2023
2405ffb
fix: display of Deployment starting panel on reruns
kanej Oct 16, 2023
6f5e806
fix: display reconciliation warnings
kanej Oct 17, 2023
3772821
Update the repository in the package.json's
alcuadrado Oct 18, 2023
d2ea000
Add a hint to the module validation error
alcuadrado Oct 18, 2023
22b426c
Merge pull request #572 from NomicFoundation/misc-polishing
alcuadrado Oct 18, 2023
e614627
fix: display wrong chainId correctly
kanej Oct 19, 2023
7f2f87a
fix: stop future senders clearing out pending trans
kanej Oct 19, 2023
0adb6ff
fix: update nonce storage on getNewNonce
kanej Oct 19, 2023
4dcef44
docs: update the README.md files
kanej Oct 18, 2023
818ea40
Merge pull request #573 from NomicFoundation/fix/chain-id-error-display
alcuadrado Oct 19, 2023
a061461
Merge pull request #575 from NomicFoundation/fix/rerun-on-kill
alcuadrado Oct 19, 2023
8a99096
Merge pull request #577 from NomicFoundation/fix/nonce-storage-update
alcuadrado Oct 19, 2023
3a3b750
Remove most content for core's readme
alcuadrado Oct 22, 2023
fe8812f
Align the description with the current version of the docs
alcuadrado Oct 22, 2023
ac5aaf7
Update links
alcuadrado Oct 22, 2023
82a2621
Fix one more link
alcuadrado Oct 22, 2023
9b59a92
docs: make discored link text consistent
kanej Oct 22, 2023
86d2b77
Update twitter and discord links
alcuadrado Oct 22, 2023
c6b2141
Merge pull request #570 from NomicFoundation/docs/update-readmes
alcuadrado Oct 22, 2023
b9a60ee
Small mermaid fixes (#578)
alcuadrado Oct 22, 2023
fdf2a35
Add a message when a deployment is being resumed (#582)
alcuadrado Oct 23, 2023
0f52cdf
Pass the `gas` field to `eth_call` requests.
alcuadrado Oct 23, 2023
838ce0f
chore: bump version to v0.11.0
kanej Oct 6, 2023
735e12b
Merge pull request #520 from NomicFoundation/release/2023-10-10
kanej Oct 23, 2023
3278b78
fix: remove the trailing comma in the task param desc
kanej Oct 26, 2023
ec90548
removed missing modules folder error (#605)
zoeyTM Oct 27, 2023
37cb587
Checksum deployed addresses (#606)
zoeyTM Oct 27, 2023
395dff0
Changed the rendered text for previously successful depoyment (#593)
zoeyTM Oct 27, 2023
6fe17b1
Add fee bumping messaging to the UI (#604)
zoeyTM Oct 27, 2023
5a54ac5
chore: bump version to v0.11.1
kanej Oct 30, 2023
3cc5cf3
upgrade typescript to v5
zoeyTM Oct 30, 2023
8c32449
validate that module id's are not duplicated
zoeyTM Oct 31, 2023
5154b33
remove accidentally included line
zoeyTM Oct 31, 2023
0729aa5
feat: add duplicate id error to whitelist
kanej Nov 1, 2023
5fb9cb4
record contractAt addresses to json file
zoeyTM Oct 31, 2023
f627fc3
break out test into its own file
zoeyTM Nov 2, 2023
9ce5694
remove extraneous test
zoeyTM Nov 2, 2023
c43e0c5
remove if check
zoeyTM Nov 2, 2023
ac2d2e2
Allow sending to AccountRuntimeValue (#623)
zoeyTM Nov 6, 2023
1b79dcd
chore: bump version to v0.11.2
kanej Nov 6, 2023
806a94b
Catch base fee error and rethrow as ignition error (#624)
zoeyTM Nov 9, 2023
5b73211
Added `verify` task (#632)
zoeyTM Dec 5, 2023
dcb8b71
chore: bump version to v0.12.0
kanej Dec 4, 2023
c5470e4
Viem support (#612)
zoeyTM Dec 6, 2023
a6aa6ec
chore: cleanup eslint config in examples
kanej Dec 7, 2023
f2d9e42
feat: support changing the default sender in tests
kanej Dec 7, 2023
cda273a
allow overriding default sender from cli
zoeyTM Dec 11, 2023
e4f2735
test: add a positive test on default sender
kanej Dec 11, 2023
2694593
chore: bump version to v0.13.0
kanej Dec 12, 2023
fed5503
Use readline in place of process.stdout (#654)
zoeyTM Dec 18, 2023
2e89f35
Add --reset flag to deploy task (#651)
zoeyTM Dec 18, 2023
2cb8659
repository: add devcontainer support. (#657)
marianfe Dec 18, 2023
8569b64
chore: bump version to v0.13.1
zoeyTM Dec 19, 2023
a8c2900
chore: update changelog text
kanej Dec 19, 2023
c7c0de2
Add sections regarding branching and merge flow to contributing doc (…
zoeyTM Jan 8, 2024
21fc7b8
fix: retry checking mempool to deal with propagation
zoeyTM Jan 5, 2024
44ed175
Add jsdoc comments for all module builder and ignition helper functio…
zoeyTM Jan 16, 2024
354a2ca
Made all errors internal (#678)
zoeyTM Jan 18, 2024
74a83a1
chore: cleanup coverage
kanej Jan 25, 2024
51fc4fb
Add the ability to use AccountRuntimeValues as default values for mod…
zoeyTM Jan 25, 2024
d8889a5
chore: bump version to v0.13.2
kanej Jan 25, 2024
81efbb9
Add reviver function to parse bigint notation (#698)
zoeyTM Feb 19, 2024
68c27b8
chore(hardhat-ignition-viem): upgrade to viem@2 (#697)
zoeyTM Feb 21, 2024
2ed0de2
chore: bump version to v0.14.0
kanej Feb 21, 2024
d1c99b5
feat: add create2 strategy
kanej Nov 2, 2023
b1a7ab4
update CreateX to v0.1.0
zoeyTM Jan 4, 2024
53aad4c
use enum for strategy types
zoeyTM Jan 4, 2024
1a22f1c
update UI to display strategy info
zoeyTM Jan 5, 2024
d9de7ef
add tests for strategies and create2
zoeyTM Jan 8, 2024
e44c3cf
test: rework arg check
kanej Jan 12, 2024
8718685
test: split the contracts file
kanej Jan 12, 2024
e1f34a5
test: rework test so every deployed contract has same address
kanej Jan 12, 2024
747c481
test: add tests around endowments via create2
kanej Jan 12, 2024
4eed676
feat: update the strategy ui display
kanej Jan 15, 2024
bbcb9b7
improvement: add check that bytecode matches createX expected
kanej Jan 17, 2024
9cfc6de
test: add further strategy tests
kanej Jan 17, 2024
bb335c9
test: rename strategy tests
kanej Jan 17, 2024
3c5b791
refactor: pull out init structure as subfunctions
kanej Jan 17, 2024
ca42f64
refactor: remove factory address as propert
kanej Jan 17, 2024
74a820d
refactor: move set balance into client
kanej Jan 17, 2024
986ee4a
refactor: pull out raw transaction
kanej Jan 17, 2024
f25187b
refactor: move getCode to client
kanej Jan 17, 2024
5ffa210
refactor: rename the test fixture projects
kanej Jan 17, 2024
221890f
fix: on HH network check for createX as well
kanej Jan 17, 2024
4b4e004
test: rework the structure of the tests
kanej Jan 17, 2024
6c3c788
refactor: rework if conditional
kanej Jan 18, 2024
1a3a86c
chore: lessen core coverage constraint
kanej Mar 4, 2024
c25ffa6
add configuration options for strategies
zoeyTM Feb 14, 2024
2a142ea
add reconciliation rules for strategy name and config
zoeyTM Feb 15, 2024
17fba63
add tests for reconciliation and config
zoeyTM Feb 15, 2024
872925d
refactor: limit exposing of strategy types
kanej Feb 16, 2024
e5c2a8c
refactor: improve doc strings against strategies
kanej Mar 4, 2024
ba117ae
refactor: move strategies under their own folder
kanej Mar 4, 2024
fa245ca
refactor: rename the strategy files to match classes
kanej Mar 4, 2024
c2f2bb1
refactor: limit strategy constructors to only config
kanej Mar 4, 2024
185aa7e
feat: throw if salt is not provided in config
kanej Mar 4, 2024
728bb0f
refactor: push execution strategy init down
kanej Mar 4, 2024
00f98f9
refactor: tighten interal config types
kanej Mar 4, 2024
fb9ce49
test: correct wrong test name
kanej Mar 4, 2024
41d0b32
refactor: narrow execution state
kanej Mar 4, 2024
193e3d3
refactor: narrow strategy config type in reconciliation
kanej Mar 4, 2024
50d4d86
refactor: tweak resolveStrategy signature
kanej Mar 4, 2024
9d8dd35
refactor: improve strategy assertion messages
kanej Mar 4, 2024
41b4459
refactor: share one stored strategy config type
kanej Mar 5, 2024
824e11b
refactor: change name to ConcreteExecutionConfig
kanej Mar 6, 2024
53295bc
refactor: don't expose strategies from core
kanej Mar 6, 2024
573b7a3
fix: only reconcile strategy if the future is incomplete
kanej Mar 6, 2024
1a564ce
fix: deal with deployments started in previous versions
kanej Mar 6, 2024
5fd16a8
fix: don't hash the salt before passing it on
kanej Mar 6, 2024
70df54e
test: tweak helper tests
kanej Mar 6, 2024
8d601bf
Update packages/core/src/internal/reconciliation/helpers/reconcile-st…
alcuadrado Mar 6, 2024
1939b58
fix: add strategy errors to whitelist
kanej Mar 7, 2024
d8f3d27
fix: use Hardhat 2.20.0 for dev, but keep peer deps the same
kanej Mar 11, 2024
6a2bf9f
chore: bump version to v0.15.0
kanej Mar 7, 2024
a05a32f
use only required sources for verification
zoeyTM Mar 12, 2024
7df96a4
test min verification input
zoeyTM Mar 13, 2024
abdf1e9
fix for windows
zoeyTM Mar 13, 2024
58830de
fix: provide all params to `eth_getCode`
kanej Mar 25, 2024
ad9e52c
fix: add guard to ganache automine check
kanej Mar 27, 2024
fbfd4b0
small optimization
zoeyTM Dec 10, 2023
1391056
added new task to list all deployments
zoeyTM Dec 11, 2023
814974f
refactor list task into deployments task
zoeyTM Dec 11, 2023
455dc3e
update core status function to return abi info
zoeyTM Dec 11, 2023
40cdfda
handle case with no deployments
zoeyTM Dec 11, 2023
9c47f05
added tests
zoeyTM Dec 12, 2023
6c5e76d
test: fix to match new status api
kanej Jan 8, 2024
9ea61d6
docs: update signature doc
kanej Jan 10, 2024
15aa847
wipe deployment state if hardhat-network has been restarted
zoeyTM Dec 13, 2023
f4da894
added environment variables to skip cli confirmations
zoeyTM Dec 13, 2023
020ed78
Store the new file in the cache instead
alcuadrado Apr 1, 2024
d2856de
remove unused coverage test
zoeyTM Apr 1, 2024
1c43a33
remove coverage in ci
zoeyTM Apr 1, 2024
e6af00c
add chainId to status output
zoeyTM Jan 11, 2024
03bbc5b
revert allocate nonce after simulation fails
zoeyTM Jan 30, 2024
93c8e28
add test to cover case
zoeyTM Jan 30, 2024
6b53427
Update packages/hardhat-plugin/test/deploy/nonce-checks/revert-nonce-…
alcuadrado Apr 1, 2024
f856b88
added a test to ensure simulation errors are displayed when account h…
zoeyTM Jan 30, 2024
6a4d7c8
remove fees before simulation
zoeyTM Feb 5, 2024
24b02d9
add configurable limit for maxFeePerGas
zoeyTM Feb 21, 2024
131cd31
Also check legacy transactions for max fee limit
alcuadrado Apr 1, 2024
6a1aa5a
allow test helpers to write deployments dir
zoeyTM Feb 23, 2024
84422f3
updated process.exitCode
mabsattar Mar 9, 2024
100e7ed
added new errors to fix
mabsattar Mar 9, 2024
06c464c
Throw exceptions where appropiate instead.
alcuadrado Apr 1, 2024
1b82830
add includeUnrelatedContracts flag and update for global imports
zoeyTM Apr 2, 2024
73b7b16
chore: revert dev dependency to latest hardhat (#716)
kanej Apr 4, 2024
2212533
chore: bump version to v0.15.1
kanej Apr 4, 2024
b394f41
chore: update publishing to include hiring imprint
kanej Apr 15, 2024
c13d209
swap monorepo from npm to pnpm
zoeyTM Apr 23, 2024
e84cba3
Integrating hardhat-ledger support (#731)
zoeyTM Apr 30, 2024
3a5106b
feat: support configuring maxPriorityFeePerGas
zoeyTM Apr 24, 2024
d4df70c
return legacy fees for polygon network deployments
zoeyTM Apr 24, 2024
b1183a1
feat: add max priority fee per gas from RPC
kanej Apr 23, 2024
a04a348
feat: support zero gas fee chains
jimthematrix Apr 4, 2024
d748a7d
chore: bump version to v0.15.2
kanej May 1, 2024
5629c7c
Exclude BNB Chain from zero fee configuration in gas fee logic (#755)
magicsih May 9, 2024
abd644e
test: tweak BNB chain test
kanej May 9, 2024
96f00ae
chore: bump version to 0.15.3
zoeyTM May 10, 2024
5a75109
reconcile addresses with mismatched casings
zoeyTM May 1, 2024
0c230f6
display better error messages for insufficient funds
zoeyTM May 8, 2024
3551129
chore: bump version to v0.15.4
zoeyTM May 14, 2024
ea66c95
chore: bump the version of the ci actions (#765)
kanej May 24, 2024
c6a3e8e
Exclude BNB Test Chain from zero fee configuration in gas fee logic (…
MukulKolpe May 28, 2024
527b7da
loosen type restriction for anvil
zoeyTM Jun 3, 2024
65d67c8
test: add tests to cover setBalance
kanej Jun 3, 2024
2346e65
handle circular imports in verify loop
zoeyTM Jun 3, 2024
cbf9bae
test: refactor to BuildInfo
kanej Jun 3, 2024
b6e8897
adjust regex for function and event names
zoeyTM Jun 4, 2024
af40dfd
update regex
zoeyTM Jun 5, 2024
fde57fd
test: tweak to regex
kanej Jun 6, 2024
2fa3113
Add PR review notifications workflows
alcuadrado Jun 7, 2024
3675d70
add function to encode a function call
zoeyTM May 16, 2024
e5f39f7
chore: add encode function data example to the ui example
kanej Jun 11, 2024
a42e26c
refactor: remove unneeded nesting in test
kanej Jun 11, 2024
5eb5718
update futureId and misc comments
zoeyTM Jun 14, 2024
1675490
chore: bump version to v0.15.5
zoeyTM Jun 17, 2024
9f39450
add upgradeable proxy sample project
zoeyTM Dec 14, 2023
d30fb16
add comments to the upgradeable proxy example
zoeyTM Dec 18, 2023
797b236
update readme
zoeyTM Dec 19, 2023
0db5529
refactor upgrade example
zoeyTM Apr 15, 2024
4304f42
update upgradeable example dependency version
zoeyTM Apr 25, 2024
69b4852
add encodeFunctionCall to upgrade example
zoeyTM Jun 17, 2024
2521df3
chore: update upgradeable to latest version
kanej Jun 18, 2024
3b114f0
chore: update pnpm lock
kanej Jun 18, 2024
257c093
refactor: clean up test
kanej Jun 18, 2024
ed2eda8
docs: tweak example commmand text
kanej Jun 18, 2024
c0b5a7d
chore: debug log hardhat ledger communication errors
galargh Aug 6, 2024
911c7ef
chore:Fix the typo and replace 'this' with the class in a static method
iosh Aug 22, 2024
d6132e2
added json5 parser with tests
erhant Sep 5, 2024
cf2f505
fix lockfile
zoeyTM Sep 6, 2024
6476b08
update L2 fees logic
zoeyTM Sep 16, 2024
4adcf6c
top level disableFeeBumping should override network level
zoeyTM Sep 18, 2024
f3a5148
implement svg zoom for mermaid diagram visualization
zoeyTM Sep 23, 2024
dfe0adf
add writeLocalhostDeployment to deploy command
SebastienGllmt Sep 24, 2024
0f1912e
address PR feedback
SebastienGllmt Sep 25, 2024
1459a6f
fix diagram height and button overlap for large batch numbers
zoeyTM Sep 25, 2024
7be2762
chore: bump version to v0.15.6
zoeyTM Sep 26, 2024
c8a3eb8
add support for global module parameters
zoeyTM Sep 30, 2024
ceb65ef
fix: fqn resolution of artifacts
kanej Oct 9, 2024
e4b8544
add CLI command to list transactions for a given deployment
zoeyTM Oct 8, 2024
37a2adc
add contractName and pending tx status
zoeyTM Oct 21, 2024
7aa47f3
add opBNB and its testnet to the BNB exclusions in gas logic
zoeyTM Oct 22, 2024
e72e7f4
read transactions in journal order
zoeyTM Oct 23, 2024
44ebf75
chore: bump version to v0.15.7
zoeyTM Oct 24, 2024
18ef1bd
fix serialization of bigints in transacitons command
zoeyTM Nov 20, 2024
c15671d
revert unnecessary changes and add test
zoeyTM Nov 21, 2024
f73f9c1
fix: add additional validation for global parameters (#832)
kanej Nov 21, 2024
25284d0
refactor: switch to replacer function for transaction list display
kanej Nov 21, 2024
bca332d
format value field to match bignumber formatting in params
zoeyTM Nov 22, 2024
4498a33
chore: bump version to v0.15.8
zoeyTM Nov 22, 2024
df38b4d
allow ignition modules as a dependency for futures
zoeyTM Nov 1, 2024
53c0ee4
fix existing library bug and add comment for known issue
zoeyTM Nov 20, 2024
02d4b6f
add comment regarding testing for module id
zoeyTM Dec 15, 2024
a1e6fab
handle errors when verifying external artifacts
zoeyTM Dec 11, 2024
5a28517
fallback artifact resolver for external artifacts
zoeyTM Dec 4, 2024
b3cb45d
use deploymentLoader exclusively and deprecate artifactLoader for status
zoeyTM Dec 15, 2024
c9a7850
enable ignition UI for deployments via hardhat scripts
zoeyTM Nov 27, 2024
fd6e60d
add flag to toggle UI on for scripts
zoeyTM Dec 15, 2024
19b4da1
add link to transactions list output
zoeyTM Dec 15, 2024
a87c4e7
allow importing module parameters with filepath in scripts
zoeyTM Dec 17, 2024
c041b33
chore: bump version to v0.15.9
zoeyTM Dec 18, 2024
08191d3
migrated ignition repo
zoeyTM Dec 19, 2024
760f691
Merge branch 'hardhat-ignition-branch' into hardhat-ignition-merge
zoeyTM Dec 19, 2024
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
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions packages/hardhat-ignition/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Hardhat Ignition",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "18" /* Keep in sync with the oldest version of Node.js that Hardhat supports */
},
},
/* installs pnpm dependencies on the new container. */
"postCreateCommand": "pnpm install"
}
11 changes: 11 additions & 0 deletions packages/hardhat-ignition/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# EditorConfig is awesome: https://EditorConfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80
2 changes: 2 additions & 0 deletions packages/hardhat-ignition/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# prevent github actions to checkout files with crlf line endings
* text=auto eol=lf
24 changes: 24 additions & 0 deletions packages/hardhat-ignition/.github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Bug report
description: File a bug report
labels:
- "status:triaging"
body:
- type: textarea
id: what-happened
attributes:
label: "What happened?"
description: "A brief description of what happened and what you expected to happen"
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: "Minimal reproduction steps"
description: "Tell us the minimal steps needed to reproduce the bug"
validations:
required: true
- type: input
id: search-terms
attributes:
label: "Search terms"
description: "Include the search terms you used before opening this issue. This will make it easier for others to find it."
5 changes: 5 additions & 0 deletions packages/hardhat-ignition/.github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Do you need help?
url: https://hardhat.org/hardhat-runner/docs/guides/getting-help
about: Check our guide on how to get help with Hardhat
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Feature request
description: Suggest a new feature
labels:
- "status:triaging"
body:
- type: textarea
id: feature-description
attributes:
label: "Describe the feature"
description: "A description of what you would like us to add to Hardhat Ignition and your use case for it"
validations:
required: true
- type: input
id: search-terms
attributes:
label: "Search terms"
description: "Include the search terms you used before opening this issue. This will make it easier for others to find it."
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: Other issue
about: Other kind of issue. Please don't use this to ask questions.
labels:
- "status:triaging"
---
88 changes: 88 additions & 0 deletions packages/hardhat-ignition/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: CI

on:
push:
branches: [$default-branch]
pull_request:
branches:
- "**"

jobs:
test_on_windows:
name: Test Ignition on Windows with Node 18
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Run tests
run: pnpm test

test_on_macos:
name: Test Ignition on MacOS with Node 18
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Run tests
run: pnpm test

test_on_linux:
name: Test Ignition on Ubuntu with Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Run tests
run: pnpm test

lint:
name: Lint the project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
- name: Install
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: PR review requested Slack notification
on:
pull_request_target:
types: [review_requested]
jobs:
requested:
uses: NomicFoundation/github-actions-workflows/.github/workflows/review-requested-slack-notification.yml@main
secrets: inherit
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: PR reviewed Slack notification
on:
pull_request_review:
types: [submitted]
jobs:
reviewed:
uses: NomicFoundation/github-actions-workflows/.github/workflows/review-submitted-slack-notification.yml@main
secrets: inherit
144 changes: 144 additions & 0 deletions packages/hardhat-ignition/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
*.ndjson

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.npmrc

# Mac OSX garbage
.DS_Store

# Custom workspace settings for VSCode
.vscode/settings.json

# Webstorm files
.idea/

# npm lockfile since we use pnpm now
package-lock.json
1 change: 1 addition & 0 deletions packages/hardhat-ignition/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading
Loading