-
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
Docker geth integration and cleanup #108
Conversation
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; I'm outside of this discussion, but at a glance, it looks good.
test/integration/WalletOperations.js
Outdated
it('Should create a user wallet', async function() { | ||
await auxiliaryWeb3.eth.accounts.wallet.create(1); |
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.
what s the difference with await auxiliaryWeb3.eth.accounts.wallet.create(3);
?
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.
@benjaminbollen , Thank you.
Used await auxiliaryWeb3.eth.accounts.wallet.create(3);
to create 3 accounts.
Committing the fix.
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.
I don't understand the system when we seem to call await auxiliaryWeb3.eth.accounts.wallet.create
at various places throughout the tests;
this may be less important, and can be addressed later.
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.
@benjaminbollen
By default, Docker geth provides only 3-accounts.
So, to use more accounts,we need to create it dynamically.
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.
ok!
…ad of creating it one-by-one
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
PR contains :-
docker.js
anddocker-compose.yml
to facilitate use of geth docker.helper.js
andWeb3WalletHelper.js
.