Skip to content

Commit

Permalink
docs: fix firehose grpc port
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Apr 25, 2024
1 parent 2c9dce0 commit 249c82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ sudo docker-compose up -d
Once everything is up and running, you should be able to subscribe to the block stream with [grpcurl](https://github.com/fullstorydev/grpcurl):

```console
$ grpcurl -plaintext -d '{"start_block_num": 0}' localhost:18015 sf.firehose.v2.Stream.Blocks
$ grpcurl -plaintext -d '{"start_block_num": 0}' localhost:10015 sf.firehose.v2.Stream.Blocks
```

As noted in the `docker-compose.yml` file, it only serves as an example of running different services separately. For production workload you might want to deploy a setup with high-availability, taking the file as a starting point.
Expand Down Expand Up @@ -66,7 +66,7 @@ $ ./start.sh
The instrumented `pathfinder` node should now start syncing. You can test the setup by subscribing to the block stream with [grpcurl](https://github.com/fullstorydev/grpcurl):

```console
$ grpcurl -plaintext -d '{"start_block_num": 0}' localhost:18015 sf.firehose.v2.Stream.Blocks
$ grpcurl -plaintext -d '{"start_block_num": 0}' localhost:10015 sf.firehose.v2.Stream.Blocks
```

## Generating protobuf types
Expand Down

0 comments on commit 249c82e

Please sign in to comment.