[Bug]: Problem in using the CCIP Local Simulator to fork mainnets - Foundry edition
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 50/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- solidity
調査の方向性
リンク先の CCIP Foundry ドキュメントの Working with Mainnet Forks セクションにある ExampleTest の実装から始めてください。feeToken の処理、ccipLocalSimulatorFork.setNetworkDetails で使用される Polygon のチェーンセレクター、および ccipReceiverAddress の設定を確認してください。完了条件は、例がコンパイルおよびデプロイでき、両方のネットワークが正しく記録され、宛先の receiver に "Hello world" が配信されることです。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
In the current docs of the ExampleTest in the Local Simulator to fork mainnets of ccip foundry section, there is some issues related to the complete implementation of the ExampleTest.
Issues:
- As the feeToken: address(0), so we need to send the fee amount in the
ccipSend - The polygon chain selector id is not correct to be used for setting the NetworkConfig. it needs to be the real chain id
- The ccipReceiverAddress needs to be set correctly, which is not implemented to verify if the cross-chain from source to destination chain is working as expected.
To Reproduce
- Just copy and paste the complete implementation code in the
[Working with Mainnet Forks](https://docs.chain.link/chainlink-local/build/ccip/foundry/forking-mainnets#working-with-mainnet-forks)
URLs
Expected behavior
The expectations are:
ccipLocalSimulatorFork.setNetworkDetailsworks fine and record the data for both Ethereum(source chain) and Polygon(destination chain) correctly- The desired data(here: "Hello world" string) get to the destination's
ccipReceiverAddresscontract - Compile and deploy without any issues
Additional context
No response
- 主要言語
- MDX
- スター
- 527
- フォーク
- 480
- 平均マージ
- 1日 50分
- マージ済み PR(30日)
- 91
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
smartcontractkit/documentation のほかの issue
-
[Bug]: broken link in onchain-write/submitting-reports-onchain対応中かも @Jludvim が 29 日前に担当しました。 オープンbug triage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
smartcontractkit/documentation#4154 ·
メンテナーはふだん 1 日以内に返信
-
[Enhancement]: <Chainlink local documentation issue>対応中かも @ChrisWozniak が 29 日前に担当しました。 オープンenhancement triage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
smartcontractkit/documentation#4114 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: <Possible to use multiple secret files from v2.4.0 onwards>対応中かも @ChrisWozniak が 29 日前に担当しました。 オープンbug triage
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
smartcontractkit/documentation#1505 ·
メンテナーはふだん 1 日以内に返信
-
GHA-data-validate-urls: Invalid URLs Detected対応中かも @khadni が 5 日前に担当しました。 オープンbug gh-action-data
smartcontractkit/documentation#4267 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
GHA-data-validate-urls: Invalid URLs Detected対応中かも @khadni が 12 日前に担当しました。 オープンbug gh-action-data
smartcontractkit/documentation#4222 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
smartcontractkit/documentation の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
btclib-org/btclib-node#1896 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 半日 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ChainSafe/lodestar#10322 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100