Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
montyly committed Oct 13, 2023
1 parent 3faf1bf commit dea0483
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slither/printers/guidance/echidna.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,18 @@ def _extract_constant_functions(contracts) -> Dict[str, List[str]]:
return ret


def _extract_assert(slither: SlitherCore) -> Dict[str, Dict[str, List[Dict]]]:
def _extract_assert(contracts: List[Contract]) -> Dict[str, Dict[str, List[Dict]]]:

Check failure on line 128 in slither/printers/guidance/echidna.py

View workflow job for this annotation

GitHub Actions / Lint Code Base

E0602: Undefined variable 'Contract' (undefined-variable)
"""
Return the list of contract -> function name -> List(source mapping of the assert))
Args:
slither:
contracts: list of contracts
Returns:
"""
ret: Dict[str, Dict[str, List[Dict]]] = {}
for contract in slither.contracts:
for contract in contracts:
functions_using_assert: Dict[str, List[Dict]] = defaultdict(list)
for f in contract.functions_entry_points:
for node in f.all_nodes():
Expand Down

0 comments on commit dea0483

Please sign in to comment.