Skip to content

Commit

Permalink
Update src/content/ccip/tutorials/ccipreceive-gaslimit.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Karim H. <98668332+khadni@users.noreply.github.com>
  • Loading branch information
aelmanaa and khadni authored Mar 25, 2024
1 parent 70c1a9f commit 2cfcc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/ccip/tutorials/ccipreceive-gaslimit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ To estimate the gas usage of the `ccipReceive` function within your own Foundry
1. Create a testing file in the `test` directory of your project and import the [`MockCCIPRouter`](https://github.com/smartcontractkit/ccip/blob/ccip-develop/contracts/src/v0.8/ccip/test/mocks/MockRouter.sol) contract:

```solidity
import "@chainlink/contracts/src/v0.8/ccip/test/mocks/MockRouter.sol";
import {MockCCIPRouter} from "@chainlink/contracts-ccip/src/v0.8/ccip/test/mocks/MockRouter.sol";
```

**_Note_:** The `MockCCIPRouter` receives the CCIP message from your CCIP Sender, calls the `ccipReceive` function on your CCIP Receiver, and emits the `MsgExecuted` event with the gas used.
Expand Down

0 comments on commit 2cfcc78

Please sign in to comment.