This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Mycelium to default config (#388)
Co-authored-by: Alfonso de la Rocha <[email protected]>
- Loading branch information
Showing
3 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,7 +149,17 @@ Before running our validators, at least one bootstrap needs to be deployed and a | |
|
||
* We can deploy a new bootstrap node in the subnet by running: | ||
```bash | ||
cargo make --makefile bin/ipc-infra/Makefile.toml -e CMT_P2P_HOST_PORT=26650 bootstrap | ||
cargo make --makefile infra/Makefile.toml \ | ||
-e PRIVATE_KEY_PATH=<VALIDATOR_PRIV_KEY> \ | ||
-e SUBNET_ID=<SUBNET_ID> \ | ||
-e CMT_P2P_HOST_PORT=<COMETBFT_P2P_PORT> \ | ||
-e CMT_RPC_HOST_PORT=<COMETBFT_RPC_PORT> \ | ||
-e ETHAPI_HOST_PORT=<ETH_RPC_PORT> \ | ||
-e BOOTSTRAPS=<BOOTSTRAP_ENDPOINT> | ||
-e PARENT_REGISTRY=<PARENT_REGISTRY_CONTRACT_ADDR> \ | ||
-e PARENT_GATEWAY=<GATEWAY_REGISTRY_CONTRACT_ADDR> \ | ||
-e CMT_EXTERNAL_ADDR=<COMETBFT_EXTERNAL_ENDPOINT> \ | ||
bootstrap | ||
``` | ||
|
||
At the end of the output, this command should return the ID of your new bootstrap node: | ||
|
@@ -160,7 +170,7 @@ At the end of the output, this command should return the ID of your new bootstra | |
[email protected]:26650 | ||
[cargo-make] INFO - Build Done in 13.38 seconds. | ||
``` | ||
Remember the address of your bootstrap for the next step. This address has the following format `id@ip:port`, and by default shows the public IP of your network interface. Feel free to adjust the `ip` to use a reachable IP for your deployment so other nodes can contact it (in our case our localhost IP, `127.0.0.1`). | ||
Remember the address of your bootstrap for the next step. This address has the following format `id@ip:port`. Feel free to adjust the `ip` to use a reachable IP for your deployment so other nodes can contact it (in our case our localhost IP, `127.0.0.1`) and to use as `CMT_EXTERNAL_ADDR` a reachable IP by other peers, and the port configured in `CMT_EXTERNAL_ADDR`. | ||
|
||
* We can get the address of the deployed bootstrap node by running: | ||
```bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters