Skip to content

Commit 2eb40c0

Browse files
authored
Merge pull request #16 from lidofinance/feat/2.24.0
feat: 2.24.0
2 parents 9a109d0 + dbcbebd commit 2eb40c0

File tree

5 files changed

+103
-102
lines changed

5 files changed

+103
-102
lines changed

.dockerignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
cache
2-
node_modules
3-
.idea
4-
.vscode
1+
cache/
2+
node_modules/
3+
4+
.idea/
5+
.vscode/

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following environment variables can be used to configure the hardhat node:
1010
- `ALCHEMY_TOKEN` - Token for Alchemy provider
1111
- `ETH_RPC_URL` - Custom Ethereum RPC URL
1212
- `DONT_SET_CHAIN_ID` - Set to any value to prevent setting chainId (useful when forking)
13-
- `HARDFORK` - Specify the hardfork to use (defaults to "cancun")
13+
- `HARDFORK` - Specify the hardfork to use (defaults to "prague")
1414

1515
### Available Node Types
1616

@@ -34,31 +34,31 @@ The Hardhat node comes with the following default configuration:
3434
With Infura
3535

3636
```bash
37-
docker run -e INFURA_TOKEN=your_token -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.23.0
37+
docker run -e INFURA_TOKEN=your_token -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.24.0
3838
```
3939

4040
With Alchemy:
4141

4242
```bash
43-
docker run -e ALCHEMY_TOKEN=your_token -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.23.0
43+
docker run -e ALCHEMY_TOKEN=your_token -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.24.0
4444
```
4545

4646
With custom provider:
4747

4848
```bash
49-
docker run -e ETH_RPC_URL=your_url -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.23.0
49+
docker run -e ETH_RPC_URL=your_url -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.24.0
5050
```
5151

5252
If you don't need to fork mainnet, and you only want to work with the `-scratch` node:
5353

5454
```bash
55-
docker run -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.23.0-scratch
55+
docker run -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.24.0-scratch
5656
```
5757

5858
If you want to fork hoodi use `-hoodi` node, for example:
5959

6060
```bash
61-
docker run -e ETH_RPC_URL=your_url -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.23.0-hoodi
61+
docker run -e ETH_RPC_URL=your_url -p 8545:8545 -it --rm ghcr.io/lidofinance/hardhat-node:2.24.0-hoodi
6262
```
6363

6464
### Forking fork chainId issue

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"scripts": {
44
"start": "hardhat node"
55
},
6-
"packageManager": "pnpm@10.8.0",
6+
"packageManager": "pnpm@10.10.0",
77
"devDependencies": {
88
"prettier": "^3.5.3",
99
"ts-node": "^10.9.2",
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@nomicfoundation/hardhat-ethers": "^3.0.8",
1414
"dotenv": "^16.5.0",
15-
"ethers": "^6.13.5",
16-
"hardhat": "^2.23.0"
15+
"ethers": "^6.14.0",
16+
"hardhat": "^2.24.0"
1717
}
1818
}

0 commit comments

Comments
 (0)