-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port ccip onchain to chainlink (#13941)
* init port * install dependencies and create snapshots * add to foundry ci * fix readme * fix ci & add changeset * fix fuzz exclusion * update license & solhint * add ccip solidity CI * fix coverage pruning * Update LICENSE * Update LICENSE * fix job name
- Loading branch information
Showing
233 changed files
with
49,601 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
.github/actions/detect-solidity-readonly-file-changes/action.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: 'Detect Solidity Readonly Files Changes Composite Action' | ||
description: 'Detects changes in readonly solidity files and fails if they are modified.' | ||
outputs: | ||
changes: | ||
description: 'Whether or not changes were detected' | ||
value: ${{ steps.changed_files.outputs.src }} | ||
runs: | ||
using: 'composite' | ||
steps: | ||
|
||
- name: Filter paths | ||
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | ||
id: changed_files | ||
with: | ||
list-files: 'csv' | ||
filters: | | ||
read_only_sol: | ||
- 'contracts/src/v0.8/interfaces/**/*' | ||
- 'contracts/src/v0.8/automation/v1_2/**/*' | ||
- 'contracts/src/v0.8/automation/v1_3/**/*' | ||
- 'contracts/src/v0.8/automation/v2_0/**/*' | ||
- name: Fail if read-only files have changed | ||
if: ${{ steps.changed_files.outputs.read_only_sol == 'true' }} | ||
shell: bash | ||
run: | | ||
echo "One or more read-only Solidity file(s) has changed." | ||
for file in ${{ steps.changed_files.outputs.read_only_sol_files }}; do | ||
echo "$file was changed" | ||
done | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@chainlink/contracts': minor | ||
--- | ||
|
||
add ccip contracts to the repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.