Skip to content

Commit

Permalink
adding docs for running coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
brossetti1 committed Oct 3, 2022
1 parent 3649301 commit c12b07e
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,38 @@ the dao contracts and the Safe treasury and one to use an existing Safe treasury
- ./tasks - hard hat cli tasks
- ./tests - test files

----

## Coverage

currently, coverage is turned off for test efficiency purposes. In order to switch coverage on, add `yul` to the hardhat config:

```
{
...
compilers: [
{
version: "0.8.7",
settings: {
optimizer: {
enabled: true,
runs: 200,
details: {
yul: true
}
},
},
}
]
}
```

then run the coverage command:

```
npx hardhat coverage
```

----
## Privileged roles
- Shamans - are specific addresses that have more granular control
Expand Down Expand Up @@ -137,4 +169,4 @@ beta release of the factories. These factories may change until we get to final
- baalSingleton: 0xDb3e9Ded9843358fbbe758c4e73cCfEb9061d4Ed
- Transaction Hash: 0x703acad6f005fa793e9041acc711a3d1ac4c8b632898c08598552d024687bc06
- Factory Contract Address: **0x3Bd3fDf6db732F8548638Cd35B98d624c77FB351**
- Tribute Minion: 0x9391b6A7c55832a6802484dE054d81496D56545A
- Tribute Minion: 0x9391b6A7c55832a6802484dE054d81496D56545A

0 comments on commit c12b07e

Please sign in to comment.