Skip to content

Normalize empty, not found, null outputs #574

@hugomrdias

Description

@hugomrdias

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().

  • pdp verifier
  • endorsements
  • pay
  • session-keys
  • sp registry
  • fwss

/cc @rvagg

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🎉 Done

Relationships

None yet

Development

No branches or pull requests

Issue actions