-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5083ba6
commit 702d2a9
Showing
4 changed files
with
67 additions
and
42 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,66 @@ | ||
name: ci | ||
|
||
on: [push] | ||
|
||
jobs: | ||
tests: | ||
name: Foundry Testing | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup Foundry Toolchain | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Install Dependencies | ||
run: forge install | ||
|
||
- name: Run Size Check | ||
run: forge build --sizes | ||
env: | ||
ETH_FORK_URL: ${{ secrets.ETH_FORK_URL }} | ||
BSC_FORK_URL: ${{ secrets.BSC_FORK_URL }} | ||
POLYGON_FORK_URL: ${{ secrets.POLYGON_FORK_URL }} | ||
ARB_FORK_URL: ${{ secrets.ARB_FORK_URL }} | ||
|
||
- name: Run Tests | ||
run: forge test -vvv | ||
env: | ||
ETH_FORK_URL: ${{ secrets.ETH_FORK_URL }} | ||
BSC_FORK_URL: ${{ secrets.BSC_FORK_URL }} | ||
POLYGON_FORK_URL: ${{ secrets.POLYGON_FORK_URL }} | ||
ARB_FORK_URL: ${{ secrets.ARB_FORK_URL }} | ||
|
||
- name: Run Coverage | ||
run: forge coverage | ||
env: | ||
ETH_FORK_URL: ${{ secrets.ETH_FORK_URL }} | ||
BSC_FORK_URL: ${{ secrets.BSC_FORK_URL }} | ||
POLYGON_FORK_URL: ${{ secrets.POLYGON_FORK_URL }} | ||
ARB_FORK_URL: ${{ secrets.ARB_FORK_URL }} | ||
|
||
slither: | ||
name: Slither Run | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Build the contracts | ||
run: forge build --build-info | ||
|
||
- name: Run Slither | ||
uses: crytic/slither-action@v0.3.0 | ||
with: | ||
ignore-compile: true | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,4 @@ | ||
[profile.default] | ||
src = "src" | ||
out = "out" | ||
libs = ["lib"] | ||
solc = "0.8.19" | ||
|
||
optimizer = true | ||
runs = 100 | ||
viaIR = true | ||
|
||
# See more config options https://github.com/foundry-rs/foundry/tree/master/config |
Submodule pigeon
updated
12 files
+27 −27 | .gas-snapshot | |
+0 −3 | .gitmodules | |
+0 −3 | foundry.toml | |
+0 −1 | lib/solmate | |
+0 −1 | remappings.txt | |
+55 −25 | src/axelar/AxelarHelper.sol | |
+1 −1 | src/celer/CelerHelper.sol | |
+1 −3 | src/hyperlane/HyperlaneHelper.sol | |
+41 −22 | src/layerzero/lib/LZPacket.sol | |
+15 −15 | src/wormhole/WormholeHelper.sol | |
+6 −14 | test/Axelar.t.sol | |
+9 −9 | test/Stargate.t.sol |