Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recast this as a node/baker/DAL tutorial #495

Merged
merged 11 commits into from
Dec 20, 2024

Conversation

timothymcmackin
Copy link
Collaborator

@timothymcmackin timothymcmackin commented Dec 18, 2024

This tutorial is going to be the primary place we point people to for instructions about running a node:

  • Recast it from a DAL node tutorial to a node tutorial that includes a DAL node.
  • Make consistent the systemd service files
  • Use the tezos user to run the services

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-staging ✅ Ready (Inspect) Visit Preview Dec 20, 2024 1:41pm

@NicNomadic
Copy link
Collaborator

Maybe we should also run an accuser then, to be complete?

@NicNomadic
Copy link
Collaborator

Also, we should just mention that it could be recommended to also run a signer, just referring to the doc for that (e.g. https://tezos.gitlab.io/user/key-management.html#signer).

docs/tutorials/join-dal-baker.md Outdated Show resolved Hide resolved
docs/tutorials/join-dal-baker/run-baker.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@NicNomadic NicNomadic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea to also include the node in the picture, so we can go ahead and complete the scene

Co-authored-by: NicNomadic <148877430+NicNomadic@users.noreply.github.com>
@timothymcmackin
Copy link
Collaborator Author

  • Added optional steps for an accuser
  • Mentioned remote signing
  • Made the service files consistent

Copy link
Collaborator

@NicNomadic NicNomadic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

docs/tutorials/join-dal-baker/run-baker.md Outdated Show resolved Hide resolved
docs/tutorials/join-dal-baker/run-baker.md Outdated Show resolved Hide resolved

1. To run a baking daemon that connects to the DAL, start it as usual and pass the URL to your DAL node to it with the `--dal-node` argument:

```bash
octez-baker-PsParisC run with local node "$HOME/.tezos-node" my_baker --liquidity-baking-toggle-vote pass --adaptive-issuance-vote on --dal-node http://127.0.0.1:10732
```

Note that the command for the baker depends on the protocol version.
This example uses the ParisC protocol, so the command starts with `octez-baker-PsParisC`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to use a variable here for the protocol suffix that gets instantiated by Docusaurus at build time, to avoid changing the tutorial at a protocol shift?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few ways to do this -- I'll add a note as part of our discussion about a list of to-dos for each protocol upgrade.

timothymcmackin and others added 2 commits December 20, 2024 08:40
Co-authored-by: NicNomadic <148877430+NicNomadic@users.noreply.github.com>
Co-authored-by: NicNomadic <148877430+NicNomadic@users.noreply.github.com>
@timothymcmackin timothymcmackin merged commit acb1153 into main Dec 20, 2024
4 checks passed
@timothymcmackin timothymcmackin deleted the recast-dal-node-tutorial branch December 20, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants