From e244274a4e6d87cae93ddd6807e23d1bd1830f11 Mon Sep 17 00:00:00 2001 From: PruStephan Date: Wed, 1 Nov 2023 21:41:58 +0100 Subject: [PATCH] fixup! [#518] Remove transaction rollup mentions from repo --- docker/package/packages.py | 2 +- docs/smart-rollup.md | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docker/package/packages.py b/docker/package/packages.py index 5e0df9f05..59c493f62 100644 --- a/docker/package/packages.py +++ b/docker/package/packages.py @@ -513,7 +513,7 @@ def mk_units(proto): Unit(after=["network.target"], description=f"Tezos smart rollup node"), Service( environment_files=[f"/etc/default/tezos-smart-rollup-node-{proto}"], - environment=[f"PROTOCOL={proto}", f"TYPE=sc"], + environment=[f"PROTOCOL={proto}"], exec_start_pre=[ "+/usr/bin/setfacl -m u:tezos:rwx /run/systemd/ask-password" ], diff --git a/docs/smart-rollup.md b/docs/smart-rollup.md index 30f7a49dc..eea348f4a 100644 --- a/docs/smart-rollup.md +++ b/docs/smart-rollup.md @@ -7,7 +7,25 @@ At first you should originate rollup with the provided alias for some implicit account: ``` -sudo -u tezos tezos-client originate smart rollup from +sudo -u tezos tezos-client originate smart rollup from of kind of type with kernel +``` +Here: +* `ROLLUP_ALIAS` - Name for a new smart rollup +* `IMPLICIT_ACCOUNT_ALIAS` - Name of the account originating smart rollup +* `SMART_ROLLUP_KIND` - Kind of proof-generating virtual machine (PVM) +* `ROLLUP_PARAMETER_TYPE` - The interface of smart rollup (with entrypoints and signatures) +* `KERNEL` - The kernel of smart rollup that PVM can interpret + +For more information on smart rollup origination you can check - https://tezos.gitlab.io/alpha/smart_rollups.html#origination + +Usage example: + +``` +octez-client originate smart rollup "my-rollup" \ + from "bob" \ + of kind wasm_2_0_0 \ + of type unit \ + with kernel "file:kernel.hex" ``` After that, with the active `tezos-node` service available with the provided uri, run the following command