Skip to content

Commit

Permalink
ci: add snapshot and remove template script run from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTimepunk committed Sep 13, 2023
1 parent 134ec23 commit 5948613
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 63 deletions.
60 changes: 30 additions & 30 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
AxelarHelperTest:testCustomOrderingAxelar() (gas: 341231)
AxelarHelperTest:testFancyAxelar() (gas: 234946)
AxelarHelperTest:testCustomOrderingAxelar() (gas: 341240)
AxelarHelperTest:testFancyAxelar() (gas: 234955)
AxelarHelperTest:testMultiDstAxelar() (gas: 390512)
AxelarHelperTest:testSimpleAxelar() (gas: 189522)
CelerHelperTest:testCustomOrderingCeler() (gas: 108322)
CelerHelperTest:testFancyCeler() (gas: 117841)
CelerHelperTest:testMultiDstCeler() (gas: 151149)
CelerHelperTest:testSimpleCeler() (gas: 71938)
CelerHelperTest:testSimpleCelerWithEstimates() (gas: 72328)
HyperlaneHelperTest:testCustomOrderingHL() (gas: 145179)
HyperlaneHelperTest:testFancyHL() (gas: 146237)
HyperlaneHelperTest:testMultiDstHL() (gas: 193359)
HyperlaneHelperTest:testSimpleHL() (gas: 98351)
HyperlaneHelperTest:testSimpleHLWithEstimates() (gas: 98836)
LayerZeroHelperTest:testCustomOrderingLZ() (gas: 339820)
LayerZeroHelperTest:testFancyLZ() (gas: 295097)
LayerZeroHelperTest:testMultiDstLZ() (gas: 475776)
LayerZeroHelperTest:testSimpleLZ() (gas: 245549)
LayerZeroHelperTest:testSimpleLZWithEstimates() (gas: 246017)
StargateHelperTest:testCustomOrderingSG() (gas: 797976)
StargateHelperTest:testFancySG() (gas: 589535)
StargateHelperTest:testSimpleSG() (gas: 537570)
StargateHelperTest:testSimpleSGWithEstimates() (gas: 538082)
WormholeAutomaticRelayerHelperTest:testCustomOrderingWormhole() (gas: 287323)
WormholeAutomaticRelayerHelperTest:testFancyWormhole() (gas: 226022)
WormholeAutomaticRelayerHelperTest:testMultiDstWormhole() (gas: 349780)
WormholeAutomaticRelayerHelperTest:testSimpleWormhole() (gas: 179638)
WormholeSpecializedRelayerHelperTest:testCustomOrderingWormhole() (gas: 595375)
WormholeSpecializedRelayerHelperTest:testFancyWormhole() (gas: 330260)
WormholeSpecializedRelayerHelperTest:testMultiDstWormhole() (gas: 631627)
WormholeSpecializedRelayerHelperTest:testSimpleWormhole() (gas: 333052)
AxelarHelperTest:testSimpleAxelar() (gas: 189531)
CelerHelperTest:testCustomOrderingCeler() (gas: 108266)
CelerHelperTest:testFancyCeler() (gas: 122536)
CelerHelperTest:testMultiDstCeler() (gas: 151193)
CelerHelperTest:testSimpleCeler() (gas: 71872)
CelerHelperTest:testSimpleCelerWithEstimates() (gas: 76878)
HyperlaneHelperTest:testCustomOrderingHL() (gas: 145211)
HyperlaneHelperTest:testFancyHL() (gas: 146259)
HyperlaneHelperTest:testMultiDstHL() (gas: 193293)
HyperlaneHelperTest:testSimpleHL() (gas: 98262)
HyperlaneHelperTest:testSimpleHLWithEstimates() (gas: 98880)
LayerZeroHelperTest:testCustomOrderingLZ() (gas: 339755)
LayerZeroHelperTest:testFancyLZ() (gas: 295099)
LayerZeroHelperTest:testMultiDstLZ() (gas: 475768)
LayerZeroHelperTest:testSimpleLZ() (gas: 245432)
LayerZeroHelperTest:testSimpleLZWithEstimates() (gas: 309937)
StargateHelperTest:testCustomOrderingSG() (gas: 798098)
StargateHelperTest:testFancySG() (gas: 589613)
StargateHelperTest:testSimpleSG() (gas: 537621)
StargateHelperTest:testSimpleSGWithEstimates() (gas: 603301)
WormholeAutomaticRelayerHelperTest:testCustomOrderingWormhole() (gas: 287327)
WormholeAutomaticRelayerHelperTest:testFancyWormhole() (gas: 226030)
WormholeAutomaticRelayerHelperTest:testMultiDstWormhole() (gas: 349810)
WormholeAutomaticRelayerHelperTest:testSimpleWormhole() (gas: 179646)
WormholeSpecializedRelayerHelperTest:testCustomOrderingWormhole() (gas: 595327)
WormholeSpecializedRelayerHelperTest:testFancyWormhole() (gas: 330251)
WormholeSpecializedRelayerHelperTest:testMultiDstWormhole() (gas: 631640)
WormholeSpecializedRelayerHelperTest:testSimpleWormhole() (gas: 333043)
34 changes: 1 addition & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,4 @@ jobs:
env:
ETH_MAINNET_RPC_URL: ${{ secrets.ETH_MAINNET_RPC_URL }}
POLYGON_MAINNET_RPC_URL: ${{ secrets.POLYGON_MAINNET_RPC_URL }}
ARBITRUM_MAINNET_RPC_URL: ${{ secrets.ARBITRUM_MAINNET_RPC_URL }}

# slither:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# - name: slither
# uses: crytic/[email protected]

scripts:
strategy:
fail-fast: true
name: Run Unix Scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: dependencies
run: forge build --sizes
continue-on-error: true
- name: Run scripts
run: |
ls -lsa
ls script/
for file in script/*; do
forge script $file
done
ARBITRUM_MAINNET_RPC_URL: ${{ secrets.ARBITRUM_MAINNET_RPC_URL }}

0 comments on commit 5948613

Please sign in to comment.