---
id: 2041
title: "State Machine Testing with Echidna"
source_domain: blog.trailofbits.com
source_url: "https://blog.trailofbits.com/2018/05/03/state-machine-testing-with-echidna/"
published_at: "2018-05-03T10:50:48Z"
tags: ["smart-contracts", "fuzzing", "ethereum", "solidity", "evm", "echidna", "property-based-testing", "state-machine-testing"]
phying_url: "https://phying.com/item/2041"
lang: en
---

# State Machine Testing with Echidna

## Summary

A Trail of Bits engineer adapts Hedgehog-style state machine testing to EVM contracts with Echidna, showing how random call sequences can verify invariants and surface logic bugs in Solidity code.

## Intelligence Metadata

- **Sources:** blog.trailofbits.com
- **Published:** 2018-05-03T10:50:48Z
- **Original:** https://blog.trailofbits.com/2018/05/03/state-machine-testing-with-echidna/
- **Phying News:** https://phying.com/item/2041
