Skip to content

Commit

Permalink
Migrate Arb Goerli to Arb Sepolia (#1649)
Browse files Browse the repository at this point in the history
* Data - Migrate Arb Goerli to Arb Sepolia

* Update guides

* remove arbitrum goerli for CCIP

* remove arbitrum goerli for CCIP

* Link fixes

* Update src/content/ccip/release-notes.mdx

---------

Co-authored-by: Amine E <aelmanaa@users.noreply.github.com>
Co-authored-by: aelmanaa <aelmanaa@gmail.com>
  • Loading branch information
3 people authored Nov 19, 2023
1 parent b3bff0a commit 60e2989
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 214 deletions.
2 changes: 1 addition & 1 deletion public/samples/DataStreams/StreamsUpkeep.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ contract StreamsUpkeep is ILogAutomation, StreamsLookupCompatibleInterface {
];

constructor(address _feeAddress, address _verifier) {
verifier = IVerifierProxy(_verifier); //0xea9B98Be000FBEA7f6e88D08ebe70EbaAD10224c
verifier = IVerifierProxy(_verifier); //0x2ff010DEbC1297f19579B4246cad07bd24F2488A
FEE_ADDRESS = _feeAddress; // 0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3 (WETH)
}

Expand Down
16 changes: 0 additions & 16 deletions src/config/data/ccip/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,22 +164,6 @@ export const supportedNetworks: CCIPNetworkOptions[] = [
},
},
},
{
name: "Arbitrum Goerli",
chainId: "0x66eed",
icon: "/assets/chains/arbitrum.svg",
BnM: {
params: {
type: "ERC20",
options: {
address: "0x0579b4c1C8AcbfF13c6253f1B10d66896Bf399Ef",
symbol: "CCIP-BnM",
decimals: 18,
image: CCIPTokenImage,
},
},
},
},
{
name: "BNB Chain testnet",
chainId: "0x61",
Expand Down
5 changes: 0 additions & 5 deletions src/config/data/ccip/testnet/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
"router": "0xeb52e9ae4a9fb37172978642d4c141ef53876f26",
"feeTokens": ["LINK", "WETH"]
},
"ethereum-testnet-goerli-arbitrum-1": {
"chainSelector": "6101244977088475029",
"router": "0x88E492127709447A5ABEFdaB8788a15B4567589E",
"feeTokens": ["LINK", "WETH"]
},
"matic-testnet": {
"chainSelector": "12532609583862916517",
"router": "0x70499c328e1e2a3c41108bd3730f6670a44595d1",
Expand Down
140 changes: 0 additions & 140 deletions src/config/data/ccip/testnet/lanes.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,77 +210,6 @@
}
}
},
"ethereum-testnet-goerli-arbitrum-1": {
"ethereum-testnet-sepolia": {
"supportedTokens": {
"CCIP-BnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"CCIP-LnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
}
},
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"ethereum-testnet-goerli-optimism-1": {
"supportedTokens": {
"CCIP-BnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"CCIP-LnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
}
},
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"ethereum-testnet-goerli-base-1": {
"supportedTokens": {
"CCIP-BnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"CCIP-LnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
}
},
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
}
},
"ethereum-testnet-goerli-base-1": {
"ethereum-testnet-sepolia": {
"supportedTokens": {
Expand Down Expand Up @@ -328,29 +257,6 @@
"rate": "167000000000000000000"
}
},
"ethereum-testnet-goerli-arbitrum-1": {
"supportedTokens": {
"CCIP-BnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"CCIP-LnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
}
},
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"bsc-testnet": {
"supportedTokens": {
"CCIP-BnM": {
Expand Down Expand Up @@ -445,29 +351,6 @@
"rate": "167000000000000000000"
}
},
"ethereum-testnet-goerli-arbitrum-1": {
"supportedTokens": {
"CCIP-BnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"CCIP-LnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
}
},
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"matic-testnet": {
"supportedTokens": {
"CCIP-BnM": {
Expand Down Expand Up @@ -562,29 +445,6 @@
"rate": "167000000000000000000"
}
},
"ethereum-testnet-goerli-arbitrum-1": {
"supportedTokens": {
"CCIP-BnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"CCIP-LnM": {
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
}
},
"rateLimiterConfig": {
"capacity": "100000000000000000000000",
"isEnabled": true,
"rate": "167000000000000000000"
}
},
"matic-testnet": {
"supportedTokens": {
"CCIP-BnM": {
Expand Down
33 changes: 0 additions & 33 deletions src/config/data/ccip/testnet/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
"symbol": "LINK",
"decimals": 18
},
"ethereum-testnet-goerli-arbitrum-1": {
"tokenAddress": "0xd14838A68E8AFBAdE5efb411d5871ea0011AFd28",
"allowListEnabled": false,
"poolAddress": "0x044a6b4b561af69d2319a2f4be5ec327a6975d0a",
"name": "ChainLink Token",
"symbol": "LINK",
"decimals": 18
},
"ethereum-testnet-goerli-base-1": {
"tokenAddress": "0xd886e2286fd1073df82462ea1822119600af80b6",
"allowListEnabled": false,
Expand Down Expand Up @@ -80,13 +72,6 @@
}
},
"WETH": {
"ethereum-testnet-goerli-arbitrum-1": {
"tokenAddress": "0x32d5D5978905d9c6c2D4C417F0E06Fe768a4FB5a",
"allowListEnabled": false,
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": 18
},
"ethereum-testnet-goerli-base-1": {
"tokenAddress": "0x4200000000000000000000000000000000000006",
"allowListEnabled": false,
Expand Down Expand Up @@ -138,15 +123,6 @@
"symbol": "CCIP-BnM",
"decimals": 18
},
"ethereum-testnet-goerli-arbitrum-1": {
"tokenAddress": "0x0579b4c1C8AcbfF13c6253f1B10d66896Bf399Ef",
"allowListEnabled": false,
"poolAddress": "0xf399f6a4ea83442f97f480118ebd56d1aed767b9",
"poolType": "burnMint",
"name": "CCIP-BnM",
"symbol": "CCIP-BnM",
"decimals": 18
},
"ethereum-testnet-goerli-base-1": {
"tokenAddress": "0xbf9036529123de264bfa0fc7362fe25b650d4b16",
"allowListEnabled": false,
Expand Down Expand Up @@ -203,15 +179,6 @@
"symbol": "CCIP_LnM",
"decimals": 18
},
"ethereum-testnet-goerli-arbitrum-1": {
"tokenAddress": "0x0e14dbe2c8e1121902208be173a3fb91bb125cdb",
"allowListEnabled": false,
"poolAddress": "0xa77aefaba6161f907299dc2be79a60c9e80e9b91",
"poolType": "lockRelease",
"name": "CCIP_LnM",
"symbol": "CCIP_LnM",
"decimals": 18
},
"ethereum-testnet-goerli-base-1": {
"tokenAddress": "0x73ed16c1a61b098fd6924cce5cc6a9a30348d944",
"allowListEnabled": false,
Expand Down
8 changes: 7 additions & 1 deletion src/content/ccip/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ title: "Chainlink CCIP Release Notes"

import { Aside } from "@components"

## Arbitrum Goerli - 2023-11-17

Arbitrum Goerli is no longer supported.

Arbitrum Sepolia support will be added at a later date.

## New mainnets - 2023-09-27

Added BNB and Base mainnets:
Expand Down Expand Up @@ -33,7 +39,7 @@ Chainlink CCIP is publicly available on the following testnet chains:
- [Ethereum Sepolia](/ccip/supported-networks/testnet#ethereum-sepolia)
- [Optimism Goerli](/ccip/supported-networks/testnet#optimism-goerli)
- [Avalanche Fuji](/ccip/supported-networks/testnet#avalanche-fuji)
- [Arbitrum Goerli](/ccip/supported-networks/testnet#arbitrum-goerli)
- [Arbitrum Goerli](/ccip/supported-networks/testnet)
- [Polygon Mumbai](/ccip/supported-networks/testnet#polygon-mumbai)

See to the [supported networks](/ccip/supported-networks) page for more information.
Expand Down
2 changes: 1 addition & 1 deletion src/content/chainlink-automation/guides/streams-lookup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Aside, CodeSample } from "@components"
import DataStreams from "@features/data-streams/common/DataStreams.astro"

<Aside type="note" title="Early Access">
Data Streams is available on Arbitrum Mainnet and Arbitrum Goerli in Early Access.{" "}
Data Streams is available on Arbitrum Mainnet and Arbitrum Sepolia in Early Access.{" "}
<a href="https://chainlinkcommunity.typeform.com/datastreams?#ref_id=docs">Contact us</a> to talk to an expert about
integrating Chainlink Data Streams with your applications.
</Aside>
Expand Down
22 changes: 11 additions & 11 deletions src/features/data-streams/common/gettingStarted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,32 @@ Read data from a Data Stream and validate the answer on-chain. This example uses
- The [Solidity](https://soliditylang.org/) programming language
- The [MetaMask](https://metamask.io) wallet
- The [Remix](https://remix.ethereum.org/) development environment
- Acquire testnet funds. This guide requires a testnet ETH on _Arbitrum Goerli_.
- Use the [Arbitrum Bridge](https://bridge.arbitrum.io/) to transfer testnet ETH from Ethereum Goerli to Arbitrum Goerli. Testnet ETH is available at one of [several faucets](https://faucetlink.to/goerli).
- Testnet LINK is available for _Arbitrum Goerli_ at [faucets.chain.link](https://faucets.chain.link/arbitrum-goerli).
- Acquire testnet funds. This guide requires a testnet ETH on _Arbitrum Sepolia_.
- Use the [Arbitrum Bridge](https://bridge.arbitrum.io/) to transfer testnet ETH from Ethereum Sepolia to Arbitrum Sepolia. Testnet ETH is available at one of [several faucets](https://faucetlink.to/sepolia).
- Testnet LINK is available for _Arbitrum Sepolia_ at [faucets.chain.link](https://faucets.chain.link/arbitrum-sepolia).
- Learn how to [Fund your contract with LINK](/resources/fund-your-contract).

## Deploy the Chainlink Automation upkeep

Deploy an upkeep that is enabled to retrieve data from Data Streams. For this example, you will read from the ETH/USD stream with ID `0x00023496426b520583ae20a66d80484e0fc18544866a5b0bfee15ec771963274` on Arbitrum Goerli. For a complete list of available assets, IDs, and verifier proxy addresses, see the [Stream Identifiers](/data-streams/stream-ids) page.
Deploy an upkeep that is enabled to retrieve data from Data Streams. For this example, you will read from the ETH/USD stream with ID `0x00023496426b520583ae20a66d80484e0fc18544866a5b0bfee15ec771963274` on Arbitrum Sepolia. For a complete list of available assets, IDs, and verifier proxy addresses, see the [Stream Identifiers](/data-streams/stream-ids) page.

1. Select the Arbitrum Goerli network in MetaMask.
1. Select the Arbitrum Sepolia network in MetaMask.

1. Open the example upkeep in Remix.

<CodeSample src="samples/DataStreams/StreamsUpkeep.sol" showButtonOnly />

1. Compile the contract.

1. In the **Deploy & Run** tab, select **Injected Provider** as your Environment. For this example, you should be using Arbitrum Goerli.
1. In the **Deploy & Run** tab, select **Injected Provider** as your Environment. For this example, you should be using Arbitrum Sepolia.

1. Deploy the contract. Record the contract address.

## Deploy the emitter

This contract emits logs that trigger the upkeep. This code can be part of your dApp. For example, you might emit log triggers when your users initiate a trade or other action that requires data retrieval. For this Getting Started guide, we will use a very simple emitter so you can test the upkeep and data retrieval.

1. Select the Arbitrum Goerli network in MetaMask.
1. Select the Arbitrum Sepolia network in MetaMask.

1. Open the example emitter in Remix.

Expand All @@ -57,15 +57,15 @@ This contract emits logs that trigger the upkeep. This code can be part of your
1. Deploy the contract with the following constructor variables:

- **FeeAddress (WETH)**: `0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3`
- **VerifierAddress**: `0xea9B98Be000FBEA7f6e88D08ebe70EbaAD10224c`
- **VerifierAddress**: `0x2ff010DEbC1297f19579B4246cad07bd24F2488A`

1. Record the contract address.

## Register the upkeep

Register a new **Log Trigger** upkeep. See [Automation Log Triggers](/chainlink-automation/guides/log-trigger) to learn more about how to register Log Trigger upkeeps.

1. Go to the [Chainlink Automation UI](https://automation.chain.link/arbitrum-goerli) for Arbitrum Goerli and connect your browser wallet.
1. Go to the [Chainlink Automation UI](https://automation.chain.link/arbitrum-sepolia) for Arbitrum Sepolia and connect your browser wallet.

1. Click **Register new Upkeep**.

Expand All @@ -85,7 +85,7 @@ Register a new **Log Trigger** upkeep. See [Automation Log Triggers](/chainlink-

Now you can use your emitter contract to emit a log and initiate the upkeep, which retrieves data for the specified Data Streams asset ID.

1. Go to [goerli.arbiscan.io](https://goerli.arbiscan.io/).
1. Go to [sepolia.arbiscan.io](https://sepolia.arbiscan.io/).

1. Use the search to find your emitter contract using the address you saved earlier.

Expand All @@ -105,7 +105,7 @@ After the transaction is complete, the log is emitted and the upkeep is triggere

View the upkeep and check the on-chain verification.

1. Go to the [Chainlink Automation UI](https://automation.chain.link/arbitrum-goerli) for Arbitrum Goerli.
1. Go to the [Chainlink Automation UI](https://automation.chain.link/arbitrum-sepolia) for Arbitrum Sepolia.

1. On your list of upkeeps, click the upkeep that you crated for this guide. The upkeep details open with a list of upkeeps that were performed. You should see your log triggered upkeep on this list.

Expand Down
8 changes: 4 additions & 4 deletions src/features/data/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ export const CHAINS: Chain[] = [
tags: ["nftFloorPrice"],
},
{
name: "Arbitrum Goerli",
explorerUrl: "https://goerli-rollup-explorer.arbitrum.io/address/%s",
name: "Arbitrum Sepolia",
explorerUrl: "https://sepolia.arbiscan.io/address/%s",
networkType: "testnet",
rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-testnet-goerli-arbitrum-1.json",
queryString: "arbitrum-goerli",
rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-testnet-sepolia-arbitrum-1.json",
queryString: "arbitrum-sepolia",
tags: ["rates", "streams"],
},
],
Expand Down
Loading

1 comment on commit 60e2989

@vercel
Copy link

@vercel vercel bot commented on 60e2989 Nov 19, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.