Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Lisk API client fails on getting blocks #7465

Closed
Tracked by #7210
ishantiw opened this issue Aug 31, 2022 · 0 comments · Fixed by #7468
Closed
Tracked by #7210

Lisk API client fails on getting blocks #7465

ishantiw opened this issue Aug 31, 2022 · 0 comments · Fixed by #7468

Comments

@ishantiw
Copy link
Contributor

Expected behavior

Lisk API Client should be able to get blocks and transactions

Actual behavior

When we get block by ID then it throws error because getAssetSchema is getting schema using moduleID instead of module
https://github.com/LiskHQ/lisk-sdk/blob/c7d572296ccb9f89f8bf21af64230ecaaedf8a84/elements/lisk-api-client/src/codec.ts#L58

Steps to reproduce

  • Run /examples/dpos-mainchain/bin/run start --api-ipc
  • In another terminal run /examples/dpos-mainchain/bin/run block:get ba690c03d637b20a309d0d80281b3dbda5b55680e95894d72c59eb0f3e899d60

Which version(s) does this affect? (Environment, OS, etc...)

6.0.0-alpha

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants