Update README.md (#298)

per #295
This commit is contained in:
Dan Shields authored and GitHub committed 2021-10-08 09:34:57 +01:00
1 parent d582479367
commit 8f0641e660
1 file changed
+3 -14
+3 -14
View File
@@ -9,25 +9,14 @@ See [examples](./examples).
## Integration Testing
Most tests require a running substrate node to communicate with. This is done by spawning an instance of the
substrate node per test. It requires an executable binary `substrate` at [`v3.0.0`](https://github.com/paritytech/substrate/releases/tag/v3.0.0) on your path.
substrate node per test. It requires an executable binary `substrate` at [`polkadot-v0.9.10`](https://github.com/paritytech/substrate/releases/tag/polkadot-v0.9.10) on your path.
This can be done by downloading the prebuilt binary:
This can be installed from source via cargo:
```bash
curl "https://releases.parity.io/substrate/x86_64-debian:stretch/v3.0.0/substrate/substrate" --output substrate --location
chmod +x ./substrate
mv substrate ~/.local/bin
cargo install --git https://github.com/paritytech/substrate node-cli --tag=polkadot-v0.9.10 --force
```
Or installed from source via cargo:
```bash
cargo install --git https://github.com/paritytech/substrate node-cli --tag=v3.0.0 --force
```
**Alternatives**
[substrate-api-client](https://github.com/scs/substrate-api-client) provides similar functionality.