From 918d5c7e4dbf445154d58de6c4b427eff9124a2a Mon Sep 17 00:00:00 2001 From: Martin Tomazic Date: Fri, 3 Jan 2025 04:08:13 +0100 Subject: [PATCH] docs/development-setup: Fix oasis-net-runner.md Remove reference to 'simple-keyvalue-client' (artifact of the past). --- docs/development-setup/oasis-net-runner.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/docs/development-setup/oasis-net-runner.md b/docs/development-setup/oasis-net-runner.md index 3e64053c574..2096c097642 100644 --- a/docs/development-setup/oasis-net-runner.md +++ b/docs/development-setup/oasis-net-runner.md @@ -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 @@ -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 ## SGX Environment