Skip to content

Commit

Permalink
Merge doc main (#237)
Browse files Browse the repository at this point in the history
* Fix shadow on navigation (#2100)

* Fix shadow on navigation

* Align inner page with new navigation width

---------

Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>
Co-authored-by: Karim H. <98668332+khadni@users.noreply.github.com>

* Adjust VRF Sepolia lane and CLA deprecation notice (#2103)

* CCIP 1.5 (#2104)

* rel2 update

* rel2 update

* rel2 update

* fix

* OoO

* fix

* nit

* nit

* update page

* update page

* update page

* update page

* update

* update

* update

* update

* update

* update

* update

* Fund amounts & nit changes

---------

Co-authored-by: Karim <98668332+khadni@users.noreply.github.com>

* Add gas spikes note (#2105)

* Add gas spikes note

* Remove printscreen

* Add shorter inline explanation and adjust gas spike insert

---------

Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>

* update (#2110)

* update (#2108)

* new integration (#2111)

* linea testnet

* linea testnet

* linea

* linea

* linea

* linea

* linea

* scroll (#2114)

* update

* update

* update

* remove kroma testnet

* put kroma

* update

* update

* empty

* add Scroll ccip to QL (#2115)

* nit (#2116)

* nit (#2117)

* rmn status (#2118)

* rmn status

* rmn status

* rmn status

* update

* update

* add issuer por field (#2119)

---------

Co-authored-by: Simone Cuomo <simone@thisdot.co>
Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>
Co-authored-by: Amine E. <aelmanaa@users.noreply.github.com>
  • Loading branch information
4 people authored Oct 11, 2024
1 parent 34ba959 commit 8a9db7a
Show file tree
Hide file tree
Showing 73 changed files with 12,078 additions and 6,641 deletions.
1 change: 1 addition & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const config: HardhatUserConfig = {
{ version: "0.8.16" },
{ version: "0.8.19" },
{ version: "0.8.20" },
{ version: "0.8.24" },
],
},
}
Expand Down
81 changes: 54 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@astrojs/sitemap": "^3.1.5",
"@chainlink/components": "^0.4.18",
"@chainlink/contracts": "1.2.0",
"@chainlink/contracts-ccip": "1.4.0",
"@chainlink/contracts-ccip": "1.5.0-beta.0",
"@chainlink/design-system": "^0.2.8",
"@chainlink/local": "^0.2.1",
"@chainlink/solana-sdk": "^0.2.2",
Expand Down
33 changes: 33 additions & 0 deletions public/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
[
{
"category": "integration",
"changes": [],
"date": "2024-10-10",
"description": "Chainlink CCIP is publicly available on Scroll mainnet and testnet.\n\n- Visit the [Supported Networks](https://docs.chain.link/ccip/supported-networks) page for more information.",
"relatedNetworks": ["scroll"],
"relatedTokens": [],
"title": "CCIP on Scroll",
"topic": "ccip",
"urls": []
},
{
"category": "integration",
"changes": [],
"date": "2024-10-08",
"description": "Chainlink CCIP is publicly available on Linea mainnet and testnet.\n\n- Visit the [Supported Networks](https://docs.chain.link/ccip/supported-networks) page for more information.",
"relatedNetworks": ["linea"],
"relatedTokens": [],
"title": "CCIP on Linea",
"topic": "ccip",
"urls": []
},
{
"category": "release",
"changes": [],
"date": "2024-10-04",
"description": "Chainlink CCIP 1.5 is now available on testnet, introducing several new features and enhancements.\n\n**Risk Management Network Coverage:**\nCertain CCIP integrations may not initially include the Risk Management Network (RMN). Blockchains can be integrated with CCIP in a phased approach, starting with the deployment of the Committing and Executing Decentralized Oracle Networks (DONs), followed by the addition of the Risk Management Network in a subsequent update. During a phased deployment, the relevant Commit Stores are configured in the Risk Management contract to always be considered blessed until the Risk Management Network has been deployed for that blockchain. Please refer to the [Supported Networks](https://docs.chain.link/ccip/supported-networks) documentation to identify which integrations utilize a phased approach, and review the [CCIP Service Responsibility](https://docs.chain.link/ccip/service-responsibility) for more information.\n\n**New Version of `EVMExtraArgs`:**\nChainlink CCIP 1.5 introduces a new version of `EVMExtraArgs`, allowing users to set the `allowOutOfOrderExecution` parameter. This feature enables developers to control the execution order of their messages on the destination blockchain. The `allowOutOfOrderExecution` parameter is part of [`EVMExtraArgsV2`](https://docs.chain.link/ccip/api-reference/client#evmextraargsv2) and is available only on lanes where the **Out of Order Execution** property is set to **Optional** or **Required**. Please consult the [Supported Networks page](https://docs.chain.link/ccip/supported-networks) to determine if your target lane supports this feature.",
"relatedNetworks": [],
"relatedTokens": [],
"title": "Chainlink CCIP 1.5 - Testnet",
"topic": "ccip",
"urls": []
},
{
"category": "integration",
"changes": [],
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/Acknowledger.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -122,7 +122,10 @@ contract Acknowledger is CCIPReceiver, OwnerIsCreator {
tokenAmounts: new Client.EVMTokenAmount[](0), // Empty array aas no tokens are transferred
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit
Client.EVMExtraArgsV1({gasLimit: 200_000})
Client.EVMExtraArgsV2({
gasLimit: 200_000,
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
feeToken: address(s_linkToken)
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/MessageTracker.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -258,7 +258,10 @@ contract MessageTracker is CCIPReceiver, OwnerIsCreator {
tokenAmounts: new Client.EVMTokenAmount[](0), // Empty array as no tokens are transferred
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit
Client.EVMExtraArgsV1({gasLimit: 300_000})
Client.EVMExtraArgsV2({
gasLimit: 300_000,
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
feeToken: _feeTokenAddress
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/Messenger.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -261,7 +261,10 @@ contract Messenger is CCIPReceiver, OwnerIsCreator {
tokenAmounts: new Client.EVMTokenAmount[](0), // Empty array as no tokens are transferred
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit
Client.EVMExtraArgsV1({gasLimit: 200_000})
Client.EVMExtraArgsV2({
gasLimit: 200_000, // Gas limit for the callback on the destination chain
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
feeToken: _feeTokenAddress
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/ProgrammableDefensiveTokenTransfers.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -494,7 +494,10 @@ contract ProgrammableDefensiveTokenTransfers is CCIPReceiver, OwnerIsCreator {
tokenAmounts: tokenAmounts, // The amount and type of token being transferred
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit
Client.EVMExtraArgsV1({gasLimit: 400_000})
Client.EVMExtraArgsV2({
gasLimit: 400_000, // Gas limit for the callback on the destination chain
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
feeToken: _feeTokenAddress
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/ProgrammableTokenTransfers.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -342,7 +342,10 @@ contract ProgrammableTokenTransfers is CCIPReceiver, OwnerIsCreator {
tokenAmounts: tokenAmounts, // The amount and type of token being transferred
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit
Client.EVMExtraArgsV1({gasLimit: 200_000})
Client.EVMExtraArgsV2({
gasLimit: 200_000, // Gas limit for the callback on the destination chain
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
feeToken: _feeTokenAddress
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/ProgrammableTokenTransfersLowGasLimit.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -157,7 +157,10 @@ contract ProgrammableTokenTransfersLowGasLimit is CCIPReceiver, OwnerIsCreator {
tokenAmounts: tokenAmounts, // The amount and type of token being transferred
extraArgs: Client._argsToBytes(
// gasLimit set to 20_000 on purpose to force the execution to fail on the destination chain
Client.EVMExtraArgsV1({gasLimit: 20_000})
Client.EVMExtraArgsV2({
gasLimit: 20_000, // Gas limit for the callback on the destination chain
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a LINK token address
feeToken: address(s_linkToken)
Expand Down
2 changes: 1 addition & 1 deletion public/samples/CCIP/Receiver.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {Client} from "@chainlink/contracts-ccip/src/v0.8/ccip/libraries/Client.sol";
import {CCIPReceiver} from "@chainlink/contracts-ccip/src/v0.8/ccip/applications/CCIPReceiver.sol";
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/Sender.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -57,7 +57,10 @@ contract Sender is OwnerIsCreator {
tokenAmounts: new Client.EVMTokenAmount[](0), // Empty array indicating no tokens are being sent
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit
Client.EVMExtraArgsV1({gasLimit: 200_000})
Client.EVMExtraArgsV2({
gasLimit: 200_000, // Gas limit for the callback on the destination chain
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken address, indicating LINK will be used for fees
feeToken: address(s_linkToken)
Expand Down
2 changes: 1 addition & 1 deletion public/samples/CCIP/TestCCIPLocalSimulator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

// solhint-disable no-unused-import
import {CCIPLocalSimulator} from "@chainlink/local/src/ccip/CCIPLocalSimulator.sol";
7 changes: 5 additions & 2 deletions public/samples/CCIP/TokenTransferor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -235,7 +235,10 @@ contract TokenTransferor is OwnerIsCreator {
tokenAmounts: tokenAmounts, // The amount and type of token being transferred
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit to 0 as we are not sending any data
Client.EVMExtraArgsV1({gasLimit: 0})
Client.EVMExtraArgsV2({
gasLimit: 0, // Gas limit for the callback on the destination chain
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
feeToken: _feeTokenAddress
Expand Down
2 changes: 1 addition & 1 deletion public/samples/CCIP/usdc/Receiver.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
import {Client} from "@chainlink/contracts-ccip/src/v0.8/ccip/libraries/Client.sol";
Expand Down
7 changes: 5 additions & 2 deletions public/samples/CCIP/usdc/Sender.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {OwnerIsCreator} from "@chainlink/contracts-ccip/src/v0.8/shared/access/OwnerIsCreator.sol";
Expand Down Expand Up @@ -153,7 +153,10 @@ contract Sender is OwnerIsCreator {
tokenAmounts: tokenAmounts, // The amount and type of token being transferred
extraArgs: Client._argsToBytes(
// Additional arguments, setting gas limit
Client.EVMExtraArgsV1({gasLimit: gasLimit})
Client.EVMExtraArgsV2({
gasLimit: gasLimit, // Gas limit for the callback on the destination chain
allowOutOfOrderExecution: true // Allows the message to be executed out of order relative to other messages from the same sender
})
),
// Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
feeToken: address(i_linkToken)
Expand Down
2 changes: 1 addition & 1 deletion public/samples/CCIP/usdc/Staker.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.24;

import {ERC20} from "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/ERC20.sol";
import {SafeERC20} from "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/utils/SafeERC20.sol";
Expand Down
Loading

0 comments on commit 8a9db7a

Please sign in to comment.