Skip to content

Commit b2e7598

Browse files
authored
[doc] fix typos (#556)
1 parent 7b2f479 commit b2e7598

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The diagram represents the main components of the software and how they interact
1212

1313
- Sequencer: A sequencer assembles a set of input messages of the same project as a task and assigns the task to a prover. It receives messages from clients, persists them in data availability (DA), and packs them into tasks. The tasks will be sent to prover to generate proves, and the returned proves will be output to destination defined by the project.
1414
- Prover: A prover generates proves with ZK virtual machines. It contains a task processor, ZK runtime manager, project manager. Receiving a task, the prover constructs a ZK runtime instance according to the corresponding project config and generates a ZK proof accordingly. Anyone can stake IOTX and obtain permission to run a prover.
15-
- Data availability: data availability refers to a storage which ensures the lifecycle persist of messages and tasks. It could be a database, a file system, a blockchain or a decentralized storage system, which implements the predefined interface.
15+
- Data availability: data availability refers to a storage which ensures the life cycle persist of messages and tasks. It could be a database, a file system, a blockchain or a decentralized storage system, which implements the predefined interface.
1616
- P2P network: In W3bstream, all sequencers and provers interact with each other over the P2P network, including dispatching, receiving, and reporting task status. To participate the processing of a project, a node needs to join the project topic and then process the information related to the project.
1717
- IPFS: Project config data is stored on IPFS. Users who want to publish a new project can use [ioctl](https://docs.iotex.io/the-iotex-stack/reference/ioctl-cli-reference) to push the project config file to IPFS.
1818
- Chain contract: Projects and provers are registered in IoTeX contracts. They are publicly available and open to all to register.

docs/BUILD-CIRCUIT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ Or you can run `ioctl ws project config -t "halo2" -i "halo2_wasm_bg.wasm" -o "p
7373
### Convert risc0 circuit to w3bstream project config
7474

7575
```bash
76-
ioctl ws project config -t "risc0" -i "methods.rs" -e "{\"image_id\":\"RANGE_ID\", \"elf\":\"RANGE_ELF\"}
76+
ioctl ws project config -t "risc0" -i "methods.rs" -e "{\"image_id\":\"RANGE_ID\", \"elf\":\"RANGE_ELF\"}"
7777
# if you need set datasource, you should add -s
78-
ioctl ws project config -s "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable" -t "risc0" -i "methods.rs" -e "{\"image_id\":\"RANGE_ID\", \"elf\":\"RANGE_ELF\"}
78+
ioctl ws project config -s "postgres://test_user:test_passwd@localhost:5432/test?sslmode=disable" -t "risc0" -i "methods.rs" -e "{\"image_id\":\"RANGE_ID\", \"elf\":\"RANGE_ELF\"}"
7979
```
8080
The values of `image_id` and `elf` are variable names, and will be found in the `methods.rs`.
8181

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ There are many ways to contribute to this project:
1111
1. **Code Contributions**: If you're looking to add or fix something in the codebase, please follow the steps outlined in the Getting started below.
1212
2. **Bug Reports**: If you find a bug, please open an issue using the **Bug Report** template..
1313
3. **Feature Suggestions**: Have ideas for new features? Open an issue using the **Feature Request** template.
14-
4. **Documentation**: Improvements or additions to our documentation are always welcome. We currently use GitBook for our documentation, and you can read it at [docs.iotex.io](https://docs.iotex.io). Just locat the "Edit this Page on GitHub" link on any page to start contributing.
14+
4. **Documentation**: Improvements or additions to our documentation are always welcome. We currently use GitBook for our documentation, and you can read it at [docs.iotex.io](https://docs.iotex.io). Just locate the "Edit this Page on GitHub" link on any page to start contributing.
1515

1616
## Getting Started
1717

docs/DEVELOPER_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Generate the W3bstream project:
9292

9393
```bash
9494
# Customize the output project file name "$ID" with a unique number
95-
ioctl ws project config -t "zkwasm" -i "zkwasm_demo.wasm" -o "path/ID""
95+
ioctl ws project config -t "zkwasm" -i "zkwasm_demo.wasm" -o "path/ID"
9696
```
9797

9898
#### Create a W3bstream Project Using RISC0
@@ -129,7 +129,7 @@ warning: methods_path is: "sprout/examples/risc0-circuits/target/release/build/r
129129
Generate the W3bstream Project
130130

131131
```bash
132-
ioctl ws project config -t "risc0" -i "methods.rs" -o "path/filename.json" -e "{\"image_id\":\"RANGE_ID\", \"elf\":\"RANGE_ELF\"}
132+
ioctl ws project config -t "risc0" -i "methods.rs" -o "path/filename.json" -e "{\"image_id\":\"RANGE_ID\", \"elf\":\"RANGE_ELF\"}"
133133
```
134134

135135
The values of `image_id` and `elf` are variable names, and will be found in the `methods.rs` file.

docs/RUN-LOCALLY.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ docker compose version
2121

2222
## Create project config file
2323
after [build circuit](BUILD-CIRCUIT.md)
24-
- move `risc0-config.json` to `test/project, and then rename `risc0-config.json` to `20000`(`20000` is project id).
25-
- move `halo2-config.json` to `test/project, and then rename `halo2-config.json` to `20001`(`20001` is project id).
26-
- move `zkwasm-config.json` to `test/project, and then rename `zkwasm-config.json` to `20002`(`20002` is project id).
24+
- move `risc0-config.json` to `test/project`, and then rename `risc0-config.json` to `20000` (`20000` is the project id).
25+
- move `halo2-config.json` to `test/project`, and then rename `halo2-config.json` to `20001` (`20001` is the project id).
26+
- move `zkwasm-config.json` to `test/project`, and then rename `zkwasm-config.json` to `20002` (`20002` is the project id).
2727

2828
## Configure W3bstream
2929

@@ -41,7 +41,7 @@ export PRIVATE_KEY=${your private key}
4141
export BONSAI_KEY=${your bonsai key}
4242
```
4343

44-
3. Docker Compose will mount the current work directory under the `/data` volume. You can edit the file `docker-compose.yaml` to set `PROJECT_FILE_DIRECTORY` tp the appropriate path where the project configuration file (which includes the prover code) is stored.
44+
3. Docker Compose will mount the current work directory under the `/data` volume. You can edit the file `docker-compose.yaml` to set `PROJECT_FILE_DIRECTORY` to the appropriate path where the project configuration file (which includes the prover code) is stored.
4545

4646
## Running W3bstream
4747

@@ -77,7 +77,7 @@ docker-compose down
7777

7878
## Send testing data to the W3bstream instance
7979

80-
W3bstream projects are currently placed inside the folder `test/project`. Each project file name is a unique ID for the project. And each project file is composed of a JSON object definition that includes the binary code of the proover, vm type, and other parameters.
80+
W3bstream projects are currently placed inside the folder `test/project`. Each project file name is a unique ID for the project. And each project file is composed of a JSON object definition that includes the binary code of the prover, vm type, and other parameters.
8181

8282
The following example sends a message to an example project deployed on the W3bstream instance that makes use of a RISC0 prover, which has project ID 20000, please change the project ID to yours if necessary:
8383

0 commit comments

Comments
 (0)