Solidity interview question: external call risks — how do you structure the answer (reentrancy, revert/DoS, gas griefing, try/catch)?
In my last Solidity developer interview, I got asked something like: “What are the risks of making an external call in a smart contract, and how would you mitigate them?”
I said the usual (reentrancy, gas issues, relying on another contract), but later I felt my answer was still a bit “checklist-y”.
If you’ve handled this in interviews: how do you explain external call risks in a way that sounds like real engineering judgment — not just buzzwords?
Do you explicitly talk about cases like external call reverts causing DoS, gas griefing, or the “control flow” problem (you hand execution to unknown code)? And do you mention Checks-Effects-Interactions, ReentrancyGuard, pull over push payments, or try/catch for external calls (>=0.6) as your mitigation structure?
Basically: what’s your go-to answer framework that actually stands out in Solidity interviews?