Skip to content

Commit e10eb0f

Browse files
authored
chore: Add Sepolia testnet details (#316)
These contract addresses are needed by relayer-v2 for testing.
1 parent 2f649b1 commit e10eb0f

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

deploy/consts.ts

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ export const L1_ADDRESS_MAP: { [key: number]: { [contractName: string]: string }
6565
324: {
6666
weth: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
6767
},
68+
11155111: {
69+
finder: "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4",
70+
weth: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
71+
},
6872
};
6973

7074
export const L2_ADDRESS_MAP: { [key: number]: { [contractName: string]: string } } = {

deployments/deployments.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,11 @@
5959
"SpokePool": { "address": "0x45fF03629D024b7763275e732a2d80202c18b31C", "blockNumber": 26276253 }
6060
},
6161
"421611": { "SpokePool": { "address": "0x3BED21dAe767e4Df894B31b14aD32369cE4bad8b", "blockNumber": 10523275 } },
62-
"421613": { "SpokePool": { "address": "0xD29C85F15DF544bA632C9E25829fd29d767d7978", "blockNumber": 16711650 } }
62+
"421613": { "SpokePool": { "address": "0xd08baaE74D6d2eAb1F3320B2E1a53eeb391ce8e5", "blockNumber": 30397192 } },
63+
"11155111": {
64+
"AcrossConfigStore": { "address": "0xd85630E361cEbBC4c7f13e6eEd3587050fB81B86", "blockNumber": 3890922 },
65+
"LPTokenFactory": { "address": "0x28077B47Cd03326De7838926A63699849DD4fa87", "blockNumber": 3882568 },
66+
"HubPool": { "address": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", "blockNumber": 3883048 },
67+
"SpokePool": { "address": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", "blockNumber": 3883174 }
68+
}
6369
}

hardhat.config.ts

+7
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ const config: HardhatUserConfig = {
134134
saveDeployments: true,
135135
accounts: { mnemonic },
136136
},
137+
sepolia: {
138+
url: "https://rpc2.sepolia.org",
139+
accounts: { mnemonic },
140+
saveDeployments: true,
141+
chainId: 11155111,
142+
},
137143
polygon: {
138144
chainId: 137,
139145
url: getNodeUrl("polygon-matic", true, 137),
@@ -162,6 +168,7 @@ const config: HardhatUserConfig = {
162168
kovan: process.env.ETHERSCAN_API_KEY!,
163169
rinkeby: process.env.ETHERSCAN_API_KEY!,
164170
goerli: process.env.ETHERSCAN_API_KEY!,
171+
// sepolia: process.env.ETHERSCAN_API_KEY!, hardhat-etherscan is unhappy with custom definitions.
165172
optimisticEthereum: process.env.OPTIMISM_ETHERSCAN_API_KEY!,
166173
arbitrumOne: process.env.ARBITRUM_ETHERSCAN_API_KEY!,
167174
polygon: process.env.POLYGON_ETHERSCAN_API_KEY!,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@across-protocol/contracts-v2",
3-
"version": "2.3.3",
3+
"version": "2.3.4",
44
"author": "UMA Team",
55
"license": "AGPL-3.0-only",
66
"repository": {

utils/constants.ts

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export const CHAIN_IDs = {
55
BOBA: 288,
66
POLYGON: 137,
77
GOERLI: 5,
8+
SEPOLIA: 11155111,
89
MUMBAI: 80001,
910
ARBITRUM_GOERLI: 421613,
1011
OPTIMISM_GOERLI: 420,
@@ -78,7 +79,9 @@ export const TOKEN_SYMBOLS_MAP = {
7879
[CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
7980
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
8081
[CHAIN_IDs.ARBITRUM]: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
82+
[CHAIN_IDs.ARBITRUM_GOERLI]: "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3",
8183
[CHAIN_IDs.GOERLI]: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
84+
[CHAIN_IDs.SEPOLIA]: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
8285
},
8386
},
8487
MATIC: {
@@ -173,7 +176,9 @@ export const TOKEN_SYMBOLS_MAP = {
173176
[CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
174177
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
175178
[CHAIN_IDs.ARBITRUM]: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
179+
[CHAIN_IDs.ARBITRUM_GOERLI]: "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3",
176180
[CHAIN_IDs.GOERLI]: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
181+
[CHAIN_IDs.SEPOLIA]: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
177182
},
178183
},
179184
WMATIC: {

0 commit comments

Comments
 (0)