Skip to content

Commit 7730c88

Browse files
Merge branch 'main' into general-cleanup
2 parents 47ead92 + 2f5b7a8 commit 7730c88

File tree

8 files changed

+74
-42
lines changed

8 files changed

+74
-42
lines changed

.changeset/hot-spoons-sparkle.md

-5
This file was deleted.

docs/src/content/hardhat-runner/plugins/plugins.ts

+8
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,14 @@ const communityPlugins: IPlugin[] = [
996996
"Hardhat plugin for enabling on-the-fly network switching within your Hardhat scripts and tasks",
997997
tags: ["Tasks", "Scripts", "Testing"],
998998
},
999+
{
1000+
name: "@medga/hardhat-clone",
1001+
author: "The MEDGA Team",
1002+
authorUrl: "https://medga.org",
1003+
description:
1004+
"Clone an on-chain contract and integrate into your Hardhat project",
1005+
tags: ["etherscan", "clone", "verified contract"],
1006+
},
9991007
];
10001008

10011009
const officialPlugins: IPlugin[] = [

docs/src/content/ignition/docs/guides/deploy.md

+21
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ An example file could be called `./ignition/parameters.json` and contain the fol
4040
}
4141
```
4242

43+
:::tip
44+
45+
`JSON5` format is also supported for parameter files!
46+
47+
:::
48+
4349
This makes the `name` parameter for the `Apollo` module be `"Saturn V"`.
4450

4551
To execute a deployment using parameters, you need to use the `--parameters` argument, like this:
@@ -74,6 +80,21 @@ To pass a `bigint` as a Module parameter, you can encode it as a string. Any str
7480
}
7581
```
7682

83+
You can also define global parameters that will be available to all modules. To do this, define a `$global` key in the parameters file:
84+
85+
```json
86+
{
87+
"$global": {
88+
"shouldBeAllowed": true
89+
},
90+
"MyModule": {
91+
"shouldBeAllowed": false
92+
}
93+
}
94+
```
95+
96+
In this example, the `shouldBeAllowed` parameter will be `true` for all modules except `MyModule`, where it will be `false`. Global parameters can be accessed in the same way as module parameters.
97+
7798
## Inspecting an existing deployment
7899

79100
To get a list of all the deployment IDs that exist in the current project, run:

packages/hardhat-core/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# hardhat
22

3+
## 2.22.13
4+
5+
### Patch Changes
6+
7+
- bf92f4c: Fixed more bugs in the newly ported Solidity tracing logic
8+
- 3df95d3: Remove support for `console.log` selectors that wrongly use "(u)int" type aliases in the selector calculation
9+
- 4c1bcfc: Fixed minor bugs in the newly ported Solidity tracing logic
10+
311
## 2.22.12
412

513
### Patch Changes

packages/hardhat-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hardhat",
3-
"version": "2.22.12",
3+
"version": "2.22.13",
44
"author": "Nomic Labs LLC",
55
"license": "MIT",
66
"homepage": "https://hardhat.org",
@@ -100,7 +100,7 @@
100100
"dependencies": {
101101
"@ethersproject/abi": "^5.1.2",
102102
"@metamask/eth-sig-util": "^4.0.0",
103-
"@nomicfoundation/edr": "^0.6.1",
103+
"@nomicfoundation/edr": "^0.6.3",
104104
"@nomicfoundation/ethereumjs-common": "4.0.4",
105105
"@nomicfoundation/ethereumjs-tx": "5.0.4",
106106
"@nomicfoundation/ethereumjs-util": "9.0.4",

packages/hardhat-foundry/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This plugin makes it easier to use Hardhat and [Foundry](https://getfoundry.sh/)
66

77
When this plugin is enabled, Hardhat will use the same contracts directory that is used by Foundry, and it will be able to use dependencies installed with `forge install`.
88

9-
If you have a pure Hardhat project, your can use the `init-foundry` task to create a `foundry.toml` file. The file will be created using the proper values to make Foundry work well with your Hardhat project.
9+
If you have a pure Hardhat project, you can use the `init-foundry` task to create a `foundry.toml` file. The file will be created using the proper values to make Foundry work well with your Hardhat project.
1010

1111
Read [our guide](https://hardhat.org/hardhat-runner/docs/advanced/hardhat-and-foundry) to learn more.
1212

packages/hardhat-solpp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Install it, run `npx hardhat compile` and solc will compile the solpp generated
3838

3939
## Configuration
4040

41-
This plugin can by configured by setting a `solpp` entry in `hardhat.config.js`. Its options are:
41+
This plugin can be configured by setting a `solpp` entry in `hardhat.config.js`. Its options are:
4242

4343
- `defs`: is an object where each property is the symbol's name and its value is the actual definition. Definitions can be numbers, string, expressions, lists, or functions. For more detail about symbols you can check [solpp README](https://github.com/merklejerk/solpp).
4444
- `cwd: string`: directory where the contracts are located, it will be used for flattening purposes, by default it will be the project's source directory.

pnpm-lock.yaml

+33-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)