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
* Provide a `--uri` and `--block-at` hash from the testnet where the Collator node was launched. The defaults are the wss://127.0.0.1:9944 port and the latest finalized block respectively.
170
+
*`live` means we are going to scrape a live testnet, as opposed to loading a saved file.
* Question: Why do we install a specific version of Rust Nightly in the CI?
225
-
* Answer: Since the latest version of Rust Nightly may break our build,
226
-
and because developers may forget to update to the latest version of Rust
227
-
Nightly locally. So the solution is to install a specific version of
228
-
Rust Nightly in .github/workflows/rust.yml (i.e.
229
-
`rustup toolchain install nightly-2020-12-12`), since for example
230
-
the latest Rust Nightly version nightly-2020-02-20 may cause our CI tests
231
-
to fail (i.e. https://github.com/DataHighway-DHX/node/issues/32)
232
-
233
-
* Question: Why does the `SessionKeys` struct of our chain only have [babe and grandpa](https://github.com/DataHighway-DHX/node/blob/master/runtime/src/lib.rs#L94), and not [im_online and authority_discovery](https://github.com/paritytech/substrate/blob/master/bin/node/runtime/src/lib.rs#L242).
234
-
* Answer: Since we'll be a parachain im_online and authority_discovery are not required here.
235
-
236
-
* Question: How do I install specific dependencies
237
-
* Answer:
238
-
```bash
239
-
cargo install cargo-edit
240
-
cargo add ...
241
-
```
242
-
* Question: How do I upgrade the runtime without stopping the blockchain
* Question: How may I debug and contribute to fixing UI errors or any errors in the browser console that I encounter when using Polkadot.js Apps https://polkadot.js.org/apps?
246
-
* Answer: If you run Polkadot.js Apps locally from your machine then the errors are easier to debug. Follow the instructions at https://github.com/polkadot-js/apps, including cloning it, and running it. Try to identify and fix the error, and raise an issue in that repository if necessary.
247
-
248
-
* Question: How do I stop and remove all the Docker containers and images?
249
-
* Answer: Run `./scripts/docker-clean.sh`
250
-
* **WARNING**: This stops and removes **all** your Docker containers and images, not just DataHighway relates ones.
251
-
252
-
* Question: How to access the Docker container of a running node and run shell commands?
253
-
* Answer: `docker exec -it node_alice_1 /bin/bash`, where `node_alice_1` is the Container Name that is shown when you run `docker ps -a`.
254
-
255
-
* Question: How do I restart the testnet Docker containers (including each chain databases)?
256
-
* Answer: Run the following, where `node_alice_1` is a Container Name that is shown when you run `docker ps -a`.
* Answer: Run `./scripts/docker-clean.sh` before starting them again with either `docker-compose up` or `docker-compose --verbose up -d; docker-compose logs -f`, incase a cached image is still being used locally
266
-
* **WARNING**: This stops and removes **all** your Docker containers and images, not just DataHighway relates ones.
267
-
268
-
* Question: How do I run two nodes on the same host machine?
269
-
* Answer:
270
-
* Refer to "Testnet (Alpha) "testnet_latest" PoS testnet (with multiple nodes)" in [EXAMPLES](./EXAMPLES.md).
292
+
The latest FAQ is still recorded on the DataHighway standalone codebase [here](https://github.com/DataHighway-DHX/node/blob/master/CONTRIBUTING.md#faq-), or modified in subsequent PRs.
293
+
It will be migrated into the DataHighway/documentation codebase.
0 commit comments