diff --git a/.github/workflows/slither.yaml b/.github/workflows/slither.yaml index c650905c..e018c1d7 100644 --- a/.github/workflows/slither.yaml +++ b/.github/workflows/slither.yaml @@ -24,4 +24,9 @@ jobs: run: npm ci - name: Run Slither - uses: crytic/slither-action@v0.3.0 + uses: crytic/slither-action@v0.3.1 + env: + NO_OVERRIDES: true + with: + node-version: 18 + slither-version: 0.10.1 diff --git a/hardhat.config.js b/hardhat.config.js index 49296ec8..3702a912 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -42,10 +42,12 @@ module.exports = { solidity: { compilers: [compilerSettings], // Fix the Proxy bytecodes - overrides: { - 'contracts/proxies/Proxy.sol': compilerSettings, - 'contracts/proxies/TokenManagerProxy.sol': compilerSettings, - }, + overrides: process.env.NO_OVERRIDES + ? {} + : { + 'contracts/proxies/Proxy.sol': compilerSettings, + 'contracts/proxies/TokenManagerProxy.sol': compilerSettings, + }, }, defaultNetwork: 'hardhat', networks,