Incorrect gas calculations for `CALL*` gas stipend
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- blockchain
调研方向
从 util/gas.ts 中大约第 195 行的调用 gas 计算器开始。将网站的 CALL* gas 结果与 evmone 进行比较,然后验证外部可观察到的调用成本不再包含 2300 gas 的补贴,并确认计算器报告了修正后的值。
由索引模型根据 Issue 内容生成。
描述
The gas calculator on the site for CALL* family opcodes is not correct; it subtracts the "gas stipend" cost from the total externally-observable cost of making the call. This means that the results of gas calculations for CALL* opcodes are 2300 lower than they should be (confirmed by testing against evmone).
I believe the fix should just be to delete this line from the call gas calculator; the stipend amount is only relevant when constructing the message to be sent to the callee account, not to the external gas calculations for the whole call.
- 主要语言
- TypeScript
- 星标
- 833
- 派生
- 197
- 平均合并
- 5 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
duneanalytics/evm.codes 的其他 Issue
-
improvement
难度 2/5 1-3 小时 新手友好度 65/100
duneanalytics/evm.codes#184 ·
-
难度 3/5 1-2 天 新手友好度 68/100
duneanalytics/evm.codes#416 ·
-
## PR Summary未关闭
难度 3/5 1-2 天 新手友好度 35/100
duneanalytics/evm.codes#413 ·
-
难度 3/5 1-2 天 新手友好度 48/100
duneanalytics/evm.codes#411 ·
-
难度 5/5 一周以上 新手友好度 25/100
duneanalytics/evm.codes#407 ·
查看 duneanalytics/evm.codes 的全部 Issue
相似的 Issue
-
good first issue help wanted
难度 1/5 1 小时以内 新手友好度 92/100
Mikiyas-Meles-Assefa/opensourcebook#154 · 1 条评论 ·
维护者通常 1 天内回复
-
rowbinary: typeStringToReader keeps Variant members in text order, so Variant(Int64, Float64) reads 7 as 3.5e-323可能已有人在做 @rwits08 今天认领。 未关闭bug data-types
难度 2/5 1-3 小时 新手友好度 88/100
ClickHouse/clickhouse-js#1293 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
sidebandstudio/clawtrate#1863 ·
维护者通常 1 天内回复