Skip to content

Commit

Permalink
chore: eslint
Browse files Browse the repository at this point in the history
Signed-off-by: Ivo Yankov <[email protected]>
  • Loading branch information
Ivo-Yankov committed Sep 2, 2024
1 parent 7e58740 commit 0b4b793
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Then run the following command to set the kubectl context to the new cluster:
```bash
kind create cluster -n "${SOLO_CLUSTER_NAME}"
```

Example output

```
Expand Down Expand Up @@ -184,6 +185,7 @@ Kubernetes Namespace : solo
✔ Generate gRPC TLS keys
✔ Finalize
```

Key files are generated in `~/.solo/keys` directory.

```
Expand All @@ -192,6 +194,7 @@ $ ls ~/.solo/cache/keys
hedera-node0.crt hedera-node1.crt hedera-node2.crt private-node0.pfx private-node2.pfx
hedera-node0.key hedera-node1.key hedera-node2.key private-node1.pfx public.pfx
```

* Setup cluster with shared components
* In a separate terminal, you may run `k9s` to view the pod status.

Expand All @@ -214,7 +217,6 @@ Kubernetes Namespace : solo
✔ Install 'fullstack-cluster-setup' chart
```


* Deploy helm chart with Hedera network components
* It may take a while (5~15 minutes depending on your internet speed) to download various docker images and get the pods started.
* If it fails, ensure you have enough resources allocated for Docker engine and retry the command.
Expand Down Expand Up @@ -328,6 +330,7 @@ Kubernetes Namespace : solo
Error starting node: Pod not ready [maxAttempts = 300]
***********************************************************************************
```

* Deploy mirror node

```
Expand Down Expand Up @@ -505,14 +508,17 @@ Kubernetes Namespace : solo
✔ Generate gRPC TLS keys
✔ Finalize
```

PEM key files are generated in `~/.solo/keys` directory.

```
$ ls ~/.solo/cache/keys
a-private-node0.pem a-public-node1.pem hedera-node1.crt s-private-node0.pem s-public-node1.pem
a-private-node1.pem a-public-node2.pem hedera-node1.key s-private-node1.pem s-public-node2.pem
a-private-node2.pem hedera-node0.crt hedera-node2.crt s-private-node2.pem
a-public-node0.pem hedera-node0.key hedera-node2.key s-public-node0.pem
```

* Setup cluster with shared components

```
Expand Down Expand Up @@ -548,33 +554,37 @@ $ solo node start
# output is similar to example-1
```

## For Developers Working on Hedera Service Repo

First, pleaes clone hedera service repo `https://github.com/hashgraph/hedera-services/` and build the code
with `./gradlew assemble`. If need to running nodes with different versions or releases, please duplicate the repo or build directories in
multiple directories, checkout to the respective version and build the code.
multiple directories, checkout to the respective version and build the code.

To set customized `settings.txt` file, edit the file
`~/.solo/cache/templates/settings.txt` after `solo init` command.

Then you can start customized built hedera network with the following command:

```
solo node setup --local-build-path <default path to hedera repo>,node1=<custom build hedera repo>,node2=<custom build repo>
```

## For Developers Working on Platform core

To deploy node with local build PTT jar files, run the following command:

```
solo node setup --local-build-path <default path to hedera repo>,node1=<custom build hedera repo>,node2=<custom build repo>
--app PlatformTestingTool.jar --app-config <path-to-test-json1,path-to-test-json2>
```

## Logs

You can find log for running solo command under the directory `~/.solo/logs/`
The file `solo.log` contains the logs for the solo command.
The file `solo.log` contains the logs for the solo command.
The file `hashgraph-sdk.log` contains the logs from solo client when sending transactions to network nodes.


## Support

If you have a question on how to use the product, please see our [support guide](https://github.com/hashgraph/.github/blob/main/SUPPORT.md).
Expand Down
2 changes: 1 addition & 1 deletion src/commands/mirror_node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { BaseCommand } from './base.mjs'
import * as flags from './flags.mjs'
import * as prompts from './prompts.mjs'
import { getFileContents, getEnvValue } from '../core/helpers.mjs'
import {AccountId} from "@hashgraph/sdk"
import { AccountId } from '@hashgraph/sdk'

export class MirrorNodeCommand extends BaseCommand {
constructor (opts) {
Expand Down

0 comments on commit 0b4b793

Please sign in to comment.