Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Feb 6, 2025
1 parent c3590a2 commit cf21b5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

### Added

- [#5244](https://github.com/ChainSafe/forest/issues/5244) Add `live` and `healthy` subcommands to `forest-cli healthcheck`.

- [#4708](https://github.com/ChainSafe/forest/issues/4708) Add support for the
`Filecoin.EthTraceBlock` RPC method.

Expand Down
8 changes: 8 additions & 0 deletions documentation/src/offline-forest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ chain's archive state without syncing, and various testing scenarios.
```bash
forest-tool api serve --help
```

Sample output (may vary depending on the version):

```console
Usage: forest-tool api serve [OPTIONS] [SNAPSHOT_FILES]...

Expand Down Expand Up @@ -45,7 +47,9 @@ height: 1859736.
```bash
forest-tool api serve --chain calibnet ~/Downloads/forest_snapshot_calibnet_2024-08-08_height_1859736.forest.car.zst
```

Sample output:

```console
2024-08-12T12:29:16.624698Z INFO forest::tool::offline_server::server: Configuring Offline RPC Server
2024-08-12T12:29:16.640402Z INFO forest::tool::offline_server::server: Using chain config for calibnet
Expand All @@ -63,7 +67,9 @@ curl --silent -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":2,"method":"Filecoin.ChainHead","param":"null"}' \
"http://127.0.0.1:2345/rpc/v0" | jq
```

Sample output:

```json
{
"jsonrpc": "2.0",
Expand Down Expand Up @@ -101,7 +107,9 @@ curl --silent -X POST -H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":2,"method":"Filecoin.StateGetNetworkParams","param":"null"}' \
"http://127.0.0.1:2345/rpc/v0" | jq
```

Sample output:

```json
{
"jsonrpc": "2.0",
Expand Down

0 comments on commit cf21b5f

Please sign in to comment.