[go: up one dir, main page]

Packaging: add octez-smartrollup-node package (post-19.1 packages)

What

This MR adds the packages for the Smart rollup node. As other packages, we propose a minimal configuration to the user. The smart-rollup-node must be configured by the user before enabling the service and running it.

The configuration options are in /etc/defaults/octez-smart-rollup-node.

Notably the user must provide the address of the smart rollup and the address of the operator.

Why

It's the third MR following !11693 (merged) and !12020 (merged)

How

Manually testing the MR

To test these packages, you should have already a L1 stack available using the post-v19.1 packages. you can check this document on how to setup a complete L1 stack: https://hackmd.io/qwid55dJSd6R6AnvcyEKKQ?view

Then you can try to install the smart rollup node package, enable the systemd service and run the node.

To test this MR it is necessary to already have an Octez node configured and running. Following the documentation https://tezos.gitlab.io/shell/smart_rollup_node.html

First you must create an account alias / address for the operator :

# octez-client gen keys bob
# octez-client show address bob
tz1...

The add the tz1.. address in /etc/defaults/octez-smart-rollup-node

You will also need a sr1... address that is the address for a rollup. You can originate one following the documentation above.

Once this is all in place, you can start your rollup-node using systemctl as usual. Note that the node must be also running locally with systemd in order to start the rollup-node.

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Arvid Jakobsson

Merge request reports

Loading