-
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.
Merge branch 'develop' into feature/CCIP-2465-enumerableMap-addressTo…
…BytesMap
- Loading branch information
Showing
647 changed files
with
71,277 additions
and
4,386 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
remove dependency on FinalityDepth in EVM TXM code. #internal |
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": patch | ||
--- | ||
|
||
#added L3X Config |
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": minor | ||
--- | ||
|
||
#added merging core/capabilities/ccip from https://github.com/smartcontractkit/ccip |
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": patch | ||
--- | ||
|
||
New Mercury v4 report schema #added |
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": patch | ||
--- | ||
|
||
#internal fix to keystone e2e test dispatcher to correctly mock duplicate registration error |
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": patch | ||
--- | ||
|
||
#added Add Astar TerminallyUnderpriced error mapping |
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": minor | ||
--- | ||
|
||
Introduced finalized transaction state. Added a finalizer component to the TXM to mark transactions as finalized. #internal |
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": patch | ||
--- | ||
|
||
#internal restore common version to head of develop |
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": patch | ||
--- | ||
|
||
#internal fix the mock trigger to ensure events are sent |
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": patch | ||
--- | ||
|
||
#internal ensure remote target request hash is deterministic |
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": patch | ||
--- | ||
|
||
#internal |
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": patch | ||
--- | ||
|
||
Added custom client error messages for Mantle to capture InsufficientEth and Fatal errors. #added |
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": patch | ||
--- | ||
|
||
#internal |
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": patch | ||
--- | ||
|
||
#internal |
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": minor | ||
--- | ||
|
||
#bugfix Addresses 2 minor issues with the pruning of LogPoller's db tables: logs not matching any filter will now be pruned, and rows deleted are now properly reported for observability |
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": patch | ||
--- | ||
|
||
#internal |
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": patch | ||
--- | ||
|
||
#updated Update Polygon configs to match PIP-35 |
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": minor | ||
--- | ||
|
||
#internal Add evm Chain Reader GetLatestValue support for filtering on indexed topic types that get hashed. |
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": minor | ||
--- | ||
|
||
Change ChainReader Block primitive field from int to string. #internal |
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": patch | ||
--- | ||
|
||
#internal fix data race in syncer launcher |
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": minor | ||
--- | ||
|
||
Updated AutoPurge.Threshold and AutoPurge.MinAttempts configs to only be required for heuristic and added content-type header for Scroll API #internal |
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": minor | ||
--- | ||
|
||
Added custom finality calculation for Astar #internal |
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": patch | ||
--- | ||
|
||
#internal prevent reentrancy when configuring DON in Capabilities Registry |
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": minor | ||
--- | ||
|
||
Added CCIP plugins code from https://github.com/smartcontractkit/ccip/ #added |
26 changes: 26 additions & 0 deletions
26
.github/actions/detect-solidity-foundry-version/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,26 @@ | ||
name: 'Detect Foundry version in GNUmakefile' | ||
description: 'Detects Foundry version in GNUmakefile' | ||
inputs: | ||
working-directory: | ||
description: 'The GNUmakefile directory' | ||
required: false | ||
default: 'contracts' | ||
outputs: | ||
foundry-version: | ||
description: 'Foundry version found in GNUmakefile' | ||
value: ${{ steps.extract-foundry-version.outputs.foundry-version }} | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Extract Foundry version | ||
id: extract-foundry-version | ||
shell: bash | ||
working-directory: ${{ inputs.working-directory }} | ||
run: | | ||
foundry_version=$(grep -Eo "foundryup --version [^ ]+" GNUmakefile | awk '{print $3}') | ||
if [ -z "$foundry_version" ]; then | ||
echo "::error::Foundry version not found in GNUmakefile" | ||
exit 1 | ||
fi | ||
echo "Foundry version found: $foundry_version" | ||
echo "foundry-version=$foundry_version" >> $GITHUB_OUTPUT |
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,10 @@ | ||
name: Setup Slither | ||
description: Installs Slither 0.10.3 for contract analysis. Requires Python 3.6 or higher. | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Slither | ||
shell: bash | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install slither-analyzer==0.10.3 |
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,30 @@ | ||
name: Setup Solc Select | ||
description: Installs Solc Select, required versions and selects the version to use. Requires Python 3.6 or higher. | ||
inputs: | ||
to_install: | ||
description: Comma-separated list of solc versions to install | ||
required: true | ||
to_use: | ||
description: Solc version to use | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install solc-select and solc | ||
shell: bash | ||
run: | | ||
pip3 install solc-select | ||
sudo ln -s /usr/local/bin/solc-select /usr/bin/solc-select | ||
IFS=',' read -ra versions <<< "${{ inputs.to_install }}" | ||
for version in "${versions[@]}"; do | ||
solc-select install $version | ||
if [ $? -ne 0 ]; then | ||
echo "Failed to install Solc $version" | ||
exit 1 | ||
fi | ||
done | ||
solc-select install ${{ inputs.to_use }} | ||
solc-select use ${{ inputs.to_use }} |
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,103 @@ | ||
name: Validate Artifact Scope | ||
description: Checks there are any modified Solidity files outside of the specified scope. If so, it prints a warning message, but does not fail the workflow. | ||
inputs: | ||
product: | ||
description: The product for which the artifacts are being generated | ||
required: true | ||
sol_files: | ||
description: Comma-separated (CSV) or space-separated (shell) list of Solidity files to check | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Transform input array | ||
id: transform_input_array | ||
shell: bash | ||
run: | | ||
is_csv_format() { | ||
local input="$1" | ||
if [[ "$input" =~ "," ]]; then | ||
return 0 | ||
else | ||
return 1 | ||
fi | ||
} | ||
is_space_separated_string() { | ||
local input="$1" | ||
if [[ "$input" =~ ^[^[:space:]]+([[:space:]][^[:space:]]+)*$ ]]; then | ||
return 0 | ||
else | ||
return 1 | ||
fi | ||
} | ||
array="${{ inputs.sol_files }}" | ||
if is_csv_format "$array"; then | ||
echo "::debug::CSV format detected, nothing to do" | ||
echo "sol_files=$array" >> $GITHUB_OUTPUT | ||
exit 0 | ||
fi | ||
if is_space_separated_string "$array"; then | ||
echo "::debug::Space-separated format detected, converting to CSV" | ||
csv_array="${array// /,}" | ||
echo "sol_files=$csv_array" >> $GITHUB_OUTPUT | ||
exit 0 | ||
fi | ||
echo "::error::Invalid input format for sol_files. Please provide a comma-separated (CSV) or space-separated (shell) list of Solidity files" | ||
exit 1 | ||
- name: Check for changes outside of artifact scope | ||
shell: bash | ||
run: | | ||
echo "::debug::All modified contracts:" | ||
echo "${{ steps.transform_input_array.outputs.sol_files }}" | tr ',' '\n' | ||
if [ "${{ inputs.product }}" = "shared" ]; then | ||
excluded_paths_pattern="!/^contracts\/src\/v0\.8\/interfaces/ && !/^contracts\/src\/v0\.8\/${{ inputs.product }}/ && !/^contracts\/src\/v0\.8\/[^\/]+\.sol$/" | ||
else | ||
excluded_paths_pattern="!/^contracts\/src\/v0\.8\/${{ inputs.product }}/" | ||
fi | ||
echo "::debug::Excluded paths: $excluded_paths_pattern" | ||
unexpected_files=$(echo "${{ steps.transform_input_array.outputs.sol_files }}" | tr ',' '\n' | awk "$excluded_paths_pattern") | ||
missing_files="" | ||
set -e | ||
set -o pipefail | ||
if [[ -n "$unexpected_files" ]]; then | ||
products=() | ||
productsStr="" | ||
IFS=$'\n' read -r -d '' -a files <<< "$unexpected_files" || true | ||
echo "Files: ${files[@]}" | ||
for file in "${files[@]}"; do | ||
missing_files+="$file," | ||
product=$(echo "$file" | awk -F'src/v0.8/' '{if ($2 ~ /\//) print substr($2, 1, index($2, "/")-1); else print "shared"}') | ||
if [[ ! " ${products[@]} " =~ " ${product} " ]]; then | ||
products+=("$product") | ||
productsStr+="$product, " | ||
fi | ||
done | ||
productsStr=${productsStr%, } | ||
set +e | ||
set +o pipefail | ||
missing_files=$(echo $missing_files | tr ',' '\n') | ||
echo "Error: Found modified contracts outside of the expected scope: ${{ inputs.product }}" | ||
echo "Files:" | ||
echo "$missing_files" | ||
echo "Action required: If you want to generate artifacts for other products ($productsStr) run this workflow again with updated configuration" | ||
echo "# Warning!" >> $GITHUB_STEP_SUMMARY | ||
echo "## Reason: Found modified contracts outside of the expected scope: ${{ inputs.product }}" >> $GITHUB_STEP_SUMMARY | ||
echo "### Files:" >> $GITHUB_STEP_SUMMARY | ||
echo "$missing_files" >> $GITHUB_STEP_SUMMARY | ||
echo "## Action required: If you want to generate artifacts for other products ($productsStr) run this workflow again with updated configuration" >> $GITHUB_STEP_SUMMARY | ||
else | ||
echo "No unexpected files found." | ||
fi |
Oops, something went wrong.