-
Notifications
You must be signed in to change notification settings - Fork 98
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
Simplify local boot and enable multi node #1751
Conversation
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Codecov Report
@@ Coverage Diff @@
## develop #1751 +/- ##
=======================================
Coverage 97.7% 97.7%
=======================================
Files 102 102
Lines 2096 2096
Branches 93 93
=======================================
Hits 2048 2048
Misses 39 39
Partials 9 9
|
Codecov Report
@@ Coverage Diff @@
## develop #1751 +/- ##
===========================================
+ Coverage 97.7% 97.71% +<.01%
===========================================
Files 102 102
Lines 2096 2097 +1
Branches 93 93
===========================================
+ Hits 2048 2049 +1
Misses 39 39
Partials 9 9
|
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Awesome :) |
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
…counts of the validators Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
…odes Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
…et' into sabau/1661-multinode-local-testnet
numberNodes | ||
) | ||
await startNodes(nodes, mainAccountSignInfo, network) | ||
fs.copySync(join(nodes[1].home, `config`), cliHomePrefix) |
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.
This mimic the behaviour of electron start, I tried hard not to put those three lines here and rely on that hook but I couldn't find a nice way of doing it. Any idea?
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.
From copySync to WriteFileSync should happen at boot in my mind, instead I'm forcing it to happen at network creation time (I didn't wanted to touch also that process right now, to keep this PR small)
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.
boot process will die anyway ;)
} | ||
|
||
// nodes[0] is a placeholder just to be aligned with the enumeration used in gaia | ||
// TODO: next PR refactor also gaia to simplify numeration |
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.
👍
Signed-off-by: Karoly Albert Szabo szabo.karoly.a@gmail.com
Closes #1661
Description:
❤️ Thank you!
CHANGELOG.md
with issue # and GitHub usernameFiles changed
in the github PR explorer