## PR Summary
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- typescript
- 领域
- api, blockchain
调研方向
该 payload 未提及文件或测试。首先定位 Etherscan 集成,并检查其 endpoint、查询参数、API key 以及解析错误的处理方式。完成的标准是:请求使用带有可配置 chain ID 的 v2 API,缺少 key 时能够安全处理,并且 Etherscan 的错误详情仍然可见。
由索引模型根据 Issue 内容生成。
描述
PR Summary
Medium Risk
Changes how external Etherscan requests are formed (endpoint + required chainid), which can break contract-source fetching if env vars or query formatting are wrong; otherwise the change set is small.
Overview
Updates the Etherscan integration to call the mandatory v2 API endpoint (/v2/api) and includes a configurable chainid (via ETHERSCAN_CHAIN_ID, defaulting to 1) in all requests.
Refactors query construction to ensure all parameters are stringified and adds a safer default for missing APIKEY_ETHERSCAN. Improves etherscanParse failures by surfacing the underlying Etherscan error message/result in the thrown error string.
Written by Cursor Bugbot for commit 855cad55035b816e517c1dd47d39a67348dc8097. Configure here.
Originally posted by @cursor[bot] in https://github.com/duneanalytics/evm.codes/issues/398#issuecomment-3922130888
- 主要语言
- 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 ·
-
难度 3/5 1-2 天 新手友好度 48/100
duneanalytics/evm.codes#411 ·
-
难度 5/5 一周以上 新手友好度 25/100
duneanalytics/evm.codes#407 ·
-
SMOD description可能已有人在做 @yash251 于 9 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 35/100
duneanalytics/evm.codes#385 ·
查看 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 天内回复