No need for assembly for code hash
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 70/100
- Issue 类型
- 重构
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- solidity
- 领域
- blockchain
调研方向
此更改应放在 src/contracts/utils/address-utils.sol 中,目前该文件使用内联汇编读取代码哈希。找到该汇编代码块,并检查 Solidity 的 pragma,以了解项目所针对的编译器版本。将该代码块替换为 <address>.codehash 成员,它在链接的 Solidity 文档中有所说明。完成的标准是:文件可以在项目的工具链下编译通过,并且现有测试套件仍然全部通过。
由索引模型根据 Issue 内容生成。
描述
- 主要语言
- Solidity
- 星标
- 1k
- 派生
- 391
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fulldecent/erc721 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
fulldecent/erc721#299 ·
-
Bug Bounty Report: Security Issue in ERC-721 Reference Implementation可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 4/5 3-5 天 新手友好度 8/100
fulldecent/erc721#306 ·
-
难度 3/5 1-2 天 新手友好度 45/100
fulldecent/erc721#304 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
fulldecent/erc721#303 · 1 条评论 ·
-
Bug Bounty Report: remaining typos in natspec at 2.6.1 (wich/whitch/intefraces/suported/overriden)可能已有人在做 @Jah-yee 于 26 天前认领。 未关闭
难度 1/5 1-3 小时 新手友好度 25/100
fulldecent/erc721#301 · 1 条评论 ·
查看 fulldecent/erc721 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
-
txpool_inspect prints the sender instead of the recipient and the wrong price and units可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
NethermindEth/nethermind#15683 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
foundry-rs/starknet-foundry#4689 ·
维护者通常 7 天内回复
-
I4 neofs-storage S3 security U4
难度 2/5 1-3 小时 新手友好度 69/100
nspcc-dev/neofs-node#4280 ·
维护者通常 1 天内回复
-
integration revocation-registry test
难度 2/5 1-3 小时 新手友好度 78/100
cybermax4200/stellar-did-credit#1254 ·
维护者通常 1 天内回复