Skip to content

Commit

Permalink
Deprecating Goerli
Browse files Browse the repository at this point in the history
  • Loading branch information
GianfrancoBazzani committed Jan 15, 2024
1 parent a8d7e99 commit f3dcc8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 71 deletions.
8 changes: 0 additions & 8 deletions .env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ REACT_APP_GOERLI_EXPLORER_API_KEY=
HOLESKY_HOST=
REACT_APP_HOLESKY_EXPLORER_API_KEY=

MUMBAI_HOST=
REACT_APP_MUMBAI_EXPLORER_API_KEY=

OPTIMISM_GOERLI_HOST=
REACT_APP_OPTIMISM_GOERLI_EXPLORER_API_KEY=

ARBITRUM_GOERLI_HOST=
REACT_APP_ARBITRUM_GOERLI_EXPLORER_API_KEY=

PRIV_KEY=

66 changes: 3 additions & 63 deletions client/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ export const NETWORKS = {
url: "http://localhost",
port: 8545,
},
GOERLI: {
name: "goerli",
id: "5",
url: `${process.env.GOERLI_HOST}`,
privKey: `${process.env.PRIV_KEY}`,
},
MUMBAI: {
name: "mumbai-polygon",
id: "80001",
Expand All @@ -34,18 +28,6 @@ export const NETWORKS = {
url: `${process.env.SEPOLIA_HOST}`,
privKey: `${process.env.PRIV_KEY}`,
},
OPTIMISM_GOERLI: {
name: "goerli-optimism",
id: "420",
url: `${process.env.OPTIMISM_GOERLI_HOST}`,
privKey: `${process.env.PRIV_KEY}`,
},
ARBITRUM_GOERLI: {
name: "goerli-arbitrum",
id: "421613",
url: `${process.env.ARBITRUM_GOERLI_HOST}`,
privKey: `${process.env.PRIV_KEY}`,
},
HOLESKY: {
name: "holesky",
id: "17000",
Expand All @@ -63,18 +45,6 @@ export const NETWORKS_INGAME = {
url: "http://localhost",
port: 8545,
},
GOERLI: {
name: "goerli",
id: "5",
currencyName: "Goerli-ETH",
currencySymbol: "ETH",
rpcUrl: `https://eth-goerli.public.blastapi.io`,
blockExplorer: "https://goerli.etherscan.io",
explorer: {
apiKey: `${process.env.REACT_APP_GOERLI_EXPLORER_API_KEY}`,
apiHost: `https://api-goerli.etherscan.io`,
},
},
MUMBAI: {
name: "mumbai-polygon",
id: "80001",
Expand All @@ -99,30 +69,6 @@ export const NETWORKS_INGAME = {
apiHost: `https://api-sepolia.etherscan.io`,
},
},
OPTIMISM_GOERLI: {
name: "goerli-optimism",
id: "420",
currencyName: "Optimism-ETH",
currencySymbol: "ETH",
rpcUrl: `https://goerli.optimism.io`,
blockExplorer: "https://goerli-optimism.etherscan.io",
explorer: {
apiKey: `${process.env.REACT_APP_OPTIMISM_GOERLI_EXPLORER_API_KEY}`,
apiHost: `https://api-goerli-optimistic.etherscan.io`,
},
},
ARBITRUM_GOERLI: {
name: "goerli-arbitrum",
id: "421613",
currencyName: "Arbitrum-ETH",
currencySymbol: "ETH",
rpcUrl: `https://goerli-rollup.arbitrum.io/rpc`,
blockExplorer: "https://goerli.arbiscan.io",
explorer: {
apiKey: `${process.env.REACT_APP_ARBITRUM_GOERLI_EXPLORER_API_KEY}`,
apiHost: `https://api-goerli.arbiscan.io`,
},
},
HOLESKY: {
name: "holesky",
id: "17000",
Expand All @@ -142,17 +88,17 @@ export const NETWORKS_INGAME = {
export const NETWORKS_DEPRECATION = {
GOERLI: {
id: "5",
status: "deprecation-planned",
status: "deprecated",
date: "jan-2024"
},
OPTIMISM_GOERLI: {
id: "420",
status: "deprecation-planned",
status: "deprecated",
date: "jan-2024"
},
ARBITRUM_GOERLI: {
id: "421613",
status: "deprecation-planned",
status: "deprecated",
date: "jan-2024"
}
};
Expand All @@ -168,10 +114,7 @@ export const GOOGLE_ANALYTICS_ID = "UA-85043059-4";
export const ADDRESSES = {
[NETWORKS.LOCAL.name]: undefined,
[NETWORKS.MUMBAI.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.GOERLI.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.SEPOLIA.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.OPTIMISM_GOERLI.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.ARBITRUM_GOERLI.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
[NETWORKS.HOLESKY.name]: "0x09902A56d04a9446601a0d451E07459dC5aF0820",
};

Expand Down Expand Up @@ -212,10 +155,7 @@ export const SHOW_ALL_COMPLETE_DESCRIPTIONS = false; /* FALSE on production */
export const SHOW_VERSION = true;

// export const ACTIVE_NETWORK = NETWORKS.SEPOLIA
// export const ACTIVE_NETWORK = NETWORKS.GOERLI
// export const ACTIVE_NETWORK = NETWORKS.MUMBAI
// export const ACTIVE_NETWORK = NETWORKS.OPTIMISM_GOERLI
// export const ACTIVE_NETWORK = NETWORKS.ARBITRUM_GOERLI
// export const ACTIVE_NETWORK = NETWORKS.HOLESKY
// export const ACTIVE_NETWORK = NETWORKS.LOCAL;

Expand Down

0 comments on commit f3dcc8a

Please sign in to comment.