Skip to content

Commit

Permalink
docs/development-setup: Fix oasis-net-runner.md
Browse files Browse the repository at this point in the history
Remove reference to 'simple-keyvalue-client' (artifact of the past).
  • Loading branch information
martintomazic committed Jan 3, 2025
1 parent 01515e4 commit 0656bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
Empty file added .changelog/5986.trivial.md
Empty file.
14 changes: 3 additions & 11 deletions docs/development-setup/oasis-net-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,8 @@ and supports reading, writing, and fetching string values associated with the
given key. To learn how to create your own runtime, see the sources of the
[simple-keyvalue example] and [Building a runtime] chapter in the Oasis SDK.

Finally, to test Oasis node, we will run a test client written specifically
for the `simple-keyvalue` runtime. The client sends a few keys with associated
values and fetches them back over RPC defined in the runtime's API. Execute the
client as follows (substituting the socket path from your log output) in a
different terminal:

```
./target/default/release/simple-keyvalue-client \
--runtime-id 8000000000000000000000000000000000000000000000000000000000000000 \
--node-address unix:/tmp/oasis-net-runner530668299/net-runner/network/client-0/internal.sock
```
Finally, to test Oasis node, you may want to look at [test_client.go]. The client sends a few keys with associated
values and fetches them back over RPC defined in the runtime's API.

By default, Oasis node is configured with a 30-second epoch, so you may
initially need to wait for the first epoch to pass before the test client will
Expand All @@ -61,6 +52,7 @@ make any progress. For more information on writing your own client, see the
[the default network fixture]: https://github.com/oasisprotocol/oasis-core/tree/master/go/oasis-net-runner/fixtures/default.go
[simple-keyvalue example]: https://github.com/oasisprotocol/oasis-core/tree/master/tests/runtimes/simple-keyvalue
[Building a runtime]: https://github.com/oasisprotocol/oasis-sdk/blob/main/docs/runtime/README.md
[test_client.go]: ../../go/oasis-test-runner/scenario/e2e/runtime/test_client.go
<!-- markdownlint-enable line-length -->

## SGX Environment
Expand Down

0 comments on commit 0656bb5

Please sign in to comment.