FISCO-BCOS / FISCO-BCOS/java-sdk

事件解析漏了indexed 字段

Open
#353 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
58
Forks
62
PR merge metrics
No merged PRs in 30d

Description

事件的indexed字段未解析,只解析了非indexed字段

如果要解析indexed字段,需要从Log的topics字段取数据:
- topics[0]代表事件topic本身
- topics[1]对应第一个indexed字段,topics[2]对应第二个indexed字段,以此类推

非indexed字段从Log的data字段解析即可

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the event and log parsing entry point in the Java SDK and tracing how topics and data are currently handled. Verify behavior with an event containing indexed and non-indexed fields; done means indexed values from topics after topics[0] and non-indexed values from data are both represented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.