-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1450 thor client fix circular dependencies #1514
Conversation
Hi @lucanicoladebiasi , I think we should modify the script at The script is |
I modified the script as
and it doesn't complain anymore. |
Nice! If we have 0 we could just run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, now looks much nicer, thanks!
Left some minor suggestions, regarding the constructor
we could do the same also for nodes-module
and transactions-module
since looks like all args are readonly
👍
Description
The code refactors the
ThorClient
to avoid circular dependencies among the modules composing the Thor client.Fixes #1450
Type of change
Please delete options that are not relevant.
ThorClient
structure is shown at https://github.com/vechain/vechain-sdk-js/blob/1450-thor-client-fix-circular-dependencies/docs/diagrams/architecture/thor-client.mdHow Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
yarn test:examples
yarn test:solo
yarn test:unit
Test Configuration:
Checklist: