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.
### What was the problem?
This PR resolves#8000
### How was it solved?
Defined elements property set to the exports of `@liskhq/lisk-client` on
`REPLServer.context` for console command.
### How was it tested?
Implemented unit tests.
Execute `console` command; `./examples/pos-mainchain/bin/run console`
and access `lisk.{desired module}`.
An example would be to execute
`lisk.cryptography.utils.hash(Buffer.from('space force'))`
Expected behavior
When we run
lisk console
command it should enter REPL and user should be able to access exported objects fromlisk-client
Actual behavior
When we run
lisk console
command it enters REPL but is not able access any object exported from lisk-client like cryptography, apiClient, etcSteps to reproduce
Run
lisk console
and try to access any object such ascryptography
Which version(s) does this affect? (Environment, OS, etc...)
6.0.0-alpha.10
The text was updated successfully, but these errors were encountered: