Skip to content

Commit

Permalink
Update infra to deploy to Arbitrum Sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
RCantu92 committed Nov 4, 2024
1 parent 173f702 commit 4b7ba33
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 2 deletions.
14 changes: 12 additions & 2 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ module.exports = {
mainnet: argv.etherscan,
sepolia: argv.etherscan,
polygon: argv.polyscan,
basesepolia: argv.basescan
arbitrumOne: argv.arbiscan,
basesepolia: argv.basescan,
arbitrumsepolia: argv.arbiscan
},
customChains: [
{
Expand All @@ -75,6 +77,14 @@ module.exports = {
apiURL: "https://api-sepolia.basescan.org/api",
browserURL: "https://sepolia.basescan.org/"
}
},
{
network: "arbitrumsepolia",
chainId: 421614,
urls: {
apiURL: "https://api-sepolia.arbiscan.io/api",
browserURL: "https://sepolia.arbiscan.io/"
}
}
]
},
Expand Down Expand Up @@ -103,7 +113,7 @@ const accountsForNetwork = (name) => [argv[`${name}Mnemonic`] && { mnemonic: arg
Object.assign(
module.exports.networks,
Object.fromEntries(
['mainnet', 'ropsten', 'rinkeby', 'goerli', 'kovan', 'polygon', 'mumbai', 'amoy', 'sepolia', 'basesepolia', 'local']
['mainnet', 'ropsten', 'rinkeby', 'goerli', 'kovan', 'polygon', 'arbitrum', 'mumbai', 'amoy', 'sepolia', 'basesepolia', 'arbitrumsepolia', 'local']
.map((name) => [name, { url: argv[`${name}Node`], accounts: accountsForNetwork(name), gasPrice: argv[`${name}GasPrice`] || 'auto' }])
.filter(([, { url }]) => url)
),
Expand Down
1 change: 1 addition & 0 deletions releases/1.2.15/arbitrum/config/deploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions releases/1.2.15/arbitrum/output/deployed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
17 changes: 17 additions & 0 deletions releases/1.2.15/arbitrumsepolia/config/deploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"FortaBridgedArbitrum": {
"impl": {
"init-args": [
"0x233BAc002bF01DA9FEb9DE57Ff7De5B3820C1a24",
"0x95d9a757ad9C25999ffE93f3067221F04ce1Cc79",
"0x6e244cD02BBB8a6dbd7F626f05B2ef82151Ab502"
],
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": []
}
}
}
}
18 changes: 18 additions & 0 deletions releases/1.2.15/arbitrumsepolia/output/deployed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"forta-bridged-arbitrum-deploy-tx": "0xbfd0cb53f6ae0d50834da210d5803b21ec2fad53f7685527a575ea137691e09e",
"forta-bridged-arbitrum": {
"address": "0x2441Ce5eB269505f30F6F434D21E039438aaC342",
"impl": {
"address": "0x95d9a757ad9C25999ffE93f3067221F04ce1Cc79",
"constructor-args": [],
"init-args": [
"0x233BAc002bF01DA9FEb9DE57Ff7De5B3820C1a24",
"0x95d9a757ad9C25999ffE93f3067221F04ce1Cc79",
"0x6e244cD02BBB8a6dbd7F626f05B2ef82151Ab502"
],
"name": "FortaBridgedArbitrum",
"timeout": 1200000,
"version": "0.1.0"
}
}
}
9 changes: 9 additions & 0 deletions releases/1.2.15/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: FORT Arbitrum deployment
network: arbitrumsepolia
# network: arbitrum (for mainnet)
deploy: deploy-and-prepare-upgrade 1.2.15
verify: verify-deployed
finish: propose-admin
description: |
## Deployed new implementations on Arbitrum testnet:
- FORT token
2 changes: 2 additions & 0 deletions releases/deployments/multisigs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"mumbai": "0x19AD705930B6695812c921f08b16F7DfAF59A536",
"polygon": "0x30ceaeC1d8Ed347B91d45077721c309242db3D6d",
"arbitrum": "0x0000000000000000000000000000000000000000",
"sepolia": "0x0000000000000000000000000000000000000000",
"basesepolia": "0x4e22284F3aDC3c023c9D8bb4Fbb27fbb96ef6d5e",
"arbitrumsepolia": "0x0000000000000000000000000000000000000000",
"local": "0x233BAc002bF01DA9FEb9DE57Ff7De5B3820C1a24"
}
2 changes: 2 additions & 0 deletions releases/deployments/relayers.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"mumbai": "0x2832d78949b9963f44ba2a3f15ac1ac56eeb2676",
"sepolia": "0x0000000000000000000000000000000000000000",
"basesepolia": "0xa17AdDd061ba541823832A983E78490CE2787e95",
"arbitrumsepolia": "0x0000000000000000000000000000000000000000",
"polygon": "0x15d3c7e811582be09bb8673cd603bb2f22d1e47b",
"arbitrum": "0x0000000000000000000000000000000000000000",
"local": "0x233BAc002bF01DA9FEb9DE57Ff7De5B3820C1a24"
}
4 changes: 4 additions & 0 deletions scripts/utils/contractHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ const getBlockExplorerDomain = (hre) => {
case 'polygon':
case 'matic':
return 'polygonscan.com';
case 'arbitrum':
return 'arbiscan.io';
case 'mumbai':
return 'mumbai.polygonscan.com';
case 'amoy':
Expand All @@ -152,6 +154,8 @@ const getBlockExplorerDomain = (hre) => {
return 'sepolia.etherscan.io';
case 'basesepolia':
return 'sepolia.basescan.org'
case 'arbitrumsepolia':
return 'sepolia.arbiscan.io';
}
};

Expand Down
2 changes: 2 additions & 0 deletions scripts/utils/deploymentFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ const CHAIN_NAME = {
1: 'mainnet',
5: 'goerli',
137: 'polygon',
42161: 'arbitrum',
80001: 'mumbai',
80002: 'amoy',
84532: 'basesepolia',
31337: 'local',
421614: 'arbitrumsepolia',
11155111: 'sepolia'
};

Expand Down

0 comments on commit 4b7ba33

Please sign in to comment.