generated from AngleProtocol/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: mode deployment * chore: add into ci downlaod of vyper * feat: set evm version to cancun * chore: set evm version to shangai * chore: remove specific evm version * chore: add debug * chore: debug in ci * feat: upgrade vyper version to 0.3.10 * chore: update ci-deep * chore: remove debug session from ci * chore: update ci with vyper installed everywhere * fix: right version of slither ci * chore: try to skip test and scripts for slither * chore: try slither without action * chore: ignore compile and fail * chore: change slither version
- Loading branch information
1 parent
07a037f
commit c16e2f0
Showing
11 changed files
with
115 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
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 |
---|---|---|
|
@@ -44,6 +44,15 @@ jobs: | |
with: | ||
submodules: "recursive" | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: Install viper | ||
shell: bash | ||
run: pip install vyper==0.3.10 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
|
@@ -88,6 +97,15 @@ jobs: | |
node_modules | ||
key: "build-${{ github.sha }}" | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: Install viper | ||
shell: bash | ||
run: pip install vyper==0.3.10 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
|
@@ -125,12 +143,12 @@ jobs: | |
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: Install viper | ||
shell: bash | ||
run: pip install vyper==0.3.0 | ||
run: pip install vyper==0.3.10 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
@@ -171,12 +189,12 @@ jobs: | |
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: Install viper | ||
shell: bash | ||
run: pip install vyper==0.3.0 | ||
run: pip install vyper==0.3.10 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
@@ -205,6 +223,15 @@ jobs: | |
with: | ||
submodules: "recursive" | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: Install viper | ||
shell: bash | ||
run: pip install vyper==0.3.10 | ||
|
||
- name: "Install Foundry" | ||
uses: "foundry-rs/foundry-toolchain@v1" | ||
|
||
|
@@ -256,16 +283,26 @@ jobs: | |
with: | ||
version: nightly | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' # caching pip dependencies | ||
|
||
- name: Install viper | ||
shell: bash | ||
run: pip install vyper==0.3.10 | ||
|
||
- name: Compile foundry | ||
run: forge build --build-info --force | ||
run: forge build --build-info --skip */test/** */scripts/** --force | ||
|
||
- name: "Run Slither analysis" | ||
uses: "crytic/[email protected].0" | ||
uses: "crytic/[email protected].2" | ||
id: slither | ||
with: | ||
fail-on: "none" | ||
sarif: "results.sarif" | ||
ignore-compile: true | ||
slither-version: "0.10.1" | ||
|
||
- name: "Upload SARIF file to GitHub code scanning" | ||
uses: "github/codeql-action/upload-sarif@v2" | ||
|
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
Submodule forge-std
updated
34 files
+1 −0 | .gitattributes | |
+6 −12 | .github/workflows/ci.yml | |
+3 −1 | .github/workflows/sync.yml | |
+0 −3 | .gitmodules | |
+1 −1 | README.md | |
+3 −3 | foundry.toml | |
+0 −1 | lib/ds-test | |
+1 −1 | package.json | |
+635 −0 | scripts/vm.py | |
+518 −225 | src/StdAssertions.sol | |
+17 −9 | src/StdChains.sol | |
+9 −3 | src/StdInvariant.sol | |
+7 −11 | src/StdJson.sol | |
+201 −106 | src/StdStorage.sol | |
+179 −0 | src/StdToml.sol | |
+1 −1 | src/StdUtils.sol | |
+4 −4 | src/Test.sol | |
+1,390 −463 | src/Vm.sol | |
+51 −33 | src/mocks/MockERC20.sol | |
+46 −36 | src/mocks/MockERC721.sol | |
+39 −909 | test/StdAssertions.t.sol | |
+33 −26 | test/StdChains.t.sol | |
+19 −11 | test/StdCheats.t.sol | |
+3 −1 | test/StdError.t.sol | |
+49 −0 | test/StdJson.t.sol | |
+8 −8 | test/StdMath.t.sol | |
+159 −11 | test/StdStorage.t.sol | |
+49 −0 | test/StdToml.t.sol | |
+20 −20 | test/StdUtils.t.sol | |
+3 −3 | test/Vm.t.sol | |
+8 −0 | test/fixtures/test.json | |
+6 −0 | test/fixtures/test.toml | |
+1 −1 | test/mocks/MockERC20.t.sol | |
+1 −1 | test/mocks/MockERC721.t.sol |
Submodule utils
updated
8 files
+12 −0 | helpers/common.sh | |
+1 −1 | lib/forge-std | |
+2 −2 | package.json | |
+319 −236 | src/CommonUtils.sol | |
+7 −1 | src/Constants.sol | |
+10 −10 | utils/contractAddress.js | |
+37 −0 | utils/getConnectedChains.js | |
+161 −6 | yarn.lock |
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.