We need to normalize contract output for empty, not found states, behavior varies intra-contract and between contracts.
- do it in sdk ? core ?
- in sdk return
- throw NotFoundError
ref:
Also, require(condition, "error message") should be translated to if (!condition) revert CustomError().
/cc @rvagg