Skip to content

Commit 98555fa

Browse files
fix: Hoodi support in all packages (#826)
1 parent a550799 commit 98555fa

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

apps/rest-api-server/src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export function getNetworkDencunForkSlot(
88
return 8626176;
99
case "holesky":
1010
return 950272;
11+
case "hoodi":
12+
return 0;
1113
case "sepolia":
1214
return 4243456;
1315
case "gnosis":

apps/web/src/utils/web3.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export function getChainIdByName(chainName: string): number | undefined {
99
return 1;
1010
case "holesky":
1111
return 17000;
12+
case "hoodi":
13+
return 560048;
1214
case "sepolia":
1315
return 11155111;
1416
case "gnosis":

packages/env/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const blobStorageSchema = z.enum([
2222
const networkSchema = z.enum([
2323
"mainnet",
2424
"holesky",
25+
"hoodi",
2526
"sepolia",
2627
"gnosis",
2728
"chiado",

packages/rollups/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ export const ADDRESS_TO_ROLLUP_MAPPINGS: Map<
116116
],
117117
// Gnosis
118118
[100, new Map()],
119+
// Hoodi
120+
[560048, new Map()],
119121
]);
120122

121123
export const ROLLUP_TO_ADDRESSES_MAPPINGS = new Map(

0 commit comments

Comments
 (0)