Skip to content

0.11.0

Latest
Compare
Choose a tag to compare
@smonicas smonicas released this 03 Feb 20:13
a77738f

This release adds support for the latest Solidity features like using a custom error in a require statement and transient storage, adds 7 new detectors, 2 new printers and various other improvements.
NOTE: There are breaking changes to some API in particular the variables properties in the Contract class (see #2588) and the *Calls API (see #2555).

The new detectors are:

  • pyth-deprecated-functions: Detect Pyth deprecated functions
  • pyth-unchecked-confidence: Detect when the confidence level of a Pyth price is not checked
  • pyth-unchecked-publishtime: Detect when the publishTime of a Pyth price is not checked
  • chronicle-unchecked-price: Detect when Chronicle price is not checked
  • gelato-unprotected-randomness: Call to _requestRandomness within an unprotected function
  • chainlink-feed-registry: Detect when chainlink feed registry is used
  • optimism-deprecation: Detect when deprecated Optimism predeploy or function is used

The new printers are:

  • entry-points: Print all the state-changing entry point functions of the contracts
  • cheatcode: Print the usage of (Foundry) cheatcodes in the code

The following is an example of the entry-points printer for Uniswap v4 core.

Screenshot 2025-02-03 at 20 44 15

We thank all of our external contributors for their effort!

What's Changed

New Contributors

Full Changelog: 0.10.4...0.11.0