Resolve forge lint "custom-errors"
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- solidity
- 领域
- blockchain
调研方向
首先运行针对 custom-errors 的 forge lint check,并检查每个报告的 Error(string) 或 naked revert。完成的标准是使用 typed errors 解决 lint 检查发现的问题,同时保持现有行为不变。
由索引模型根据 Issue 内容生成。
描述
We prefer to define typed errors rather than using Error(string) (also naked reverts) because this reduces codesize.
- 主要语言
- Solidity
- 星标
- 20
- 派生
- 18
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FilOzone/pdp 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
-
Release process improvement ideas/observations from pdp v3.5.0可能重新可做 @BigLep 于 81 天前认领,目前没有进行中的 PR。 未关闭
-
难度 4/5 3-5 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
难度 5/5 一周以上 新手友好度 28/100
相似的 Issue
-
Log filters reject `"fromBlock": null` (and `toBlock`/`blockHash`) instead of treating it as unset未关闭L1 rpc-api
难度 2/5 1-3 小时 新手友好度 78/100
lambdaclass/ethrex#7530 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 91/100
维护者通常 1 天内回复
-
[BUG]: Oracle with rewardBps above 1e5 can never accept a funded price submission可能已有人在做 @kansalakshat 于 1 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 65/100
StabilityNexus/OrbOracle-Solidity#27 · 1 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100