Skip to content

Commit

Permalink
fix issues created during merge, and
Browse files Browse the repository at this point in the history
  • Loading branch information
jhweintraub committed Jun 26, 2024
1 parent 7f41744 commit 13b9c91
Show file tree
Hide file tree
Showing 10 changed files with 135 additions and 485 deletions.
132 changes: 90 additions & 42 deletions contracts/gas-snapshots/ccip.gas-snapshot

Large diffs are not rendered by default.

174 changes: 0 additions & 174 deletions contracts/src/v0.8/ccip/applications/CCIPClientExample.sol

This file was deleted.

182 changes: 0 additions & 182 deletions contracts/src/v0.8/ccip/applications/EtherSenderReceiver.sol

This file was deleted.

12 changes: 6 additions & 6 deletions contracts/src/v0.8/ccip/applications/external/CCIPClient.sol
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
pragma solidity ^0.8.0;

import {IERC20} from "../../../vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "../../../vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/utils/SafeERC20.sol";
import {IRouterClient} from "../../interfaces/IRouterClient.sol";

import {Client} from "../../libraries/Client.sol";
import {CCIPReceiverWithACK} from "./CCIPReceiverWithACK.sol";

import {IRouterClient} from "../../interfaces/IRouterClient.sol";
import {Client} from "../../libraries/Client.sol";
import {IERC20} from "../../../vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "../../../vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/utils/SafeERC20.sol";

contract CCIPClient is CCIPReceiverWithACK {
using SafeERC20 for IERC20;
Expand All @@ -28,10 +28,10 @@ contract CCIPClient is CCIPReceiverWithACK {
address feeToken
) public payable validChain(destChainSelector) returns (bytes32 messageId) {
Client.EVM2AnyMessage memory message = Client.EVM2AnyMessage({
receiver: s_chains[destChainSelector],
receiver: s_chains[destChainSelector].recipient,
data: data,
tokenAmounts: tokenAmounts,
extraArgs: s_extraArgsBytes[destChainSelector],
extraArgs: s_chains[destChainSelector].extraArgsBytes,
feeToken: feeToken
});

Expand Down
Loading

0 comments on commit 13b9c91

Please sign in to comment.