interview-questionsintermediate8 min
Solidity interview: 20 questions
Storage, calls, and the things that actually break
- What is a storage collision in an upgradeable proxy?
- When does
delegatecallwrite to the caller? - How do you pull-pay versus push-pay, and why does it matter?
- What does
uncheckedforfeit? - Reentrancy: guards vs CEI vs read-only reentrancy.
tx.originversusmsg.sender.- Oracle manipulation in a two-block window.
- What is a dusty leftover approval?
- How do you fuzz a rounding error in a vault?
- When is
send/transferthe wrong tool? - Upgrade delays as a feature.
- Signature replay across chains.
- Storage packing and griefing.
- What does a good invariant test look like?
- How do you reason about MEV on a liquidation?
- Permit vs approve/permit2.
- Default visibility mistakes.
- What belongs in a constructor versus an initializer?
- How do you write a finding that a protocol engineer will fix?
- What will you refuse to ship?
Bring a repo, not a list of courses.