Skip to content

Commit 072adb6

Browse files
committed
feat: make prague the default hardfork
1 parent 3cf0685 commit 072adb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/content/hardhat-network/docs/reference/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The block gas limit to use in Hardhat Network's blockchain. Default value: `30_0
6767

6868
#### `hardfork`
6969

70-
This setting changes how Hardhat Network works, to mimic Ethereum's mainnet at a given hardfork. It must be one of `"byzantium"`, `"constantinople"`, `"petersburg"`, `"istanbul"`, `"muirGlacier"`, `"berlin"`, `"london"`, `"arrowGlacier"`, `"grayGlacier"`, `"merge"`, `"shanghai"`, `"cancun"` and `"prague"`. Default value: `"cancun"`
70+
This setting changes how Hardhat Network works, to mimic Ethereum's mainnet at a given hardfork. It must be one of `"byzantium"`, `"constantinople"`, `"petersburg"`, `"istanbul"`, `"muirGlacier"`, `"berlin"`, `"london"`, `"arrowGlacier"`, `"grayGlacier"`, `"merge"`, `"shanghai"`, `"cancun"` and `"prague"`. Default value: `"prague"`
7171

7272
#### `throwOnTransactionFailures`
7373

packages/hardhat-core/src/internal/core/config/default-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const defaultHardhatNetworkParams: Omit<
3636
HardhatNetworkConfig,
3737
"gas" | "initialDate"
3838
> = {
39-
hardfork: HardforkName.CANCUN,
39+
hardfork: HardforkName.PRAGUE,
4040
blockGasLimit: 30_000_000,
4141
gasPrice: HARDHAT_NETWORK_DEFAULT_GAS_PRICE,
4242
chainId: 31337,

0 commit comments

Comments
 (0)