Skip to content

Commit 87370bb

Browse files
authored
Ccip token messagings fix (#109)
* update * update * update * update
1 parent 1f47057 commit 87370bb

23 files changed

+1269
-94
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"extends": "solhint:recommended",
3+
"plugins": ["chainlink-solidity"],
4+
"rules": {
5+
"compiler-version": ["off", "^0.8.0"],
6+
"const-name-snakecase": "off",
7+
"var-name-mixedcase": "off",
8+
"func-named-parameters": "off",
9+
"immutable-vars-naming": "off",
10+
"no-inline-assembly": "off",
11+
"contract-name-capwords": "off",
12+
"use-natspec": "off",
13+
"gas-indexed-events": "off",
14+
"function-max-lines": "off",
15+
"gas-strict-inequalities": "off",
16+
"gas-increment-by-one": "off",
17+
"gas-calldata-parameters": "off",
18+
"gas-small-strings": "off",
19+
"not-rely-on-time": "off",
20+
"no-empty-blocks": "off",
21+
"no-unused-import": "error",
22+
"func-visibility": [
23+
"error",
24+
{
25+
"ignoreConstructors": true
26+
}
27+
],
28+
"quotes": ["error", "double"],
29+
"chainlink-solidity/prefix-internal-functions-with-underscore": "warn",
30+
"chainlink-solidity/prefix-private-functions-with-underscore": "warn",
31+
"chainlink-solidity/prefix-storage-variables-with-s-underscore": "warn",
32+
"chainlink-solidity/prefix-immutable-variables-with-i": "warn",
33+
"chainlink-solidity/all-caps-constant-storage-variables": "warn",
34+
"chainlink-solidity/no-hardhat-imports": "warn",
35+
"chainlink-solidity/inherited-constructor-args-not-in-contract-definition": "warn",
36+
"chainlink-solidity/explicit-returns": "warn"
37+
}
38+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./node_modules/

ccip/token-transfer-using-arbitrary-messaging/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,13 @@ The tests are written in Solidity and can be found in the `test` directory. The
195195

196196
**Note**: Ensure you have completed the [Prerequisites](#prerequisites) setup, including configuring your `.env` file with the required RPC URLs.
197197

198-
To run the tests:
198+
First, verify that your contracts compile successfully:
199+
200+
```bash
201+
forge build
202+
```
203+
204+
Once the build completes without errors, run the tests:
199205

200206
```bash
201207
forge test

ccip/token-transfer-using-arbitrary-messaging/foundry.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ remappings = [
88
"@chainlink/contracts-ccip/contracts/=node_modules/@chainlink/contracts-ccip/contracts/",
99
"@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",
1010
"@chainlink/local/=node_modules/@chainlink/local/",
11+
"forge-std/=lib/forge-std/src/",
1112
]
1213
gas_reports = ["*"]
1314
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

0 commit comments

Comments
 (0)