Skip to content

Commit cc29fc4

Browse files
committed
Convert Prague hardfork to EDR's SpecId
1 parent ae6468c commit cc29fc4

File tree

1 file changed

+1
-2
lines changed
  • packages/hardhat-core/src/internal/hardhat-network/provider/utils

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ export function ethereumsjsHardforkToEdrSpecId(hardfork: HardforkName): SpecId {
6262
case HardforkName.CANCUN:
6363
return SpecId.Cancun;
6464
case HardforkName.PRAGUE:
65-
// TODO: update the value when Prague is added to EDR
66-
return SpecId.Cancun;
65+
return SpecId.Prague;
6766
default:
6867
const _exhaustiveCheck: never = hardfork;
6968
throw new Error(

0 commit comments

Comments
 (0)