Skip to content

Comments

Pioneer: Working groups block link fix#1150

Merged
mnaamani merged 1 commit intoJoystream:masterfrom
Lezek123:working-groups-block-query-fix
Aug 11, 2020
Merged

Pioneer: Working groups block link fix#1150
mnaamani merged 1 commit intoJoystream:masterfrom
Lezek123:working-groups-block-query-fix

Conversation

@Lezek123
Copy link
Contributor

Fixes links in working groups opportinity boxes by using api.rpc.chain.getBlockHash(height) instead of api.query.system.blockHash(height) to fetch block hash in joy-roles transport (the latter doesn't work for older blocks)

@Lezek123 Lezek123 requested a review from mnaamani August 11, 2020 06:42
@mnaamani
Copy link
Member

Test against our public endpoint (archival node)

Screen Shot 2020-08-11 at 11 33 15 AM

We can now see the block hash correctly in the link at the bottom and navigating works correctly.

@mnaamani mnaamani merged commit c804030 into Joystream:master Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants