FISCO-BCOS / FISCO-BCOS/web3sdk
TransactionReceipt.getBlockNumber()解析有错
Open
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
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