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

Add tutorial for devnet #914

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add tutorial for devnet #914

wants to merge 1 commit into from

Conversation

mslipper
Copy link
Contributor

No description provided.

Copy link

netlify bot commented Sep 23, 2024

Deploy Preview for docs-optimism ready!

Name Link
🔨 Latest commit d38582f
🔍 Latest deploy log https://app.netlify.com/sites/docs-optimism/deploys/66f11121a4c62d000978b4cb
😎 Deploy Preview https://deploy-preview-914--docs-optimism.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@WillPapper
Copy link
Contributor

Found this when looking for the latest devnet deployment info :) Apologies if I'm jumping the gun here on the draft PR, I'm deep in debugging some devnet sequencer issues and switching to the new method looked like the best option.

This tutorial seems to fail for me. I tried it on both Mac and Linux, on Mac using Orbstack + Homebrew Docker/Kurtosis and on Linux using an Ubuntu-based GitHub Codespace. Both fail with the same error, so I don't believe it's related to the local environment.

Here are the logs from the GitHub Codespace instance:
Kurtosis Error:

kurtosis run github.com/ethpandaops/ethereum-package --args-file ./network-config.yml

The Kurtosis CLI collects user metrics by default. These metrics are anonymized, private & obfuscated. These metrics help us better understand what features are used, what features to invest in and what features might be buggy.
In case you wish to not send metrics, you can do so by running - kurtosis analytics disable
Read more at https://docs.kurtosis.com/advanced-concepts/metrics-philosophy

✔ (Optional) Share your email address for occasional updates & outreach for product feedback from Kurtosis: █
INFO[2024-09-28T02:35:26Z] No Kurtosis engine was found; attempting to start one... 
INFO[2024-09-28T02:35:26Z] Starting the centralized logs components...  
INFO[2024-09-28T02:35:26Z] Pulling image 'timberio/vector:0.31.0-debian' 
INFO[2024-09-28T02:35:35Z] Centralized logs components started.         
INFO[2024-09-28T02:35:35Z] Pulling image 'traefik:2.10.6'               
INFO[2024-09-28T02:35:42Z] Reverse proxy started.                       
INFO[2024-09-28T02:35:42Z] Pulling image 'alpine:3.17'                  
INFO[2024-09-28T02:35:45Z] Pulling image 'kurtosistech/engine:1.3.0'    
INFO[2024-09-28T02:35:49Z] Successfully started Kurtosis engine         
INFO[2024-09-28T02:35:49Z] Creating a new enclave for Starlark to run inside... 
INFO[2024-09-28T02:36:06Z] Enclave 'nameless-playa' created successfully 
There was an error interpreting Starlark code 
Evaluation error: fail: Invalid parameter optimism_package, allowed fields ["participants", "participants_matrix", "network_params", "dora_params", "tx_spammer_params", "goomy_blob_params", "prometheus_params", "grafana_params", "assertoor_params", "mev_params", "xatu_sentry_params", "port_publisher", "wait_for_finalization", "global_log_level", "snooper_enabled", "ethereum_metrics_exporter_enabled", "parallel_keystore_generation", "disable_peer_scoring", "persistent", "mev_type", "xatu_sentry_enabled", "apache_port", "global_tolerations", "global_node_selectors", "keymanager_enabled", "checkpoint_sync_enabled", "checkpoint_sync_url", "additional_services"]
        at [github.com/ethpandaops/ethereum-package/main.star:76:57]: run
        at [github.com/ethpandaops/ethereum-package/src/package_io/input_parser.star:83:30]: input_parser
        at [github.com/ethpandaops/ethereum-package/src/package_io/sanity_check.star:332:17]: sanity_check
        at [0:0]: fail

Error encountered running Starlark code.

⭐ us on GitHub - https://github.com/kurtosis-tech/kurtosis
INFO[2024-09-28T02:36:09Z] ======================================================= 
INFO[2024-09-28T02:36:09Z] ||          Created enclave: nameless-playa          || 
INFO[2024-09-28T02:36:09Z] ======================================================= 
Name:            nameless-playa
UUID:            e86595d61167
Status:          RUNNING
Creation Time:   Sat, 28 Sep 2024 02:35:49 UTC
Flags:           

========================================= Files Artifacts =========================================
UUID   Name

========================================== User Services ==========================================
UUID   Name   Ports   Status

Version info:

docker --version
Docker version 27.0.3-1, build 7d4bcd863a4c863e650eed02a550dfeb98560b83

kurtosis version
CLI Version:   1.3.0

To see the engine version (provided it is running): kurtosis engine status

kurtosis engine status
A Kurtosis engine is running with the following info:
Version:   1.3.0

Network config file:

cat network-config.yml 
optimism_package:
  chains: # you can define multiple L2s, which will be deployed against the same L1 as a single Superchain
    - participants: # each participant is a node in the network. here we've defined two, one running op-geth and one running op-reth
          - el_type: op-geth
            sequencer: true # this node will be the sequencer
          - el_type: op-reth
      network_params:
        name: rollup-1 # can be anything as long as it is unique
        chain_id: 12345 # can be anything as long as it is unique
  op_contract_deployer_params: # configures the contract versions to deploy
    image: mslipper/op-deployer:latest
    artifacts_url: https://storage.googleapis.com/oplabs-contract-artifacts/artifacts-v1-4accd01f0c35c26f24d2aa71aba898dd7e5085a2ce5daadc8a84b10caf113409.tar.gz

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