Skip to content

Commit

Permalink
manual execution
Browse files Browse the repository at this point in the history
  • Loading branch information
aelmanaa committed Jan 16, 2024
1 parent 480ccb9 commit f980e76
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"IERC",
"Linea",
"Mainnets",
"Merkle",
"MOONRIVER",
"MOVR",
"Numberish",
Expand Down
1 change: 1 addition & 0 deletions src/content/ccip/architecture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ date: Last Modified
title: "CCIP Architecture"
whatsnext:
{
"CCIP manual execution": "/ccip/resources/manual-execution",
"Learn CCIP best practices": "/ccip/best-practices",
"Find the list of supported networks, lanes, and rate limits on the CCIP Supported Networks page": "/ccip/supported-networks",
}
Expand Down
5 changes: 3 additions & 2 deletions src/content/ccip/concepts/manual-execution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
section: ccip
date: Last Modified
title: "CCIP Manual Execution"
whatsnext: { "Learn CCIP best practices": "/ccip/best-practices" }
whatsnext:
{ "Manual execution guide": "/ccip/tutorials/manual-execution", "Learn CCIP best practices": "/ccip/best-practices" }
---

import { Aside, ClickToZoom } from "@components"
Expand All @@ -21,7 +22,7 @@ The flowchart presented below provides a visual guide through the process of a c

<br />

<ClickToZoom src="/images/ccip/tutorials/manual-execution.jpg" alt="Chainlink CCIP manual execution flowchart" />
<ClickToZoom src="/images/ccip/manual-execution.jpg" alt="Chainlink CCIP manual execution flowchart" />

## CCIP execution

Expand Down
5 changes: 5 additions & 0 deletions src/content/ccip/tutorials/manual-execution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ whatsnext:

import { CodeSample, ClickToZoom, CopyText, Aside } from "@components"

<Aside type="note">
Read the CCIP [manual execution](/ccip/concepts/manual-execution) conceptual page to understand how manual execution
works under the hood.
</Aside>

This tutorial is similar to the [programmable token transfers example](/ccip/tutorials/programmable-token-transfers). It demonstrates the use of Chainlink CCIP for transferring tokens and arbitrary data between smart contracts on different blockchains. A distinctive feature of this tutorial is that we intentionally set a very low gas limit when using CCIP to send our message. This low gas limit is designed to cause the execution on the destination chain to fail, providing an opportunity to demonstrate the manual execution feature. Here's how you will proceed:

1. Initiate a Transfer: You'll transfer tokens and arbitrary data from your source contract on Ethereum Sepolia to a receiver contract on Polygon Mumbai. You will notice that the CCIP message has a very low gas limit, causing the execution on the receiver contract to fail.
Expand Down

0 comments on commit f980e76

Please sign in to comment.