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 Linea Goerli testnet from Data Feeds #1870

Merged
merged 2 commits into from
Apr 10, 2024
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
1 change: 0 additions & 1 deletion src/config/data/chain-to-technology.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"SCROLL_MAINNET": "SCROLL",
"SCROLL_SEPOLIA": "SCROLL",
"LINEA_MAINNET": "LINEA",
"LINEA_GOERLI": "LINEA",
"ZKSYNC_MAINNET": "ZKSYNC",
"ZKSYNC_SEPOLIA": "ZKSYNC",
"WEMIX_MAINNET": "WEMIX",
Expand Down
1 change: 0 additions & 1 deletion src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export type SupportedChain =
| "SCROLL_MAINNET"
| "SCROLL_SEPOLIA"
| "LINEA_MAINNET"
| "LINEA_GOERLI"
| "ZKSYNC_MAINNET"
| "ZKSYNC_SEPOLIA"
| "POLYGON_ZKEVM_MAINNET"
Expand Down
1 change: 0 additions & 1 deletion src/config/web3Providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const chainToProvider: Record<SupportedChain, () => providers.Provider> =
CELO_MAINNET: () => new providers.JsonRpcProvider("https://alfajores-forno.celo-testnet.org"),
CELO_ALFAJORES: () => new providers.JsonRpcProvider("https://forno.celo.org"),
LINEA_MAINNET: () => new providers.JsonRpcProvider("https://rpc.linea.build"),
LINEA_GOERLI: () => new providers.JsonRpcProvider("https://rpc.goerli.linea.build"),
POLYGON_ZKEVM_MAINNET: () => new providers.JsonRpcProvider("https://zkevm-rpc.com"),
POLYGON_ZKEVM_TESTNET: () => new providers.JsonRpcProvider("https://rpc.public.zkevm-test.net"),
ZKSYNC_MAINNET: () => new providers.JsonRpcProvider("https://mainnet.era.zksync.io"),
Expand Down
2 changes: 1 addition & 1 deletion src/content/data-feeds/ens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This example logs the address of the data feed on the Ethereum mainnet for ETH /

### Solidity

In Solidity, the address of the ENS registry must be known. According to [ENS documentation](https://docs.ens.domains/ens-deployments), this address is the same across Mainnet and Goerli networks:
In Solidity, the address of the ENS registry must be known. According to [ENS documentation](https://docs.ens.domains/ens-deployments), this address is the same across Mainnet and testnet:

ENS registry address: [0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e](https://etherscan.io/address/0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e).

Expand Down
7 changes: 0 additions & 7 deletions src/features/data/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,6 @@ export const CHAINS: Chain[] = [
rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-mainnet-linea-1.json",
queryString: "linea-mainnet",
},
{
name: "Linea Goerli testnet",
explorerUrl: "https://goerli.lineascan.build/address/%s",
networkType: "testnet",
rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-testnet-goerli-linea-1.json",
queryString: "linea-goerli-testnet",
},
],
},
{
Expand Down
44 changes: 3 additions & 41 deletions src/scripts/reference/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,35 +568,6 @@
"infoURL": "https://docs.celo.org/",
"explorers": [{ "name": "Alfajoresscan", "url": "https://alfajores.celoscan.io", "standard": "EIP3091" }]
},
{
"name": "Linea Testnet",
"title": "Linea Goerli Testnet",
"chain": "ETH",
"rpc": [
"https://rpc.goerli.linea.build",
"wss://rpc.goerli.linea.build",
"https://linea-goerli.infura.io/v3/${INFURA_API_KEY}",
"wss://linea-goerli.infura.io/ws/v3/${INFURA_API_KEY}"
],
"faucets": ["https://faucetlink.to/goerli"],
"nativeCurrency": { "name": "Linea Ether", "symbol": "ETH", "decimals": 18 },
"infoURL": "https://linea.build",
"shortName": "linea-testnet",
"chainId": 59140,
"networkId": 59140,
"slip44": 1,
"icon": "linea",
"parent": {
"type": "L2",
"chain": "eip155-5",
"bridges": [{ "url": "https://goerli.hop.exchange/#/send?token=ETH&sourceNetwork=ethereum&destNetwork=linea" }]
},
"explorers": [
{ "name": "Etherscan", "url": "https://goerli.lineascan.build", "standard": "EIP3091", "icon": "linea" },
{ "name": "Blockscout", "url": "https://explorer.goerli.linea.build", "standard": "EIP3091", "icon": "linea" }
],
"status": "active"
},
{
"name": "Linea",
"title": "Linea Mainnet",
Expand Down Expand Up @@ -702,31 +673,22 @@
"networkId": 534351,
"slip44": 1,
"explorers": [
{ "name": "Scroll Sepolia Etherscan", "url": "https://sepolia.scrollscan.com", "standard": "EIP3091" },
{ "name": "Scroll Sepolia Blockscout", "url": "https://sepolia-blockscout.scroll.io", "standard": "EIP3091" }
{ "name": "Scroll Sepolia Etherscan", "url": "https://sepolia.scrollscan.com", "standard": "EIP3091" }
],
"parent": { "type": "L2", "chain": "eip155-11155111", "bridges": [{ "url": "https://sepolia.scroll.io/bridge" }] }
},
{
"name": "Scroll",
"chain": "ETH",
"status": "active",
"rpc": [
"https://rpc.scroll.io",
"https://rpc-scroll.icecreamswap.com",
"https://rpc.ankr.com/scroll",
"https://scroll-mainnet.chainstacklabs.com"
],
"rpc": ["https://rpc.scroll.io", "https://rpc.ankr.com/scroll", "https://scroll-mainnet.chainstacklabs.com"],
"faucets": [],
"nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 },
"infoURL": "https://scroll.io",
"shortName": "scr",
"chainId": 534352,
"networkId": 534352,
"explorers": [
{ "name": "Scrollscan", "url": "https://scrollscan.com", "standard": "EIP3091" },
{ "name": "Blockscout", "url": "https://blockscout.scroll.io", "standard": "EIP3091" }
],
"explorers": [{ "name": "Scrollscan", "url": "https://scrollscan.com", "standard": "EIP3091" }],
"parent": { "type": "L2", "chain": "eip155-1", "bridges": [{ "url": "https://scroll.io/bridge" }] }
},
{
Expand Down
1 change: 0 additions & 1 deletion src/scripts/reference/linkNameSymbol.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"534352": { "name": "ChainLink Token", "symbol": "LINK" },
"534351": { "name": "ChainLink Token", "symbol": "LINK" },
"59144": { "name": "ChainLink Token", "symbol": "LINK" },
"59140": { "name": "ChainLink Token", "symbol": "LINK" },
"324": { "name": "ChainLink Token", "symbol": "LINK" },
"300": {
"name": "ChainLink Token",
Expand Down
Loading