Skip to content

Commit f23a963

Browse files
committed
build: upgrade to EDR v0.5
1 parent 739d593 commit f23a963

File tree

4 files changed

+36
-34
lines changed

4 files changed

+36
-34
lines changed

packages/hardhat-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"dependencies": {
103103
"@ethersproject/abi": "^5.1.2",
104104
"@metamask/eth-sig-util": "^4.0.0",
105-
"@nomicfoundation/edr": "^0.4.2",
105+
"@nomicfoundation/edr": "^0.5.0",
106106
"@nomicfoundation/ethereumjs-common": "4.0.4",
107107
"@nomicfoundation/ethereumjs-tx": "5.0.4",
108108
"@nomicfoundation/ethereumjs-util": "9.0.4",

packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts

+1
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ export class EdrProviderWrapper
255255
}),
256256
cacheDir: config.forkCachePath,
257257
coinbase: Buffer.from(coinbase.slice(2), "hex"),
258+
enableRip7212: false,
258259
fork,
259260
hardfork: ethereumsjsHardforkToEdrSpecId(hardforkName),
260261
genesisAccounts: config.genesisAccounts.map((account) => {

packages/hardhat-core/src/internal/hardhat-network/provider/vm/exit.ts

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class Exit {
2424
case SuccessReason.Stop:
2525
case SuccessReason.Return:
2626
case SuccessReason.SelfDestruct:
27+
case SuccessReason.EofReturnContract:
2728
return new Exit(ExitCode.SUCCESS);
2829
}
2930

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)