Skip to content

refactor: adopt require-with-custom-error style#30

Open
mfw78 wants to merge 1 commit into
docs/dual-path-architecturefrom
refactor/require-custom-errors
Open

refactor: adopt require-with-custom-error style#30
mfw78 wants to merge 1 commit into
docs/dual-path-architecturefrom
refactor/require-custom-errors

Conversation

@mfw78

@mfw78 mfw78 commented Jul 10, 2026

Copy link
Copy Markdown

Solidity >=0.8.27 supports require(condition, CustomError()) in the legacy pipeline; convert the remaining if (!(condition)) revert sites so preconditions read as preconditions. Bytecode-equivalent.

Part of #1.

Solidity >=0.8.27 supports require(condition, CustomError()) in the
legacy pipeline; convert the remaining if (!(condition)) revert sites
so preconditions read as preconditions. Bytecode-equivalent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant