diff --git a/.github/workflows/foundry-report.yml b/.github/workflows/foundry-report.yml index ca9521d..598237a 100644 --- a/.github/workflows/foundry-report.yml +++ b/.github/workflows/foundry-report.yml @@ -27,9 +27,8 @@ jobs: uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # pin@v4 with: path: cache - key: ${{ runner.os }}-bgd-foundry-${{ hashFiles('safe.csv') }}-${{ github.sha }} + key: ${{ runner.os }}-bgd-foundry-${{ github.sha }} restore-keys: | - ${{ runner.os }}-bgd-foundry-${{ hashFiles('safe.csv') }}- ${{ runner.os }}-bgd-foundry- ${{ runner.os }}- @@ -66,4 +65,4 @@ jobs: uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # pin@v4 with: path: cache - key: ${{ runner.os }}-bgd-foundry-${{ hashFiles('safe.csv') }}-${{ github.sha }} + key: ${{ runner.os }}-bgd-foundry-${{ github.sha }} diff --git a/test/ChainHelperTest.t.sol b/test/ChainHelperTest.t.sol new file mode 100644 index 0000000..0d6ce7b --- /dev/null +++ b/test/ChainHelperTest.t.sol @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import 'forge-std/Test.sol'; +import {ChainHelpers} from '../src/contracts/utils/ChainHelpers.sol'; + +contract TestChainHelpers is Test { + function test_selectChain_shouldRevert() external { + vm.expectRevert(); + ChainHelpers.selectChain(vm, 0); + } +}