Skip to content

Commit 1ce4230

Browse files
fix: config
1 parent cd759e6 commit 1ce4230

File tree

5 files changed

+29
-57
lines changed

5 files changed

+29
-57
lines changed

contracts/evmx/base/AppGatewayBase.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ abstract contract AppGatewayBase is AddressResolverUtil, IAppGateway {
166166
return address(0);
167167
}
168168

169-
onChainAddress = IForwarder(forwarderAddresses[contractId_][chainSlug_]).getOnChainAddress();
169+
onChainAddress = IForwarder(forwarderAddresses[contractId_][chainSlug_])
170+
.getOnChainAddress();
170171
}
171172

172173
////////////////////////////////////////////////////////////////////////////////////////////////

deployments/stage_verification.json

Lines changed: 11 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@
4141
"0x5e1641B190B71ECCc85b1ECe934F31cD9b3dcF7a",
4242
"Socket",
4343
"contracts/protocol/Socket.sol",
44-
[
45-
10,
46-
"0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18",
47-
"EVMX"
48-
]
44+
[10, "0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18", "EVMX"]
4945
]
5046
],
5147
"43": [
@@ -90,9 +86,7 @@
9086
"0x38e24A2F157817b830F36A35b862F24B1494d1aD",
9187
"PromiseResolver",
9288
"contracts/evmx/watcher/PromiseResolver.sol",
93-
[
94-
"0x4C846eCa55ad8cF19B9D5d906225da7b565174C1"
95-
]
89+
["0x4C846eCa55ad8cF19B9D5d906225da7b565174C1"]
9690
],
9791
[
9892
"0xD38ae1a6C410c7681ac464bd60009198406035Ed",
@@ -146,9 +140,7 @@
146140
"0xe2054B575664dfDBD7a7FbAf2B12420ae88DE0FF",
147141
"FeesPool",
148142
"contracts/evmx/fees/FeesPool.sol",
149-
[
150-
"0xb62505feacC486e809392c65614Ce4d7b051923b"
151-
]
143+
["0xb62505feacC486e809392c65614Ce4d7b051923b"]
152144
],
153145
[
154146
"0x526796AC60e45CBB9b17c654C9447Baf160C084d",
@@ -197,9 +189,7 @@
197189
"0xd0bd7837E66eEd7Be04C88354e75F5bA3cd19959",
198190
"PromiseResolver",
199191
"contracts/evmx/watcher/PromiseResolver.sol",
200-
[
201-
"0x03Aa399188E2741f89cc4265493DC5b544C52134"
202-
]
192+
["0x03Aa399188E2741f89cc4265493DC5b544C52134"]
203193
],
204194
[
205195
"0x446C6B4086d1888cB15cF62735Bf57A4647E31A4",
@@ -235,9 +225,7 @@
235225
"0x69DD00B8a250e0A1bFF1b59db2EA99792faAbC66",
236226
"FeesPool",
237227
"contracts/evmx/fees/FeesPool.sol",
238-
[
239-
"0xb62505feacC486e809392c65614Ce4d7b051923b"
240-
]
228+
["0xb62505feacC486e809392c65614Ce4d7b051923b"]
241229
],
242230
[
243231
"0xfddb38811a0774E66ABD5F3Ae960bFB7E7415029",
@@ -330,11 +318,7 @@
330318
"0xee1Aef0b06f63Aa1c881838794Dd0876462c2B0d",
331319
"Socket",
332320
"contracts/protocol/Socket.sol",
333-
[
334-
8453,
335-
"0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18",
336-
"EVMX"
337-
]
321+
[8453, "0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18", "EVMX"]
338322
],
339323
[
340324
"0xbDE0D2da12F703Ccd275d721214745BccDCAD124",
@@ -359,11 +343,7 @@
359343
"0x5e1641B190B71ECCc85b1ECe934F31cD9b3dcF7a",
360344
"Socket",
361345
"contracts/protocol/Socket.sol",
362-
[
363-
8453,
364-
"0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18",
365-
"EVMX"
366-
]
346+
[8453, "0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18", "EVMX"]
367347
]
368348
],
369349
"42161": [
@@ -408,11 +388,7 @@
408388
"0x5e1641B190B71ECCc85b1ECe934F31cD9b3dcF7a",
409389
"Socket",
410390
"contracts/protocol/Socket.sol",
411-
[
412-
42161,
413-
"0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18",
414-
"EVMX"
415-
]
391+
[42161, "0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18", "EVMX"]
416392
]
417393
],
418394
"84532": [
@@ -448,11 +424,7 @@
448424
"0xa09217Cfc47F399C382E982778f6128685e13aD4",
449425
"Socket",
450426
"contracts/protocol/Socket.sol",
451-
[
452-
84532,
453-
"0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18",
454-
"EVMX"
455-
]
427+
[84532, "0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18", "EVMX"]
456428
]
457429
],
458430
"421614": [
@@ -488,11 +460,7 @@
488460
"0x468cA4bB968FD86eD752A7bD453c6869E27204f0",
489461
"Socket",
490462
"contracts/protocol/Socket.sol",
491-
[
492-
421614,
493-
"0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18",
494-
"EVMX"
495-
]
463+
[421614, "0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18", "EVMX"]
496464
]
497465
],
498466
"11155420": [
@@ -528,11 +496,7 @@
528496
"0x790E894C59d6275503e2Ff4ba95A42E38c071195",
529497
"Socket",
530498
"contracts/protocol/Socket.sol",
531-
[
532-
11155420,
533-
"0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18",
534-
"EVMX"
535-
]
499+
[11155420, "0x3339Cf48f1F9cf31b6F8c2664d144c7444eBBB18", "EVMX"]
536500
]
537501
]
538502
}

