FISCO-BCOS / FISCO-BCOS/web3sdk

TransactionReceipt.getBlockNumber()解析有错

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
pending
Dominant language
Java
Stars
122
Forks
81
PR merge metrics
No merged PRs in 30d

Description

源码:
public BigInteger getBlockNumber() {
return Numeric.decodeQuantity(blockNumber);
}
实际上blockNumber是整数
个人用new BigInteger(blockNumber)就可以

Contributor guide

Open the contributing guide

Research direction

Start at TransactionReceipt.getBlockNumber(), the method shown in the issue, and inspect how blockNumber is represented before Numeric.decodeQuantity is called. Done means integer block numbers are parsed correctly and the relevant behavior is covered by the project’s existing tests, if available.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.