Joystream / Joystream/joystream
Bug: Getting block hash
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Calling api.query.system.blockHash using the API or the pionner web UI (https://testnet.joystream.org/#/chainstate)
seem to return invalid value for the BlockNumber 1

Code example:
let hash = await api.query.system.blockHash(1);
console.log(hash);
Output:
0x0000000000000000000000000000000000000000000000000000000000000000
┆Issue is synchronized with this Asana task by Unito
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report identifies api.query.system.blockHash(1) and the Pioneer web UI as entry points. Start by reproducing the zero-hash result for block 1 through both paths and trace the corresponding chain-state query; done means the query returns the valid block hash instead of the reported zero value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100