Skip to content

Commit 554c2a1

Browse files
authored
Merge branch 'v-next' into chore/update-node-in-test-matrix
2 parents 8a6d4f1 + 4255874 commit 554c2a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+310
-113
lines changed

.changeset/gorgeous-knives-yawn.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@nomicfoundation/hardhat-viem": patch
3+
"hardhat": patch
4+
---
5+
6+
Rename `optimism` chain type to `op` ([#7085](https://github.com/NomicFoundation/hardhat/issues/7085))

.changeset/khaki-seahorses-develop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": patch
3+
---
4+
5+
Group `mocha` and `solidityTest` config under `test` property ([#7101](https://github.com/NomicFoundation/hardhat/pull/7101))

.changeset/proud-colts-itch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": minor
3+
---
4+
5+
Upgraded EDR dependency to @nomicfoundation/edr v0.12.0-next.3

.changeset/real-emus-begin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": patch
3+
---
4+
5+
Upgraded EDR dependency to @nomicfoundation/edr v0.12.0-next.2

.changeset/spicy-bugs-sit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": patch
3+
---
4+
5+
Added the addresses of created contracts in call traces

.changeset/spotty-pianos-confess.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": minor
3+
---
4+
5+
Removed deprecated JSON-RPC methods: `eth_mining`, `net_listening`, `net_peerCount`, `hardhat_addCompilationResult`, `hardhat_intervalMine`, and `hardhat_reset`.

pnpm-lock.yaml

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v-next/example-project/hardhat.config.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,27 +116,27 @@ const config: HardhatUserConfig = {
116116
networks: {
117117
op: {
118118
type: "http",
119-
chainType: "optimism",
119+
chainType: "op",
120120
url: "https://mainnet.optimism.io/",
121121
accounts: [configVariable("OP_SENDER")],
122122
},
123123
edrOp: {
124124
type: "edr",
125-
chainType: "optimism",
125+
chainType: "op",
126126
chainId: 10,
127127
forking: {
128128
url: "https://mainnet.optimism.io",
129129
},
130130
},
131131
opSepolia: {
132132
type: "http",
133-
chainType: "optimism",
133+
chainType: "op",
134134
url: "https://sepolia.optimism.io",
135135
accounts: [configVariable("OP_SEPOLIA_SENDER")],
136136
},
137137
edrOpSepolia: {
138138
type: "edr",
139-
chainType: "optimism",
139+
chainType: "op",
140140
forking: {
141141
url: "https://sepolia.optimism.io",
142142
},
@@ -207,6 +207,14 @@ const config: HardhatUserConfig = {
207207
typechain: {
208208
tsNocheck: false,
209209
},
210+
test: {
211+
mocha: {
212+
color: true,
213+
},
214+
solidity: {
215+
timeout: 1000,
216+
},
217+
},
210218
};
211219

212220
export default config;

v-next/example-project/scripts/send-op-tx-viem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ async function sendL2Transaction(networkConfigName: string) {
55

66
const { viem, networkConfig } = await network.connect({
77
network: networkConfigName,
8-
chainType: "optimism",
8+
chainType: "op",
99
});
1010

1111
if (networkConfig.type === "edr") {

v-next/example-project/scripts/send-op-tx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { network } from "hardhat";
22

33
const { provider } = await network.connect({
44
network: "op",
5-
chainType: "optimism",
5+
chainType: "op",
66
});
77

88
const accounts = (await provider.request({

0 commit comments

Comments
 (0)