You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/config/chains.mdx
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ chains:
15
15
```
16
16
17
17
## `name`
18
-
Type of chain is a short hand to use the default key values for a chain found [here](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/values.yaml#L54...#L244)
18
+
Type of chain is a short hand to use the default key values for a chain found [here](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/values.yaml#L54...#L244)
19
19
```yaml
20
20
chains:
21
21
- id: osmosis-1
@@ -72,7 +72,7 @@ chains:
72
72
> * Packages `curl,make,bash,jq,sed`
73
73
> * Chain binaries installed in $PATH
74
74
75
-
We create docker images with this [Dockerfile](https://github.com/cosmology-tech/starship/blob/main/docker/chains/Dockerfile), using Heighliner base
75
+
We create docker images with this [Dockerfile](https://github.com/cosmology-tech/starship/blob/main/starship/docker/chains/Dockerfile), using Heighliner base
76
76
images. All supported docker images can be found [here](https://github.com/orgs/cosmology-tech/packages?repo_name=starship)
77
77
78
78
## `numValidators`
@@ -88,7 +88,7 @@ chains:
88
88
> Note: The first node spun up is a `genesis` node, which spins up before all other validators. Once the genesis node starts
89
89
> then all other validator nodes are spun up simultaneously
90
90
91
-
If number of validators is more than the mnemonics available in the [`keys.json`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/configs/keys.json#L9) file
91
+
If number of validators is more than the mnemonics available in the [`keys.json`](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/configs/keys.json#L9) file
92
92
which is 5, then other validators are created with random mnemonic on initialization.
Setting for cosmjs-faucet [here](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/values.yaml#L32...#L38) but can be
151
+
Setting for cosmjs-faucet [here](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/values.yaml#L32...#L38) but can be
152
152
overridden with this directive, specially for compatible cosmjs version with the chain version.
153
153
154
154
```yaml
@@ -177,7 +177,7 @@ then you can reduce the `concurrency` to a lower number.
177
177
178
178
## `build` (optional)
179
179
With the `build` directive in the chain, one can basically build chain binaries on the fly before starting the chain.
180
-
When the directive is `enabled`, then the docker image is set to a [`runner` docker image](https://github.com/cosmology-tech/starship/blob/main/docker/starship/runner/Dockerfile)
180
+
When the directive is `enabled`, then the docker image is set to a [`runner` docker image](https://github.com/cosmology-tech/starship/blob/main/starship/docker/starship/runner/Dockerfile)
181
181
which is a basic alpine image with starship dependencies.
182
182
```yaml
183
183
chains:
@@ -231,17 +231,17 @@ chains:
231
231
232
232
## `scripts` (optional)
233
233
Scripts directive will replace the default scripts with the given scripts. In order to use this directive,
234
-
one must use [`scripts/install.sh`](https://github.com/cosmology-tech/starship/blob/main/scripts/install.sh) script for running the helm chart.
234
+
one must use [`scripts/install.sh`](https://github.com/cosmology-tech/starship/blob/main/starship/scripts/install.sh) script for running the helm chart.
235
235
236
236
> Since the local scripts are converted into configmaps that are then created in the kubernetes cluster, there is a limit of 1MBi
237
237
238
238
Types of scripts that are allowed inside the `scripts` dir are:
239
-
* `createGenesis`: Script used in the genesis node that will create the `genesis.json` file. Default: [`create-genesis.sh`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/scripts/default/create-genesis.sh)
240
-
* `updateGenesis`: Script used to make custom changes to the genesis file. Default: [`update-genesis.sh`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/scripts/default/update-genesis.sh)
241
-
* `updateConfig`: Script used to make custom changes to the config files. Default: [`update-config.sh`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/scripts/default/update-config.sh)
242
-
* `createValidator`: Script to run the `create-validator` txn on the validator nodes after spinup. Note this script is run as part of the `PostStartHook` of the validator pods. Default: [`create-validator.sh`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/scripts/default/create-validator.sh)
243
-
* `transferTokens`: Script run as part of the Starship glue code. This script is related to the faucet that we run. Default: [`transfer-tokens.sh`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/scripts/default/transfer-tokens.sh)
244
-
* `buildChain`: Script that builds chain binaries, based on the `build` directive. Default: [`build-chain.sh`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/scripts/default/build-chain.sh)
239
+
* `createGenesis`: Script used in the genesis node that will create the `genesis.json` file. Default: [`create-genesis.sh`](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/scripts/default/create-genesis.sh)
240
+
* `updateGenesis`: Script used to make custom changes to the genesis file. Default: [`update-genesis.sh`](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/scripts/default/update-genesis.sh)
241
+
* `updateConfig`: Script used to make custom changes to the config files. Default: [`update-config.sh`](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/scripts/default/update-config.sh)
242
+
* `createValidator`: Script to run the `create-validator` txn on the validator nodes after spinup. Note this script is run as part of the `PostStartHook` of the validator pods. Default: [`create-validator.sh`](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/scripts/default/create-validator.sh)
243
+
* `transferTokens`: Script run as part of the Starship glue code. This script is related to the faucet that we run. Default: [`transfer-tokens.sh`](https://github.com/cosmology-tech/starship/blob/main/charts/starship/devnet/scripts/default/transfer-tokens.sh)
244
+
* `buildChain`: Script that builds chain binaries, based on the `build` directive. Default: [`build-chain.sh`](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/scripts/default/build-chain.sh)
245
245
246
246
One can choose the sub-scripts that need to be overwritten, default scripts will be used instead.
Copy file name to clipboardExpand all lines: docs/pages/config/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Configuration
2
2
3
3
In Starship one can define the infra required with a simple config file.
4
-
The config file one specifies is merged with the default [`values.yaml`](https://github.com/cosmology-tech/starship/blob/main/charts/devnet/values.yaml)
4
+
The config file one specifies is merged with the default [`values.yaml`](https://github.com/cosmology-tech/starship/blob/main/starship/charts/devnet/values.yaml)
5
5
file before the infra is spun up. All supported directives are present in the default `values.yaml`. We will go over most used ones here.
* `/create_channel` endpoint: Supports post request. Proto defination: https://github.com/cosmology-tech/starship/blob/main/proto/exposer/service.proto#L47
138
+
* `/create_channel` endpoint: Supports post request. Proto defination: https://github.com/cosmology-tech/starship/blob/main/starship/proto/exposer/service.proto#L47
139
139
140
140
One can use the exposer endpoint on the relayer to create channel from outside.
0 commit comments