Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cc #85

Merged
merged 9 commits into from
Oct 29, 2024
Merged

cc #85

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@
[submodule "ccip/ccip-cla-rate-limits/lib/forge-std"]
path = ccip/ccip-cla-rate-limits/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "ccip/cct/foundry/lib/forge-std"]
path = ccip/cct/foundry/lib/forge-std
url = https://github.com/foundry-rs/forge-std
5 changes: 5 additions & 0 deletions ccip/cct/foundry/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PRIVATE_KEY=
RPC_URL_FUJI=
RPC_URL_ARBITRUM_SEPOLIA=
ETHERSCAN_API_KEY=
ARBISCAN_API_KEY=
16 changes: 16 additions & 0 deletions ccip/cct/foundry/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
node_modules/

# Compiler files
cache/
out/

# Ignores all broadcast logs except specific exclusions
/broadcast/*/
/broadcast/**/dry-run/
/broadcast/**/31337/

# Docs
docs/

# Dotenv file
.env
21 changes: 21 additions & 0 deletions ccip/cct/foundry/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 SmartContract Chainlink Limited SEZC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
668 changes: 668 additions & 0 deletions ccip/cct/foundry/README.md

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions ccip/cct/foundry/foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc_version = "0.8.24"
optimizer = true
optimizer_runs = 200

remappings = [
'@chainlink/contracts-ccip/=node_modules/@chainlink/contracts-ccip/'
]

fs_permissions = [{ access = "read-write", path = "./" }]

[etherscan]
avalanche-fuji = { key = "${ETHERSCAN_API_KEY}", chain = 43113, url = "https://api-testnet.snowtrace.io/api" }
arbitrum-sepolia = { key = "${ARBISCAN_API_KEY}", chain = 421613, url = "https://api-sepolia.arbiscan.io/api" }

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
1 change: 1 addition & 0 deletions ccip/cct/foundry/lib/forge-std
Submodule forge-std added at 1eea5b
Loading