Skip to content

Contracts: use require with custom errors outside KlerosCore #1925

@jaybuidl

Description

@jaybuidl

Currently KlerosCore is using custom errors without require to avoid hitting the contract size limit.

Custom errors were not adopted in other parts of the code partly due to the inverted logic. But with the recent support for require with custom errors, the logic can remain the same.

Solidity feature

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions