Skip to content

Commit

Permalink
fixup! [#518] Remove transaction rollup mentions from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
PruStephan committed Nov 15, 2023
1 parent 5aae691 commit e244274
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/package/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
20 changes: 19 additions & 1 deletion docs/smart-rollup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <ROLLUP_ALIAS> from <IMPLICIT_ACCOUNT_ALIAS>
sudo -u tezos tezos-client originate smart rollup <ROLLUP_ALIAS> from <IMPLICIT_ACCOUNT_ALIAS> of kind <SMART_ROLLUP_KIND> of type <ROLLUP_PARAMETER_TYPE> with kernel <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
Expand Down

0 comments on commit e244274

Please sign in to comment.