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

Update DAL file server tutorial for Ghostnet #424

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

timothymcmackin
Copy link
Collaborator

@timothymcmackin timothymcmackin commented Jul 24, 2024

Update the DAL file server tutorial:

  • Use Ghostnet instead of Weeklynet for convenience
  • Run a layer 1 node as part of the environment to get around an ACL issue on some public RPC nodes
  • Little clarifications and corrections
  • Reduce reliance on setting environment variables because we're constantly opening new windows where they might not be set
  • Switch to --observer-profiles to be in observer mode for the DAL node
  • More info about what you see happening on Explorus
  • Add info about what happens if there are no active attesters
  • Add --legacy more for the DAL trusted setup
  • Fix Rust version to 1.80 because the kernel doesn't compile at version 1.81.

Preview: https://docs-staging-git-update-dal-file-tutorial-trili-tech.vercel.app/tutorials/build-files-archive-with-dal

As noted in the comments, this tutorial doesn't currently work on Ghostnet because of an issue with DAL attesters. However, we may want to merge this update now anyway because it no longer works consistently on Weeklynet.

There is a note that says:

For the first 4 Tezos blocks produced after the origination of the Smart Rollup, the kernel will report that no slot has been attested for the targeted level, even if Explorus states the opposite. This is because, as of January, 2024, a Smart Rollup cannot fetch the content of a slot published before it is originated. This is why you must wait for 4 blocks before seeing slot page contents being logged.

Should this be 8 blocks for Ghostnet because that's the attestation_delay?

@timothymcmackin timothymcmackin self-assigned this Jul 24, 2024
Copy link

vercel bot commented Jul 24, 2024

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

Name Status Preview Updated (UTC)
docs-staging ✅ Ready (Inspect) Visit Preview Sep 11, 2024 5:56pm

@timothymcmackin timothymcmackin changed the title [WIP] Update tutorial for Ghostnet [WIP] Update DAL file server tutorial for Ghostnet Jul 29, 2024
@timothymcmackin timothymcmackin marked this pull request as ready for review July 30, 2024 20:45
@timothymcmackin timothymcmackin requested a review from a team as a code owner July 30, 2024 20:45
@timothymcmackin timothymcmackin changed the title [WIP] Update DAL file server tutorial for Ghostnet Update DAL file server tutorial for Ghostnet Jul 30, 2024
Copy link
Contributor

@ezal ezal left a comment

Choose a reason for hiding this comment

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

The changes look ok to me.

I haven't been able to finish the tutorial, as expected:

  • latest doesn't yet work with the current bootstrap node on Ghostnet
  • slots are not attested because there are not enough DAL-enabled bakers on Ghostnet.

But I guess this PR is a preparation for the case when these two issues will be fixed.

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