hardhat-scripts/config/config.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ export const getChains = () => {
3131
return [ChainSlug.ARBITRUM_SEPOLIA, ChainSlug.OPTIMISM_SEPOLIA];
3232
case DeploymentMode.STAGE:
3333
return [
34-
ChainSlug.OPTIMISM_SEPOLIA,
35-
ChainSlug.ARBITRUM_SEPOLIA,
36-
ChainSlug.BASE_SEPOLIA,
3734
ChainSlug.BASE,
3835
ChainSlug.ARBITRUM,
3936
ChainSlug.OPTIMISM,
37+
ChainSlug.OPTIMISM_SEPOLIA,
38+
ChainSlug.ARBITRUM_SEPOLIA,
39+
ChainSlug.BASE_SEPOLIA,
4040
];
4141
case DeploymentMode.PROD:
4242
return [
@@ -57,11 +57,7 @@ export const getFeesPlugChains = (): Array<ChainSlug> => {
5757
case DeploymentMode.DEV:
5858
return getChains();
5959
case DeploymentMode.STAGE:
60-
return [
61-
ChainSlug.OPTIMISM,
62-
ChainSlug.ARBITRUM,
63-
ChainSlug.BASE,
64-
];
60+
return [ChainSlug.OPTIMISM, ChainSlug.ARBITRUM, ChainSlug.BASE];
6561
case DeploymentMode.PROD:
6662
return getChains();
6763
default:

hardhat-scripts/constants/feeConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const tokens: TokenMap = {
1515

1616
const feePools: { [key: string]: string } = {
1717
[DeploymentMode.DEV]: "0xc20Be67ef742202dc93A78aa741E7C3715eA1DFd",
18-
[DeploymentMode.STAGE]: "",
18+
[DeploymentMode.STAGE]: "0xe2054B575664dfDBD7a7FbAf2B12420ae88DE0FF",
1919
};
2020

2121
export const getFeeTokens = (

hardhat.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ let liveNetworks = {
6161
),
6262
[HardhatChainName.SEPOLIA]: getChainConfig(ChainSlug.SEPOLIA),
6363
[HardhatChainName.BASE_SEPOLIA]: getChainConfig(ChainSlug.BASE_SEPOLIA),
64+
[HardhatChainName.BASE]: getChainConfig(ChainSlug.BASE),
65+
[HardhatChainName.ARBITRUM]: getChainConfig(ChainSlug.ARBITRUM),
66+
[HardhatChainName.OPTIMISM]: getChainConfig(ChainSlug.OPTIMISM),
6467
EVMX: {
6568
accounts: [`0x${privateKey}`],
6669
chainId: EVMX_CHAIN_ID,
@@ -124,6 +127,14 @@ const config: HardhatUserConfig = {
124127
browserURL: "https://sepolia.basescan.org/",
125128
},
126129
},
130+
{
131+
network: "base",
132+
chainId: ChainId.BASE,
133+
urls: {
134+
apiURL: "https://api.basescan.org/api",
135+
browserURL: "https://basescan.org/",
136+
},
137+
},
127138
{
128139
network: "evmx",
129140
chainId: EVMX_CHAIN_ID,

0 commit comments

Comments
 (0)