Skip to content

Commit

Permalink
Transpile 7e2f66a
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 2, 2023
1 parent 6753832 commit 9d777df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- uses: actions/checkout@v3
- name: Set up environment
uses: ./.github/actions/setup
- uses: crytic/slither-action@v0.1.1
- uses: crytic/slither-action@v0.2.0

codespell:
if: github.repository != 'OpenZeppelin/openzeppelin-contracts-upgradeable'
Expand Down
3 changes: 3 additions & 0 deletions contracts/governance/TimelockControllerUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ contract TimelockControllerUpgradeable is Initializable, AccessControlUpgradeabl
*
* - the caller must have the 'executor' role.
*/
// This function can reenter, but it doesn't pose a risk because _afterCall checks that the proposal is pending,
// thus any modifications to the operation during reentrancy should be caught.
// slither-disable-next-line reentrancy-eth
function executeBatch(
address[] calldata targets,
uint256[] calldata values,
Expand Down
3 changes: 2 additions & 1 deletion slither.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"detectors_to_run": "reentrancy-eth,reentrancy-no-eth,reentrancy-unlimited-gas",
"filter_paths": "contracts/mocks"
"filter_paths": "contracts/mocks",
"compile_force_framework": "hardhat"
}

0 comments on commit 9d777df

Please sign in to comment.