Skip to content

Commit

Permalink
ci(slither): pinning the version (#260)
Browse files Browse the repository at this point in the history
* ci(slither): pinning the version

* ci(hardhat): adding no overrides
  • Loading branch information
re1ro authored Apr 10, 2024
1 parent 672b48d commit e2cb43c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/slither.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ jobs:
run: npm ci

- name: Run Slither
uses: crytic/[email protected]
uses: crytic/[email protected]
env:
NO_OVERRIDES: true
with:
node-version: 18
slither-version: 0.10.1
10 changes: 6 additions & 4 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e2cb43c

Please sign in to comment.