Skip to content

Commit 5e64c2a

Browse files
authored
Merge pull request #305 from kleros/feat/migrate-goerli-to-sepolia
Resuscitated Arbitrum Sepolia to Sepolia devnet deployment
2 parents 992dc11 + 7cb9d80 commit 5e64c2a

33 files changed

+1357
-825
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Default
2-
* @jaybuidl @shotaronowhere
2+
* @jaybuidl @mani99brar
33

44
# Veascan
55
veascan-subgraph-inbox/ @jaybuidl @alcercu
66
veascan-subgraph-outbox/ @jaybuidl @alcercu
77
veascan-web/ @jaybuidl @alcercu
88

99
# Owned by everyone
10-
yarn.lock @jaybuidl @shotaronowhere @alcercu
11-
.gitignore @jaybuidl @shotaronowhere @alcercu
10+
yarn.lock @jaybuidl @mani99brar @alcercu
11+
.gitignore @jaybuidl @mani99brar @alcercu

.github/workflows/sonarcloud.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Harden Runner
23-
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
23+
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
2424
with:
2525
egress-policy: audit
2626

27-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
27+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2828
with:
2929
# Disabling shallow clone is recommended for improving relevancy of reporting
3030
fetch-depth: 0
31+
3132
- name: SonarCloud Scan
32-
uses: sonarsource/sonarcloud-github-action@9c0534dd12d09f22d69fbb301a1955249e49d910 # master
33+
uses: sonarsource/sonarcloud-github-action@eb211723266fe8e83102bac7361f0a05c3ac1d1b # v3.0.0
3334
env:
3435
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3536
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# misc
2+
.DS_Store
3+
.env
4+
.env.test
5+
.env.testnet
6+
.env.devnet
7+
.env.local
8+
.env.development.local
9+
.env.test.local
10+
.env.production.local
11+
12+
113
#------------------------------------
214
# FILE GENERATED AS FOLLOWS
315
# curl -sL https://www.toptal.com/developers/gitignore/api/vim,node,visualstudiocode,yarn | sed 's|\(!.yarn/cache\)|#\1|' > .gitignore

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
],
1111
"prettier.configPath": ".prettierrc.json",
1212
"eslint.alwaysShowStatus": true,
13-
"eslint.packageManager": "yarn"
13+
"eslint.packageManager": "yarn",
14+
"shellcheck.customArgs": [
15+
"--external-sources"
16+
]
1417
}

contracts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Refresh the list of deployed contracts by running `./scripts/generateDeployments
1010

1111
#### Sepolia
1212

13-
- [VeaOutboxArbToEthDevnet](https://sepolia.etherscan.io/address/0x5AD255400913515C8DA7E82E6b8A109fA5c46135)
13+
- [VeaOutboxArbToEthDevnet](https://sepolia.etherscan.io/address/0xb8BF3B6bd3E1a0Cc9E2dB77dd492503310514674)
1414

1515
#### Arbitrum Sepolia
1616

17-
- [VeaInboxArbToEthDevnet](https://sepolia.arbiscan.io/address/0x77e95F54032f467eC45c48C6affc203f93858783)
17+
- [VeaInboxArbToEthDevnet](https://sepolia.arbiscan.io/address/0x0B5851fE2a931F619F73E739E5435C43976f1D68)
1818

1919
#### Chiado
2020

contracts/deploy/01-outbox/01-arb-sepolia-to-chiado-outbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const paramsByChainId = {
1515
epochPeriod: 1800, // 30 min
1616
minChallengePeriod: 0, // 30 min
1717
numEpochTimeout: 10000000000000, // never
18-
amb: "0x99Ca51a3534785ED619f46A79C7Ad65Fa8d85e7a",
18+
amb: "0x8448E15d0e706C0298dECA99F0b4744030e59d7d", // https://docs.gnosischain.com/bridges/About%20Token%20Bridges/amb-bridge#key-contracts
1919
sequencerLimit: 86400,
2020
maxMissingBlocks: 10000000000000,
2121
routerChainId: 11155111,

contracts/deploy/01-outbox/01-arb-to-gnosis-outbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const paramsByChainId = {
3131
numEpochTimeout: 1000000, // never
3232
maxMissingBlocks: 1000000, // any
3333
routerChainId: 11155111,
34-
amb: "0x99Ca51a3534785ED619f46A79C7Ad65Fa8d85e7a",
34+
amb: "0x8448E15d0e706C0298dECA99F0b4744030e59d7d", // https://docs.gnosischain.com/bridges/About%20Token%20Bridges/amb-bridge#key-contracts
3535
WETH: "0x8d74e5e4DA11629537C4575cB0f33b4F0Dfa42EB",
3636
sequencerLimit: 86400, // 24 hours
3737
},

contracts/deploy/02-inbox/02-chiado-to-arb-sepolia-inbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ enum SenderChains {
1010
const paramsByChainId = {
1111
GNOSIS_CHIADO: {
1212
epochPeriod: 1800, // 30 minutes
13-
amb: "0x99Ca51a3534785ED619f46A79C7Ad65Fa8d85e7a",
13+
amb: "0x8448E15d0e706C0298dECA99F0b4744030e59d7d", // https://docs.gnosischain.com/bridges/About%20Token%20Bridges/amb-bridge#key-contracts
1414
},
1515
HARDHAT: {
1616
amb: ethers.constants.AddressZero,

contracts/deploy/02-inbox/02-gnosis-to-arb-inbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const paramsByChainId = {
1515
},
1616
GNOSIS_CHIADO: {
1717
epochPeriod: 7200, // 2 hours
18-
amb: "0x99Ca51a3534785ED619f46A79C7Ad65Fa8d85e7a",
18+
amb: "0x8448E15d0e706C0298dECA99F0b4744030e59d7d",
1919
},
2020
HARDHAT: {
2121
epochPeriod: 600, // 10 minutes

contracts/deploy/03-routers/03-arb-to-gnosis-router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const paramsByChainId = {
1515
},
1616
ETHEREUM_SEPOLIA: {
1717
arbitrumBridge: "0x38f918D0E9F1b721EDaA41302E399fa1B79333a9", // https://developer.arbitrum.io/useful-addresses
18-
amb: "0x87A19d769D875964E9Cd41dDBfc397B2543764E6",
18+
amb: "0xf2546D6648BD2af6a008A7e7C1542BB240329E11", // https://docs.gnosischain.com/bridges/About%20Token%20Bridges/amb-bridge#key-contracts
1919
},
2020
HARDHAT: {
2121
arbitrumInbox: ethers.constants.AddressZero,

0 commit comments

Comments
 (0)