From 865839fd1e03f97b8f5d6779e4dda9049ac72789 Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Wed, 27 Nov 2024 17:51:52 +0100 Subject: [PATCH 1/3] Docs:Typo in link syntax --- docs/user/client-configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/client-configuration.rst b/docs/user/client-configuration.rst index 07b8dcb6d538..0db1eee5340d 100644 --- a/docs/user/client-configuration.rst +++ b/docs/user/client-configuration.rst @@ -5,7 +5,7 @@ The Octez client can be configured in flexible ways to control various aspects of its behavior, such as running in different running modes (:doc:`./sandbox`, :doc:`./mockup`, ...), connecting to a public Tezos node, selecting the directory for storing data, and so on. All these aspects -can be customized by supplying **options** on the command line when running the client. Refer to :ref`the client manual ` for details. +can be customized by supplying **options** on the command line when running the client. Refer to :ref:`the client manual ` for details. A subset of these aspects can be customized by specifying parameters in a **configuration file** for the client. These include, for example: -- GitLab From c890b2b463ba8d492671f9b09a718c9fbc2c2108 Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Wed, 27 Nov 2024 17:52:30 +0100 Subject: [PATCH 2/3] Docs: Clarify outputs of observation of the chain commands --- docs/user/sandbox.rst | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/user/sandbox.rst b/docs/user/sandbox.rst index 49b14d8f8bae..679581e09ff2 100644 --- a/docs/user/sandbox.rst +++ b/docs/user/sandbox.rst @@ -73,11 +73,15 @@ For instance: :: $ octez-client rpc get /chains/main/blocks/head/metadata - "next_protocol": "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" + { "protocol": "PrihK96nBAFSxVL1GLJTVhu9YnzkMFiBeuJRPA8NwuZVZCE1L6i", + "next_protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im", + ... } $ octez-activate-alpha Injected BMV9KnSPE1yw $ octez-client rpc get /chains/main/blocks/head/metadata - "protocol": "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" + { "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im", + "next_protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", + ... } We now have the possibility to send transactions to the sandboxed network. As the genesis block used to initialize the sandboxed network differs from the @@ -121,6 +125,26 @@ Note that the ``bake for`` command of the client is exclusively for testing purposes, all baking should be done using the ``octez-baker`` binary. +We can now observe the transaction with: + +:: + + $ octez-client rpc get /chains/main/blocks/head + { "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", + ... + "header": + { "level": 2, + ... }, + "operations": + [ ... + [ { ... + "contents": + [ { "kind": "transaction", + "source": "tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx", + "fee": "268", "counter": "2", "gas_limit": "169", + "storage_limit": "0", "amount": "42000000", + "destination": "tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN", + ... } ] } ] ] Tune protocol Alpha parameters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- GitLab From 75c0abfdab906f3af95a66f7d9473f44dbebe9dd Mon Sep 17 00:00:00 2001 From: Guillaume Genestier Date: Wed, 27 Nov 2024 17:53:21 +0100 Subject: [PATCH 3/3] Tezt_cloud: Typos in Readme Co-authored-by: Nic Volanschi --- tezt/lib_cloud/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tezt/lib_cloud/README.md b/tezt/lib_cloud/README.md index 558e698eda3f..572409f15873 100644 --- a/tezt/lib_cloud/README.md +++ b/tezt/lib_cloud/README.md @@ -86,7 +86,7 @@ will run a docker image. This docker image must follow some conditions use your own dockerfile. To help you write such an image, a default one based on debian is -provided in `tezt/lib_cloud/debian.Dockerfile`. +provided in `tezt/lib_cloud/dockerfiles/debian.Dockerfile`. The library takes care for you to push this image on a dedicated GCP registry. A docker image such as the one generated from @@ -98,7 +98,7 @@ Finally, do note that with Tezt cloud you can specify for each VM individually the docker image to be used. The one provided by the dockerfile as discussed above will be the one by default. It is also possible to use docker images published by the Octez CI. At the -moment, the docker image from the latest released of Octez is +moment, the docker image from the latest release of Octez is supported. ## Write your own dockerfile @@ -271,7 +271,7 @@ Grafana can be used to visualize prometheus metrics (activated by default). This can be accessed on `http://localhost:3000`. Tezt cloud comes with a set of dashboards so that it is ready to use. Feel free to update/add new dashboards in -`tezt/lib_cloud/grafana/dasboards.json`. +`tezt/lib_cloud/grafana/dashboards`. ## Proxy mode @@ -361,7 +361,7 @@ You should see the name servers you just added. 3. The runner that will be used (this can be given to the agent). 3. Whenever it is possible, write your test without depending - specifically on a fixed number of machines. Whenver you want to + specifically on a fixed number of machines. Whenever you want to increase or decrease the number of machines, you can just run your test again and it will just work. This can be done by using a dispenser (via the OCaml module `Seq` for example). -- GitLab