Change type of block number and timestamp to uint64_t
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
- 领域
- blockchain
调研方向
Start by reading the TODOs in test/blockchaintest/blockchaintest_runner.cpp and test/statetest/statetest_loader.cpp, then inspect EVMC's evmc_tx_context, which the issue says must also change. Trace how block numbers and timestamps use their current type across these locations. Done means they use uint64_t consistently and the relevant tests accept timestamps that do not fit in int64_t.
由索引模型根据 Issue 内容生成。
描述
Currently it's int64_t, but some tests have timestamps that fit only in uint64_t.
Related TODOs:
https://github.com/ethereum/evmone/blob/a9d5bfe1791c4577a9c8a17a1790ed81fe4b3f78/test/blockchaintest/blockchaintest_runner.cpp#L148
https://github.com/ethereum/evmone/blob/68714ad3d5717d7bb8083e1365aecc62e179d51b/test/statetest/statetest_loader.cpp#L53
This requires changes in EVMC (evmc_tx_context)
- 主要语言
- C++
- 星标
- 979
- 派生
- 340
- 平均合并
- 12 小时 16 分钟
- 30 天内合并 PR
- 25
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ipsilon/evmone 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 56/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 57/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 12/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
相似的 Issue
-
audit-reference-check
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
schrodinger/pymol-open-source#532 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 83/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
xlnt-community/xlnt#174 ·