CodeChain-io / CodeChain-io/codechain-indexer

The asset type field is duplicated in the snapshot API

未关闭
#328 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
21
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

In the result of snapshot API, all rows have the same asset scheme information. Let's remove the duplication.

When indexer queries the snapshot in the DB it joins the `AssetSchemes` table. Let's split the query.

贡献指南

这个仓库没有索引到贡献指南

调研方向

定位连接 AssetSchemes 表的 snapshot API 查询,然后检查连接后的 asset scheme 数据是如何包含在每个结果行中的。拆分数据库查询,使共享的 asset scheme 信息不会在每一行中重复。确认 snapshot API 的结果仍然包含 asset scheme 信息,且不会在每行中重复。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
api, database
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。