Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove arb and eth goerli networks #608

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docker/deployed/testnet/api/.env_validator.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,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=
40 changes: 1 addition & 39 deletions docker/deployed/testnet/api/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,6 @@
"ChainStackCollectFrequency": "15m"
},
"Chains": [
{
"Name": "Ethereum Goerli",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"ChainID": 5,
"Registry": {
"EthEndpoint": "wss://eth-goerli.alchemyapi.io/v2/${VALIDATOR_ALCHEMY_ETHEREUM_GOERLI_API_KEY}",
"ContractAddress": "0xDA8EA22d092307874f30A1F277D1388dca0BA97a"
},
"EventFeed": {
"ChainAPIBackoff": "15s",
"NewBlockPollFreq": "10s",
"MinBlockDepth": 1,
"PersistEvents": true
},
"EventProcessor": {
"BlockFailedExecutionBackoff": "10s",
"DedupExecutedTxns": true
},
"HashCalculationStep": 150
},
{
"Name": "Ethereum Sepolia",
"ChainID": 11155111,
Expand Down Expand Up @@ -108,26 +89,7 @@
"DedupExecutedTxns": true
},
"HashCalculationStep": 360
},
{
"Name": "Arbitrum Goerli",
"ChainID": 421613,
"Registry": {
"EthEndpoint": "wss://arb-goerli.g.alchemy.com/v2/${VALIDATOR_ALCHEMY_ARBITRUM_GOERLI_API_KEY}",
"ContractAddress": "0x033f69e8d119205089Ab15D340F5b797732f646b"
},
"EventFeed": {
"ChainAPIBackoff": "15s",
"NewBlockPollFreq": "5s",
"MinBlockDepth": 0,
"PersistEvents": true
},
"EventProcessor": {
"BlockFailedExecutionBackoff": "10s",
"DedupExecutedTxns": true
},
"HashCalculationStep": 360
},
},
{
"Name": "Arbitrum Sepolia",
"ChainID": 421614,
Expand Down
17 changes: 0 additions & 17 deletions pkg/client/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ var ChainIDs = struct {
Arbitrum: 42161,
ArbitrumNova: 42170,
Filecoin: 314,
EthereumGoerli: 5,
EthereumSepolia: 11155111,
OptimismGoerli: 420,
ArbitrumGoerli: 421613,
ArbitrumSepolia: 421614,
FilecoinCalibration: 314159,
PolygonMumbai: 80001,
Expand Down Expand Up @@ -92,12 +90,6 @@ var Chains = map[ChainID]Chain{
Name: "Filecoin",
ContractAddr: common.HexToAddress("0x59EF8Bf2d6c102B4c42AEf9189e1a9F0ABfD652d"),
},
ChainIDs.EthereumGoerli: {
Endpoint: testnetURL,
ID: ChainIDs.EthereumGoerli,
Name: "Ethereum Goerli",
ContractAddr: common.HexToAddress("0xDA8EA22d092307874f30A1F277D1388dca0BA97a"),
},
ChainIDs.EthereumSepolia: {
Endpoint: testnetURL,
ID: ChainIDs.EthereumSepolia,
Expand All @@ -110,12 +102,6 @@ var Chains = map[ChainID]Chain{
Name: "Optimism Goerli",
ContractAddr: common.HexToAddress("0xC72E8a7Be04f2469f8C2dB3F1BdF69A7D516aBbA"),
},
ChainIDs.ArbitrumGoerli: {
Endpoint: testnetURL,
ID: ChainIDs.ArbitrumGoerli,
Name: "Arbitrum Goerli",
ContractAddr: common.HexToAddress("0x033f69e8d119205089Ab15D340F5b797732f646b"),
},
ChainIDs.ArbitrumSepolia: {
Endpoint: testnetURL,
ID: ChainIDs.ArbitrumSepolia,
Expand Down Expand Up @@ -144,7 +130,6 @@ var Chains = map[ChainID]Chain{

// InfuraURLs contains the URLs for supported chains for Infura.
var InfuraURLs = map[ChainID]string{
ChainIDs.EthereumGoerli: "https://goerli.infura.io/v3/%s",
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",
Expand All @@ -155,12 +140,10 @@ var InfuraURLs = map[ChainID]string{

// AlchemyURLs contains the URLs for supported chains for Alchemy.
var AlchemyURLs = map[ChainID]string{
ChainIDs.EthereumGoerli: "https://eth-goerli.g.alchemy.com/v2/%s",
ChainIDs.EthereumSepolia: "https://eth-sepolia.g.alchemy.com/v2/%s",
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",
Expand Down
Loading