You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
storageRead was intended to make the non-breaking changes for network layer. Any kind of formatting you need for blocks for the APIs, should be done in API module itself. So directly use storage.entities.Block.get, and format the response how the API is required.
Action can be removed and API module can directly perform the same logic itself instead of using the channel to call this action.
Expected behavior
storageRead
was intended to make the non-breaking changes for network layer. Any kind of formatting you need for blocks for the APIs, should be done in API module itself. So directly usestorage.entities.Block.get
, and format the response how the API is required.Action can be removed and API module can directly perform the same logic itself instead of using the channel to call this action.
Discussed here:
https://github.com/LiskHQ/lisk/pull/2982/files/4667c5aa2129a7b604f2bb45220e62d5c0bee508#r260461947
Actual behavior
storageRead
is being used by Chain actions that are called by API module.Steps to reproduce
Which version(s) does this affect? (Environment, OS, etc...)
The text was updated successfully, but these errors were encountered: