Skip to content

Commit

Permalink
Fix linting warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Jan 10, 2024
1 parent c0e5669 commit a8ce092
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
3. [Update Vault state (Harvest Vault)](#update-vault-state-harvest-vault)
4. [Merge deposit data files from multiple operators](#merge-deposit-data-files-from-multiple-operators)
5. [Recover validator keystores](#recover-validator-keystores)
6. [Max gas fee](#max-gas-fee)
7. [Reduce Operator Service CPU load](#reduce-operator-service-cpu-load)
6. [Contacts](#contacts)

## What is V3 Operator?
Expand Down Expand Up @@ -193,7 +195,7 @@ running Operator Service from binary, you would use:
./operator init
```

```
```text
Enter the network name (mainnet, holesky) [mainnet]:
Enter your vault address: 0x3320a...68
Choose your mnemonic language (chinese_simplified, chinese_traditional, czech, english, italian, korean, portuguese, spanish) [english]:
Expand Down Expand Up @@ -221,7 +223,7 @@ you have your newly created mnemonic to hand:
./operator create-keys
```

```
```text
Enter the vault address: 0x3320a...68
Enter the number of the validator keys to generate: 10
Enter the mnemonic for generating the validator keys: pumpkin anxiety private salon inquiry ....
Expand Down Expand Up @@ -252,7 +254,7 @@ the one used to generate the validator keys, or a new mnemonic if you desire).
./operator create-wallet
```

```
```text
Enter the vault address: 0x3320a...68
Enter the mnemonic for generating the wallet: pumpkin anxiety private salon inquiry ...
Done. The wallet and password saved to /home/user/.stakewise/0x3320a...68/wallet directory. The wallet address is: 0x239B...e3Cc
Expand Down Expand Up @@ -293,7 +295,7 @@ following command:
./operator get-validators-root
```

```
```text
Enter the vault address: 0xeEFFFD4C23D2E8c845870e273861e7d60Df49663
The validator deposit data Merkle tree root: 0x50437ed72066c1a09ee85978f168ac7c58fbc9cd4beb7962c13e68e7faac26d7
```
Expand Down Expand Up @@ -336,15 +338,15 @@ multiple operators, you will need to add the following flag:

- `--deposit-data-file` - Path to the deposit data file (Vault directory is default).

#### Binary
#### Using binary

You can start the operator service using binary with the following command:

```bash
./operator start --vault=0x000... --consensus-endpoints=http://localhost:5052 --execution-endpoints=http://localhost:8545
```

#### Docker
#### Using docker

For docker, you first need to mount the folder containing validator keystores and deposit data file generated
into the docker container. You then need to also include the `--data-dir` flag alongside the `start` command as per the
Expand All @@ -369,7 +371,7 @@ and fill it with correct values. Run docker compose with the following command:
docker-compose up
```

#### Source Files
#### Using Source Files

```bash
PYTHONPATH=. poetry run python src/main.py start \
Expand Down Expand Up @@ -410,7 +412,7 @@ validators, you can run the following command:

Follow the steps, confirming your consensus node endpoint, Vault address, and the validator indexes to exit.

```bash
```text
Enter the comma separated list of API endpoints for consensus nodes: https://example.com
Enter your vault address: 0x3320ad928c20187602a2b2c04eeaa813fa899468
Are you sure you want to exit 3 validators with indexes: 513571, 513572, 513861? [y/N]: y
Expand Down Expand Up @@ -450,7 +452,7 @@ keys.**
./operator recover
```

```
```text
Enter the mnemonic for generating the validator keys: [Your Mnemonic Here]
Enter your vault address: 0x3320ad928c20187602a2b2c04eeaa813fa899468
Enter comma separated list of API endpoints for execution nodes: https://example.com
Expand Down

0 comments on commit a8ce092

Please sign in to comment.