ethereum-optimism / design-docs

MIT License
26 stars 20 forks source link

Standardize Error Handling in Solidity #142

Closed ControlCplusControlV closed 4 weeks ago

ControlCplusControlV commented 4 weeks ago

Description

Initial draft of my design doc to standardize error messages inside of the Optimism smart contracts.

Tests

No tests needed

Additional context

Carried over from discord thread discussion, main concern of removing require entirely was within tests, but consensus was reached around replacing it with assertEq.

Metadata No Github Issues were made