Reusable properties for Ethereum contracts
Summary: Trail of Bits released 168 pre-built properties for property-based fuzzing, usable to guide its Echidna smart contract fuzzing tool or directly through unit tests. The properties cover compliance with common ERC token interfaces, generically testable security properties, and fixed point math operations, including tests for the ABDKMath64x64 library, the ERC-20 token standard, and the ERC-4626 tokenized vaults standard.
Why it matters: While creating and testing these properties, Trail of Bits found a bug in the ABDKMath64x64 library: for a specific range of inputs to the divuu function, an assertion could be triggered in the library.
Read the original at Trail of Bits Blog ↗