Skip to content

Commit

Permalink
migrate arbitrum from goerli to sepolia
Browse files Browse the repository at this point in the history
Signed-off-by: avichalp <[email protected]>
  • Loading branch information
avichalp committed Nov 14, 2023
1 parent a931137 commit 207a18b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docker/deployed/testnet/api/.env_validator.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ VALIDATOR_ALCHEMY_ETHEREUM_SEPOLIA_API_KEY=
VALIDATOR_GLIF_FILECOIN_CALIBRATION_API_KEY=
VALIDATOR_ALCHEMY_POLYGON_MUMBAI_API_KEY=
VALIDATOR_ALCHEMY_ETHEREUM_GOERLI_API_KEY=
VALIDATOR_ALCHEMY_ARBITRUM_GOERLI_API_KEY=
VALIDATOR_ALCHEMY_ARBITRUM_SEPOLIA_API_KEY=
VALIDATOR_ALCHEMY_OPTIMISM_GOERLI_API_KEY=
METRICS_HUB_API_KEY=
8 changes: 4 additions & 4 deletions docker/deployed/testnet/api/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@
"HashCalculationStep": 360
},
{
"Name": "Arbitrum Goerli",
"ChainID": 421613,
"Name": "Arbitrum Sepolia",
"ChainID": 421614,
"Registry": {
"EthEndpoint": "wss://arb-goerli.g.alchemy.com/v2/${VALIDATOR_ALCHEMY_ARBITRUM_GOERLI_API_KEY}",
"ContractAddress": "0x033f69e8d119205089Ab15D340F5b797732f646b"
"EthEndpoint": "wss://arb-sepolia.g.alchemy.com/v2/${VALIDATOR_ALCHEMY_ARBITRUM_SEPOLIA_API_KEY}",
"ContractAddress": "0x223A74B8323914afDC3ff1e5005564dC17231d6e"
},
"EventFeed": {
"ChainAPIBackoff": "15s",
Expand Down
15 changes: 7 additions & 8 deletions pkg/client/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var ChainIDs = struct {
EthereumGoerli ChainID
EthereumSepolia ChainID
OptimismGoerli ChainID
ArbitrumGoerli ChainID
ArbitrumSepolia ChainID
FilecoinCalibration ChainID
PolygonMumbai ChainID
Local ChainID
Expand All @@ -38,7 +38,7 @@ var ChainIDs = struct {
EthereumGoerli: 5,
EthereumSepolia: 11155111,
OptimismGoerli: 420,
ArbitrumGoerli: 421613,
ArbitrumSepolia: 421614,
FilecoinCalibration: 314159,
PolygonMumbai: 80001,
Local: 31337,
Expand Down Expand Up @@ -108,11 +108,11 @@ var Chains = map[ChainID]Chain{
Name: "Optimism Goerli",
ContractAddr: common.HexToAddress("0xC72E8a7Be04f2469f8C2dB3F1BdF69A7D516aBbA"),
},
ChainIDs.ArbitrumGoerli: {
ChainIDs.ArbitrumSepolia: {
Endpoint: testnetURL,
ID: ChainIDs.ArbitrumGoerli,
Name: "Arbitrum Goerli",
ContractAddr: common.HexToAddress("0x033f69e8d119205089Ab15D340F5b797732f646b"),
ID: ChainIDs.ArbitrumSepolia,
Name: "Arbitrum Sepolia",
ContractAddr: common.HexToAddress("0x223A74B8323914afDC3ff1e5005564dC17231d6e"),
},
ChainIDs.FilecoinCalibration: {
Endpoint: testnetURL,
Expand Down Expand Up @@ -140,7 +140,6 @@ var InfuraURLs = map[ChainID]string{
ChainIDs.Ethereum: "https://mainnet.infura.io/v3/%s",
ChainIDs.OptimismGoerli: "https://optimism-goerli.infura.io/v3/%s",
ChainIDs.Optimism: "https://optimism-mainnet.infura.io/v3/%s",
ChainIDs.ArbitrumGoerli: "https://arbitrum-goerli.infura.io/v3/%s",
ChainIDs.Arbitrum: "https://arbitrum-mainnet.infura.io/v3/%s",
ChainIDs.PolygonMumbai: "https://polygon-mumbai.infura.io/v3/%s",
ChainIDs.Polygon: "https://polygon-mainnet.infura.io/v3/%s",
Expand All @@ -153,7 +152,7 @@ var AlchemyURLs = map[ChainID]string{
ChainIDs.Ethereum: "https://eth-mainnet.g.alchemy.com/v2/%s",
ChainIDs.OptimismGoerli: "https://opt-goerli.g.alchemy.com/v2/%s",
ChainIDs.Optimism: "https://opt-mainnet.g.alchemy.com/v2/%s",
ChainIDs.ArbitrumGoerli: "https://arb-goerli.g.alchemy.com/v2/%s",
ChainIDs.ArbitrumSepolia: "https://arb-sepolia.g.alchemy.com/v2/%s",
ChainIDs.Arbitrum: "https://arb-mainnet.g.alchemy.com/v2/%s",
ChainIDs.PolygonMumbai: "https://polygon-mumbai.g.alchemy.com/v2/%s",
ChainIDs.Polygon: "https://polygon-mainnet.g.alchemy.com/v2/%s",
Expand Down

0 comments on commit 207a18b

Please sign in to comment.