crytic/slither

Slither-log

Open

#797 opened on Mar 4, 2021

 (1 comment) (0 reactions) (0 assignees)Python (886 forks)batch import
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (4,769 stars)
PR merge metrics
 (Avg merge 54d 9h) (2 merged PRs in 30d)

Description

Create a tool for debugging hardhat project that

  • Add console.log at every function/modifier entry point, with the canonical name of the function, and the function parameters
  • Add console.log at every end of the function/modifier, with the canonical name of the function, and the return values

Potential flags

  • --only contract/function
  • --exclude contract/function
  • --force-patch patch the codebase directly (default behavior would probably to create a git patch)

Contributor guide