FilOzone / FilOzone/filecoin-services

Fix forge lint "custom-errors"

Open
#557 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Solidity
Stars
8
Forks
25
Avg merge
14h 38m
Merged PRs (30d)
12

Description

Followup for #555

We prefer typed `error` over `Error(string)` because using strings significantly increases codesize. We also want to use such errors instead of naked reverts to provide informative feedback to help with debugging such errors.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the follow-up context in issue #555, then run Forge's custom-errors lint to identify the affected contracts and reverts. Done means the reported violations use typed errors instead of Error(string) or naked reverts, while preserving informative debugging feedback and passing the lint.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.