From e41151ff33eed84d2b34315baa9ae5c1f4fd9024 Mon Sep 17 00:00:00 2001 From: Kiryl Yermakou Date: Tue, 9 Apr 2024 19:33:44 -0400 Subject: [PATCH 1/2] ci(slither): pinning the version --- .github/workflows/slither.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 From e6bd35c65c3bd138799d521b4295ce2aac903f4a Mon Sep 17 00:00:00 2001 From: Kiryl Yermakou Date: Tue, 9 Apr 2024 19:49:12 -0400 Subject: [PATCH 2/2] ci(hardhat): adding no overrides --- hardhat.config.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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,