Skip to content

Goerli deprecation #1826

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

Merged
merged 5 commits into from
Mar 20, 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
8 changes: 4 additions & 4 deletions public/samples/DataFeeds/NFTFloorPriceConsumerV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ contract NFTFloorPriceConsumerV3 {
AggregatorV3Interface internal nftFloorPriceFeed;

/**
* Network: Goerli - No Sepolia feeds available at this time
* Aggregator: CryptoPunks
* Address: 0x5c13b249846540F81c093Bc342b5d963a7518145
* Network: Mumbai Testnet
* Aggregator: Azuki Floor Price
* Address: 0x16c74d1f6986c6Ffb48540b178fF8Cb0ED9F13b0
*/
constructor() {
nftFloorPriceFeed = AggregatorV3Interface(
0x5c13b249846540F81c093Bc342b5d963a7518145
0x16c74d1f6986c6Ffb48540b178fF8Cb0ED9F13b0
);
}

Expand Down
14 changes: 7 additions & 7 deletions public/samples/VRF/RandomNumberConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ contract RandomNumberConsumer is VRFConsumerBase {
/**
* Constructor inherits VRFConsumerBase
*
* Network: Goerli
* Chainlink VRF Coordinator address: 0x2bce784e69d2Ff36c71edcB9F88358dB0DfB55b4
* LINK token address: 0x326C977E6efc84E512bB9C30f76E30c160eD06FB
* Key Hash: 0x0476f9a745b61ea5c0ab224d3a6e4c99f0b02fce4da01143a4f70aa80ae76e8a
* Network: Sepolia
* Chainlink VRF Coordinator address: 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
* LINK token address: 0x779877A7B0D9E8603169DdbD7836e478b4624789
* Key Hash: 0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c
*/
constructor()
VRFConsumerBase(
0x2bce784e69d2Ff36c71edcB9F88358dB0DfB55b4, // VRF Coordinator
0x326C977E6efc84E512bB9C30f76E30c160eD06FB // LINK Token
0x8103B0A8A00be2DDC778e6e7eaa21791Cd364625, // VRF Coordinator
0x779877A7B0D9E8603169DdbD7836e478b4624789 // LINK Token
)
{
keyHash = 0x0476f9a745b61ea5c0ab224d3a6e4c99f0b02fce4da01143a4f70aa80ae76e8a;
keyHash = 0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c;
fee = 0.1 * 10 ** 18; // 0.1 LINK (Varies by network)
}

Expand Down
18 changes: 0 additions & 18 deletions src/components/Tabs/NetworkTabs.astro

This file was deleted.

1 change: 0 additions & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ export { default as CopyText } from "./CopyText"
export { default as Aside } from "./Aside.astro"
export { default as Icon } from "./Icon.astro"
export { default as ClickToZoom } from "./ClickToZoom.astro"
export { default as NetworkTabs } from "./Tabs/NetworkTabs.astro"
export { default as PackageManagerTabs } from "./Tabs/PackageManagerTabs.astro"
export { default as Accordion } from "./Quickstart/Accordion/Accordion.astro"
4 changes: 0 additions & 4 deletions src/config/data/chain-to-technology.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"ETHEREUM_MAINNET": "ETHEREUM",
"ETHEREUM_SEPOLIA": "ETHEREUM",
"ETHEREUM_GOERLI": "ETHEREUM",
"BNB_MAINNET": "BNB",
"BNB_TESTNET": "BNB",
"BASE_MAINNET": "BASE",
"BASE_GOERLI": "BASE",
"BASE_SEPOLIA": "BASE",
"POLYGON_MAINNET": "POLYGON",
"POLYGON_MUMBAI": "POLYGON",
Expand All @@ -16,10 +14,8 @@
"FANTOM_TESTNET": "FANTOM",
"ARBITRUM_MAINNET": "ARBITRUM",
"ARBITRUM_SEPOLIA": "ARBITRUM",
"ARBITRUM_GOERLI": "ARBITRUM",
"OPTIMISM_MAINNET": "OPTIMISM",
"OPTIMISM_SEPOLIA": "OPTIMISM",
"OPTIMISM_GOERLI": "OPTIMISM",
"MOONRIVER_MAINNET": "MOONRIVER",
"MOONBEAM_MAINNET": "MOONBEAM",
"METIS_MAINNET": "METIS",
Expand Down
24 changes: 0 additions & 24 deletions src/config/data/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
"title": "Sepolia testnet",
"explorer": "https://sepolia.etherscan.io",
"nativeCurrency": { "name": "Sepolia Ether", "symbol": "ETH", "decimals": 18 }
},
"ETHEREUM_GOERLI": {
"chainId": 5,
"title": "Goerli testnet",
"explorer": "https://goerli.etherscan.io",
"nativeCurrency": { "name": "Goerli Ether", "symbol": "ETH", "decimals": 18 }
}
}
},
Expand Down Expand Up @@ -122,12 +116,6 @@
"title": "Arbitrum Sepolia testnet",
"explorer": "https://sepolia.arbiscan.io/",
"nativeCurrency": { "name": "Arbitrum Sepolia Ether", "symbol": "ETH", "decimals": 18 }
},
"ARBITRUM_GOERLI": {
"chainId": 421613,
"title": "Arbitrum Goerli testnet",
"explorer": "https://goerli.arbiscan.io/",
"nativeCurrency": { "name": "Arbitrum Goerli Ether", "symbol": "AGOR", "decimals": 18 }
}
}
},
Expand All @@ -146,12 +134,6 @@
"title": "Optimism Sepolia testnet",
"explorer": "https://sepolia-optimism.etherscan.io",
"nativeCurrency": { "name": "Sepolia Ether", "symbol": "ETH", "decimals": 18 }
},
"OPTIMISM_GOERLI": {
"chainId": 420,
"title": "Optimism Goerli testnet",
"explorer": "https://goerli-optimism.etherscan.io",
"nativeCurrency": { "name": "Goerli Ether", "symbol": "ETH", "decimals": 18 }
}
}
},
Expand Down Expand Up @@ -206,12 +188,6 @@
"title": "Base Sepolia testnet",
"explorer": "https://sepolia.basescan.org",
"nativeCurrency": { "name": "Sepolia Ether", "symbol": "ETH", "decimals": 18 }
},
"BASE_GOERLI": {
"chainId": 84531,
"title": "Base Goerli testnet",
"explorer": "https://goerli.basescan.org",
"nativeCurrency": { "name": "Goerli Ether", "symbol": "ETH", "decimals": 18 }
}
}
},
Expand Down
1 change: 0 additions & 1 deletion src/config/markdown-variables.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const variables = {
SEPOLIA_LINK_TOKEN: "0x779877A7B0D9E8603169DdbD7836e478b4624789",
GOERLI_LINK_TOKEN: "0x326C977E6efc84E512bB9C30f76E30c160eD06FB",
MAINNET_LINK_TOKEN: "0x514910771AF9Ca656af840dff83E8264EcF986CA",
MAINNET_CHAINLINK_ORACLE: "0x89f70fA9F439dbd0A1BC22a09BEFc56adA04d9b4",
BINANCE_MAINNET_LINK_TOKEN: "0x404460C6A5EdE2D891e8297795264fDe62ADBB75",
Expand Down
4 changes: 0 additions & 4 deletions src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export type SupportedTechnology =
export type SupportedChain =
| "ETHEREUM_MAINNET"
| "ETHEREUM_SEPOLIA"
| "ETHEREUM_GOERLI"
| "BNB_MAINNET"
| "BNB_TESTNET"
| "POLYGON_MAINNET"
Expand All @@ -33,15 +32,12 @@ export type SupportedChain =
| "FANTOM_TESTNET"
| "ARBITRUM_MAINNET"
| "ARBITRUM_SEPOLIA"
| "ARBITRUM_GOERLI"
| "OPTIMISM_MAINNET"
| "OPTIMISM_SEPOLIA"
| "OPTIMISM_GOERLI"
| "MOONRIVER_MAINNET"
| "MOONBEAM_MAINNET"
| "METIS_MAINNET"
| "BASE_MAINNET"
| "BASE_GOERLI"
| "BASE_SEPOLIA"
| "CELO_MAINNET"
| "CELO_ALFAJORES"
Expand Down
6 changes: 0 additions & 6 deletions src/config/web3Providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { SupportedChain } from "."
export const chainToProvider: Record<SupportedChain, () => providers.Provider> = {
ETHEREUM_MAINNET: () => new providers.InfuraProvider("homestead", "fe6db57057904042b7fed23ff54c643d"),
ETHEREUM_SEPOLIA: () => new providers.JsonRpcProvider("https://rpc.ankr.com/eth_sepolia"),
ETHEREUM_GOERLI: () => new providers.InfuraProvider("goerli", "fe6db57057904042b7fed23ff54c643d"),
BNB_MAINNET: () => new providers.JsonRpcProvider("https://bsc.nodereal.io/"),
BNB_TESTNET: () => new providers.JsonRpcProvider("https://data-seed-prebsc-1-s1.binance.org:8545/"),
POLYGON_MAINNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/polygon"),
Expand All @@ -18,17 +17,12 @@ export const chainToProvider: Record<SupportedChain, () => providers.Provider> =
FANTOM_TESTNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/fantom_testnet"),
ARBITRUM_MAINNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/arbitrum"),
ARBITRUM_SEPOLIA: () => new providers.JsonRpcProvider("https://sepolia-rollup.arbitrum.io/rpc"),
ARBITRUM_GOERLI: () =>
new providers.JsonRpcProvider("https://arb-goerli.g.alchemy.com/v2/AwZE27jvfRidiu-6FFunBzP3Bff0XFNx"),
OPTIMISM_MAINNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/optimism"),
OPTIMISM_SEPOLIA: () => new providers.JsonRpcProvider("https://sepolia.optimism.io/"),
OPTIMISM_GOERLI: () =>
new providers.JsonRpcProvider("https://opt-goerli.g.alchemy.com/v2/5lHtpzqF7gxVKsSfpyoUbisei8OwoIRS"),
MOONRIVER_MAINNET: () => new providers.JsonRpcProvider("https://rpc.api.moonriver.moonbeam.network"),
MOONBEAM_MAINNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/moonbeam"),
METIS_MAINNET: () => new providers.JsonRpcProvider("https://andromeda.metis.io/?owner=1088"),
BASE_MAINNET: () => new providers.JsonRpcProvider("https://mainnet.base.org"),
BASE_GOERLI: () => new providers.JsonRpcProvider("https://goerli.base.org"),
BASE_SEPOLIA: () => new providers.JsonRpcProvider("https://base-sepolia-rpc.publicnode.com"),
SCROLL_MAINNET: () => new providers.JsonRpcProvider("https://rpc.scroll.io"),
SCROLL_SEPOLIA: () => new providers.JsonRpcProvider("https://sepolia-rpc.scroll.io"),
Expand Down
1 change: 0 additions & 1 deletion src/content/any-api/testnet-oracles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Testnet [Operator contracts](https://github.com/smartcontractkit/chainlink/blob/
| Testnet | Oracle Address |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Ethereum Sepolia | [`0x6090149792dAAeE9D1D568c9f9a6F6B46AA29eFD`](https://sepolia.etherscan.io/address/0x6090149792dAAeE9D1D568c9f9a6F6B46AA29eFD) |
| Ethereum Goerli | [`0xCC79157eb46F5624204f47AB42b3906cAA40eaB7`](https://goerli.etherscan.io/address/0xCC79157eb46F5624204f47AB42b3906cAA40eaB7) |
| Avalanche Fuji | [`0x022EEA14A6010167ca026B32576D6686dD7e85d2`](https://testnet.snowtrace.io/address/0x022EEA14A6010167ca026B32576D6686dD7e85d2) |
| Polygon Mumbai | [`0x40193c8518BB267228Fc409a613bDbD8eC5a97b3`](https://mumbai.polygonscan.com/address/0x40193c8518BB267228Fc409a613bDbD8eC5a97b3) |
| Binance Testnet | [`0xCC79157eb46F5624204f47AB42b3906cAA40eaB7`](https://testnet.bscscan.com/address/0xCC79157eb46F5624204f47AB42b3906cAA40eaB7) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Chainlink Automation is available on the following networks. All networks operat
- [Ethereum](#ethereum):
- Mainnet
- Sepolia testnet
- Goerli testnet (being deprecated and only Automation v1.2)
- [BNB Chain](#bnb-chain):
- Mainnet
- Testnet
Expand Down
4 changes: 0 additions & 4 deletions src/content/chainlink-nodes/contracts/addresses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@ This page lists the [operator factory](/chainlink-nodes/contracts/operatorfactor
### Sepolia

<Address contractUrl="https://sepolia.etherscan.io/address/0x447Fd5eC2D383091C22B8549cb231a3bAD6d3fAf" />

### Goerli

<Address contractUrl="https://goerli.etherscan.io/address/0x8204C193ade6A1bB59BeF25B6A310E417953013f" />
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,13 @@ Create a directory `tls/` within your local Chainlink directory:
{/* prettier-ignore */}
<Tabs client:visible>
<Fragment slot="tab.1">Sepolia</Fragment>
<Fragment slot="tab.2">Goerli</Fragment>
<Fragment slot="tab.3">Mainnet</Fragment>
<Fragment slot="tab.2">Mainnet</Fragment>
<Fragment slot="panel.1">
```text Sepolia
mkdir ~/.chainlink-sepolia/tls
```
</Fragment>
<Fragment slot="panel.2">
```text Goerli
mkdir ~/.chainlink-goerli/tls
```
</Fragment>
<Fragment slot="panel.3">
```text Mainnet
mkdir ~/.chainlink/tls
```
Expand All @@ -43,8 +37,7 @@ Run this command to create a `server.crt` and `server.key` file in the previousl
{/* prettier-ignore */}
<Tabs client:visible>
<Fragment slot="tab.1">Sepolia</Fragment>
<Fragment slot="tab.2">Goerli</Fragment>
<Fragment slot="tab.3">Mainnet</Fragment>
<Fragment slot="tab.2">Mainnet</Fragment>
<Fragment slot="panel.1">
```shell Sepolia
openssl req -x509 -out ~/.chainlink-sepolia/tls/server.crt -keyout ~/.chainlink-sepolia/tls/server.key \
Expand All @@ -54,14 +47,6 @@ openssl req -x509 -out ~/.chainlink-sepolia/tls/server.crt -keyout ~/.chainlin
```
</Fragment>
<Fragment slot="panel.2">
```shell Goerli
openssl req -x509 -out ~/.chainlink-goerli/tls/server.crt -keyout ~/.chainlink-goerli/tls/server.key \
-newkey rsa:2048 -nodes -sha256 -days 365 \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
```
</Fragment>
<Fragment slot="panel.3">
```shell Mainnet
openssl req -x509 -out ~/.chainlink/tls/server.crt -keyout ~/.chainlink/tls/server.key \
-newkey rsa:2048 -nodes -sha256 -days 365 \
Expand Down Expand Up @@ -95,21 +80,14 @@ Finally, update your run command to forward port 6689 to the container instead o
{/* prettier-ignore */}
<Tabs client:visible>
<Fragment slot="tab.1">Sepolia</Fragment>
<Fragment slot="tab.2">Goerli</Fragment>
<Fragment slot="tab.3">Mainnet</Fragment>
<Fragment slot="tab.2">Mainnet</Fragment>
<Fragment slot="panel.1">
```shell Sepolia
cd ~/.chainlink-sepolia && docker run -p 6689:6689 -v ~/.chainlink-sepolia:/chainlink -it
--env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.2">
```shell Goerli
cd ~/.chainlink-goerli && docker run -p 6689:6689 -v ~/.chainlink-goerli:/chainlink -it
--env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.3">
```shell Mainnet
cd ~/.chainlink && docker run -p 6689:6689 -v ~/.chainlink:/chainlink -it --env-file=.env
smartcontract/chainlink local n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,14 @@ Now start the second instance of the node. The local port option has been modifi
{/* prettier-ignore */}
<Tabs client:visible>
<Fragment slot="tab.1">Sepolia</Fragment>
<Fragment slot="tab.2">Goerli</Fragment>
<Fragment slot="tab.3">Mainnet</Fragment>
<Fragment slot="tab.2">Mainnet</Fragment>
<Fragment slot="panel.1">
```shell Sepolia
cd ~/.chainlink-sepolia && docker run -p 6687:6688 -v ~/.chainlink-sepolia:/chainlink -it
--env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.2">
```shell Goerli
cd ~/.chainlink-goerli && docker run -p 6687:6688 -v ~/.chainlink-goerli:/chainlink -it
--env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.3">
```shell Mainnet
cd ~/.chainlink && docker run -p 6687:6688 -v ~/.chainlink:/chainlink -it --env-file=.env
smartcontract/chainlink local n
Expand All @@ -82,21 +75,14 @@ Next, run the container again with the local port 6688 in order to go back to no
{/* prettier-ignore */}
<Tabs client:visible>
<Fragment slot="tab.1">Sepolia</Fragment>
<Fragment slot="tab.2">Goerli</Fragment>
<Fragment slot="tab.3">Mainnet</Fragment>
<Fragment slot="tab.2">Mainnet</Fragment>
<Fragment slot="panel.1">
```shell Sepolia
cd ~/.chainlink-sepolia && docker run -p 6688:6688 -v ~/.chainlink-sepolia:/chainlink -it
--env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.2">
```shell Goerli
cd ~/.chainlink-goerli && docker run -p 6688:6688 -v ~/.chainlink-goerli:/chainlink -it
--env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.3">
```shell Mainnet
cd ~/.chainlink && docker run -p 6688:6688 -v ~/.chainlink:/chainlink -it --env-file=.env
smartcontract/chainlink local n
Expand All @@ -122,21 +108,14 @@ Run the Chainlink node with a name option specified:
{/* prettier-ignore */}
<Tabs client:visible>
<Fragment slot="tab.1">Sepolia</Fragment>
<Fragment slot="tab.2">Goerli</Fragment>
<Fragment slot="tab.3">Mainnet</Fragment>
<Fragment slot="tab.2">Mainnet</Fragment>
<Fragment slot="panel.1">
```shell Sepolia
cd ~/.chainlink-sepolia && docker run --name chainlink -p 6688:6688 -v
~/.chainlink-sepolia:/chainlink -it --env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.2">
```shell Goerli
cd ~/.chainlink-goerli && docker run --name chainlink -p 6688:6688 -v ~/.chainlink-goerli:/chainlink
-it --env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.3">
```shell Mainnet
cd ~/.chainlink && docker run --name chainlink -p 6688:6688 -v ~/.chainlink:/chainlink -it
--env-file=.env smartcontract/chainlink local n
Expand All @@ -162,21 +141,14 @@ This will remain your primary Chainlink container, and should always use port 66
{/* prettier-ignore */}
<Tabs client:visible>
<Fragment slot="tab.1">Sepolia</Fragment>
<Fragment slot="tab.2">Goerli</Fragment>
<Fragment slot="tab.3">Mainnet</Fragment>
<Fragment slot="tab.2">Mainnet</Fragment>
<Fragment slot="panel.1">
```shell Sepolia
cd ~/.chainlink-sepolia && docker run --name secondary -p 6687:6688 -v
~/.chainlink-sepolia:/chainlink -it --env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.2">
```shell Goerli
cd ~/.chainlink-goerli && docker run --name secondary -p 6687:6688 -v ~/.chainlink-goerli:/chainlink
-it --env-file=.env smartcontract/chainlink local n
```
</Fragment>
<Fragment slot="panel.3">
```shell Mainnet
cd ~/.chainlink && docker run --name secondary -p 6687:6688 -v ~/.chainlink:/chainlink -it
--env-file=.env smartcontract/chainlink local n
Expand Down
Loading