Skip to main content

Step 3: Run an Octez DAL node

The DAL node is responsible for temporarily storing data and providing it to bakers and Smart Rollups.

To start the DAL node, run this command:

octez-dal-node run >> "$HOME/octez-dal-node.log" 2>&1

This, too, may take some time to launch the first time because it needs to generate a new identity file, this time for the DAL network.

The DAL node connects to the DAL network but it is not yet receiving data.

To verify that the DAL node is connected to the layer 1 node, check its log. When it is bootstrapped it logs messages that look like this:

Aug 12 17:44:19.985: started tracking layer 1's node
Aug 12 17:44:24.418: layer 1 node's block at level 7538687, round 0 is final
Aug 12 17:44:29.328: layer 1 node's block at level 7538688, round 0 is final

The DAL node waits for blocks to be finalized, so this log lags 2 blocks behind the layer 1 node's log.

Now that you have a DAL node running, you can start a baking daemon that uses that DAL node. Continue to Step 4: Run an Octez baking daemon.