How Do Solidity QA Engineers Validate CEI Patterns in Real Audit Workflows When Storage Updates and Calls Overlap?
CEI (Checks-Effects-Interactions) gets mentioned in almost every audit report, yet actually proving that a contract follows it feels unclear in day-to-day QA work. During a Layer-1 DeFi audit shadow I did, two state variables were updated after an external call, and all tests still passed.
That left me confused about whether our pipeline was even catching CEI violations properly. How do you practically test CEI patterns inside Solidity QA workflows when storage updates, emitted events, and cross-contract interactions all overlap?
Are there real methods or habits you use before the auditors point it out?