various Solidity Foundry updates - #14866
Conversation
…run also for tests, add back static analysis
de6e810 to
500f4ec
Compare
AER Report: CI Core ran successfully ✅ |
| working-directory: ./contracts | ||
|
|
||
| # runs only if non-test contracts were modified; scoped only to modified or added contracts | ||
| analyze: |
There was a problem hiding this comment.
I added back whole static analysis job
| path: contracts/configs | ||
| retention-days: 7 | ||
| if-no-files-found: error | ||
| include-hidden-files: true |
There was a problem hiding this comment.
this is the only real change vs previous version, required as config files start with a .
| solidity-forge-fmt: | ||
| name: Forge fmt ${{ matrix.product.name }} | ||
| if: ${{ needs.changes.outputs.non_src_changes == 'true' || needs.changes.outputs.not_test_sol_modified == 'true' }} | ||
| if: ${{ needs.changes.outputs.non_src_changes == 'true' || needs.changes.outputs.sol_modified_added == 'true' }} |
There was a problem hiding this comment.
we will now run forge fmt when any Solidity files change, not only non-test ones
| with: | ||
| name: tmp-* | ||
|
|
||
| check-tests-results: |
There was a problem hiding this comment.
new job that checks for results of the test matrix, we will set it as a required job
| env: | ||
| FOUNDRY_PROFILE: ${{ matrix.product.name }} | ||
|
|
||
| check-fmt-results: |
There was a problem hiding this comment.
new job that checks for results of the formatting matrix, we will set it as a required job
There was a problem hiding this comment.
also the name at line 2
|
* develop: rm gethwrappers from codeowners offchain (#14919) CCIP-3899 fix sender encoding (#14877) ccip: use unknown address type. (#14836) [chore] Add changeset entry for RequestRoundTracker fix (#14912) various Solidity Foundry updates (#14866) CCIP-3710 create new custom calldata L1 (DA) gas oracle (#14710) CCIP owns smoke test (#14906) core/services/ocr2/plugins/ccip/internal/ccipdata/factory: check error from TypeAndVersion (#14861) CCIP-3730 Misc ccip onchain changes (#14845) Chain fee integration tests (#14829) release/2.17.0 -> develop (#14721) Solana: re-enable disabled test with updated version (#14892)





This PR introduces a couple of changes:
Tests: