Skip to content

Commit

Permalink
chore: Add Sepolia testnet details (#316)
Browse files Browse the repository at this point in the history
These contract addresses are needed by relayer-v2 for testing.
  • Loading branch information
pxrl committed Jul 17, 2023
1 parent 2f649b1 commit e10eb0f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
4 changes: 4 additions & 0 deletions deploy/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ export const L1_ADDRESS_MAP: { [key: number]: { [contractName: string]: string }
324: {
weth: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
},
11155111: {
finder: "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4",
weth: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
},
};

export const L2_ADDRESS_MAP: { [key: number]: { [contractName: string]: string } } = {
Expand Down
8 changes: 7 additions & 1 deletion deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@
"SpokePool": { "address": "0x45fF03629D024b7763275e732a2d80202c18b31C", "blockNumber": 26276253 }
},
"421611": { "SpokePool": { "address": "0x3BED21dAe767e4Df894B31b14aD32369cE4bad8b", "blockNumber": 10523275 } },
"421613": { "SpokePool": { "address": "0xD29C85F15DF544bA632C9E25829fd29d767d7978", "blockNumber": 16711650 } }
"421613": { "SpokePool": { "address": "0xd08baaE74D6d2eAb1F3320B2E1a53eeb391ce8e5", "blockNumber": 30397192 } },
"11155111": {
"AcrossConfigStore": { "address": "0xd85630E361cEbBC4c7f13e6eEd3587050fB81B86", "blockNumber": 3890922 },
"LPTokenFactory": { "address": "0x28077B47Cd03326De7838926A63699849DD4fa87", "blockNumber": 3882568 },
"HubPool": { "address": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", "blockNumber": 3883048 },
"SpokePool": { "address": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", "blockNumber": 3883174 }
}
}
7 changes: 7 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ const config: HardhatUserConfig = {
saveDeployments: true,
accounts: { mnemonic },
},
sepolia: {
url: "https://rpc2.sepolia.org",
accounts: { mnemonic },
saveDeployments: true,
chainId: 11155111,
},
polygon: {
chainId: 137,
url: getNodeUrl("polygon-matic", true, 137),
Expand Down Expand Up @@ -162,6 +168,7 @@ const config: HardhatUserConfig = {
kovan: process.env.ETHERSCAN_API_KEY!,
rinkeby: process.env.ETHERSCAN_API_KEY!,
goerli: process.env.ETHERSCAN_API_KEY!,
// sepolia: process.env.ETHERSCAN_API_KEY!, hardhat-etherscan is unhappy with custom definitions.
optimisticEthereum: process.env.OPTIMISM_ETHERSCAN_API_KEY!,
arbitrumOne: process.env.ARBITRUM_ETHERSCAN_API_KEY!,
polygon: process.env.POLYGON_ETHERSCAN_API_KEY!,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@across-protocol/contracts-v2",
"version": "2.3.3",
"version": "2.3.4",
"author": "UMA Team",
"license": "AGPL-3.0-only",
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const CHAIN_IDs = {
BOBA: 288,
POLYGON: 137,
GOERLI: 5,
SEPOLIA: 11155111,
MUMBAI: 80001,
ARBITRUM_GOERLI: 421613,
OPTIMISM_GOERLI: 420,
Expand Down Expand Up @@ -78,7 +79,9 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
[CHAIN_IDs.ARBITRUM]: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
[CHAIN_IDs.ARBITRUM_GOERLI]: "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3",
[CHAIN_IDs.GOERLI]: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
[CHAIN_IDs.SEPOLIA]: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
},
},
MATIC: {
Expand Down Expand Up @@ -173,7 +176,9 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
[CHAIN_IDs.ARBITRUM]: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
[CHAIN_IDs.ARBITRUM_GOERLI]: "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3",
[CHAIN_IDs.GOERLI]: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
[CHAIN_IDs.SEPOLIA]: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
},
},
WMATIC: {
Expand Down

0 comments on commit e10eb0f

Please sign in to comment.