Skip to content

Commit

Permalink
Added a note to not run make Protogen if no changes were make to any …
Browse files Browse the repository at this point in the history
….proto files
  • Loading branch information
Giuliano-1 committed Apr 3, 2024
1 parent c5f3b48 commit 4509659
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Let's run the Substreams first, and then go through the code.

Running a Substreams usually requires three steps: generating the Rust Protobufs, building the WASM container, and using the Substream CLI to start the streaming. Make sure to run the following commands in the `substreams-explorer/ethereum-explorer` folder:

1. **Generate the Protobuf objects:** The `.proto` files define a data model regardless of any programming language. However, in order to use this model in your Rust application, you must generate the corresponding Rust data structures. Note that running make protogen is only necessary when making updates to any file in the proto folder.
1. **Generate the Protobuf objects:** The `.proto` files define a data model regardless of any programming language. However, in order to use this model in your Rust application, you must generate the corresponding Rust data structures. Note that running `make protogen` is only necessary when making updates to any file in the proto folder.

```bash
make protogen
Expand Down

0 comments on commit 4509659

Please sign in to comment.