-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: new command to save state files and upload state files #849
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
Should this be in draft status? You have it open, not sure if I should be reviewing it. Your description is missing in the PR. You have a lot of merge conflicts, also. |
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
…upload-state Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com> # Conflicts: # src/commands/node/configs.ts # src/commands/node/flags.ts # test/e2e/commands/node_local_hedera.test.ts # test/test_util.ts
E2E Test Report 16 files 109 suites 1h 18m 26s ⏱️ Results for commit ba0d524. |
1 similar comment
E2E Test Report 16 files 109 suites 1h 18m 26s ⏱️ Results for commit ba0d524. |
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
README.md.template
Outdated
@@ -53,17 +58,37 @@ nvm use lts/hydrogen | |||
|
|||
* Run `npm install -g @hashgraph/solo` | |||
|
|||
## Setup Kubernetes cluster | |||
## Quick Start Guide | |||
User can use one of the following three command to quickly deploy a standalone test network. |
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.
Nathan I were talking about this. This is more of a quick start for a developer who has checked out our repo and has all of the necessary pre-reqs.
The readme page goes on our npmjs page, and would be misleading, since I don't believe the task command would work out of the box without first installing Task somehow. and then would require everything to be built, etc.
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.
Add instructions to install kind, task and dependencies before using task commands
describe('Node for hedera app should have started successfully', () => { | ||
hederaK8 = bootstrapResp.opts.k8 | ||
|
||
it('save the state and restart the node with saved state', async function () { |
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.
are we able to validate that after the state is restored that the new accounts still exist?
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.
Added logic to check account balance after restart from state file
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com> Signed-off-by: JeffreyDallas <39912573+JeffreyDallas@users.noreply.github.com>
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
Added logic to check account balance after restart from state file |
Signed-off-by: Jeffrey Tang <jeffrey@swirldslabs.com>
Description
This pull request changes the following:
node start
to upload zipped state file before node startRelated Issues