Skip to content

Commit

Permalink
Merge branch 'main' into chain-name-update
Browse files Browse the repository at this point in the history
  • Loading branch information
thedriftofwords authored Jan 29, 2025
2 parents e345321 + e0b9635 commit 9ea7b01
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 7 deletions.
4 changes: 3 additions & 1 deletion public/assets/chains/scroll.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions public/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
[
{
"category": "integration",
"changes": [],
"date": "2025-01-29",
"description": "Chainlink Data Streams is available in Early Access on Scroll. The verifier proxy addresses and stream IDs are available on the [Stream Addresses](https://docs.chain.link/data-streams/crypto-streams) page.",
"relatedNetworks": ["scroll"],
"relatedTokens": [],
"title": "Data Streams on Scroll",
"topic": "data",
"subTopic": "data-streams",
"urls": []
},
{
"category": "integration",
"changes": [],
Expand Down
1 change: 1 addition & 0 deletions src/components/QuickLinks/data/productChainLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export const productChainLinks: ProductChainLinks = {
base: "/data-streams/crypto-streams",
soneium: "/data-streams/crypto-streams",
opbnb: "/data-streams/crypto-streams",
scroll: "/data-streams/crypto-streams",
solana: "/data-streams/crypto-streams",
sonic: "/data-streams/crypto-streams",
optimism: "/data-streams/crypto-streams",
Expand Down
11 changes: 5 additions & 6 deletions src/content/ccip/concepts/cross-chain-tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,19 @@ On the **destination blockchain**, the CCIP OffRamp contract performs three key

**v1.5.0**

Token pools on **v1.5.0** do not support tokens with different decimal places across blockchains. When transferring a token between blockchains with differing decimal places, the token loses precision resulting in different amounts of tokens between the source and destination blockchain.
Token pools on **v1.5.0** do not support tokens with different decimal places across blockchains. When transferring a token between blockchains with differing decimal places, the token loses precision resulting in different amounts of tokens between the source and destination blockchain.

Consider a token developer who deployed their token across two blockchains with different decimal configurations:

- Blockchain A: Token with 12 decimals
- Blockchain B: Token with 6 decimals

| Transfer Path | Example | Explanation | Impact |
|----------------|------------------------------------------------------------------|-----------------------|--------------------------------|
| **A → B**(12 → 6) | • Send **1.0** from A (= 10^12 base units)<br/>• Receive on B: 1,000,000 | 10^12/10^6= **1,000,000** | **Gain** of 999,999 (1,000,000 -1) |
| Transfer Path | Example | Explanation | Impact |
| ----------------- | ------------------------------------------------------------------------ | ------------------------- | ---------------------------------- |
| **A → B**(12 → 6) | • Send **1.0** from A (= 10^12 base units)<br/>• Receive on B: 1,000,000 | 10^12/10^6= **1,000,000** | **Gain** of 999,999 (1,000,000 -1) |
| **B → A**(6 → 12) | • Send **1.0** from B(= 10^6 base units)<br/>• Receive on A: 0.000001 | 10^6/10^12= **0.000001** | **Loss** of 0.999999 (1-0.000001) |


We highly recommend [upgrading to v1.5.1](#upgrading-from-v150) to leverage the native support for token decimal handling. If using v1.5.0, please make sure to [configure a custom v1.5.0 token pool](#custom-token-pools).
We highly recommend [upgrading to v1.5.1](#upgrading-from-v150) to leverage the native support for token decimal handling. If using v1.5.0, please make sure to [configure a custom v1.5.0 token pool](#custom-token-pools).

**v1.5.1**

Expand Down
14 changes: 14 additions & 0 deletions src/features/feeds/components/Tables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,20 @@ const StreamsNetworksData = [
explorerUrl: "https://sepolia-optimism.etherscan.io/address/%s",
},
},
{
network: "Scroll",
logoUrl: "/assets/chains/scroll.svg",
mainnet: {
label: "Scroll Mainnet",
verifierProxy: "0x37e550C9b35DB56F9c943126F1c2642fcbDF7B51",
explorerUrl: "https://scrollscan.com/address/%s",
},
testnet: {
label: "Scroll Sepolia Testnet",
verifierProxy: "0xE17A7C6A7c2eF0Cb859578aa1605f8Bc2434A365",
explorerUrl: "https://sepolia.scrollscan.com/address/%s",
},
},
{
network: "Shibarium",
logoUrl: "/assets/chains/shibarium.svg",
Expand Down

0 comments on commit 9ea7b01

Please sign in to comment.