HugoByte / polkadot-kurtosis-package

Polkadot Kurtosis Package
Apache License 2.0
7 stars 3 forks source link

Not able to start localnet for independent chains without relaychain #196

Open MuhammedIrfan opened 10 months ago

MuhammedIrfan commented 10 months ago

Overview

Not able to start localnet for independent chains without relaychain.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Setup kurtosis in kubernetes
  2. Run the package using
    kurtosis run github.com/hugobyte/polkadot-kurtosis-package '{ "chain_type": "localnet", "relaychain": {}, "parachains": [ { "name":"frequency", "nodes": [ { "name": "alice", "node_type": "validator", "prometheus": false } ] } ], "explorer": true }
  3. The execution stops with error
    
    There was an error interpreting Starlark code 
    Evaluation error: fail: relay config must be present for localnet
        at [github.com/muhammedirfan/polkadot-kurtosis-package/main.star:33:41]: run
        at [github.com/muhammedirfan/polkadot-kurtosis-package/main.star:62:32]: run_polkadot_setup
        at [github.com/muhammedirfan/polkadot-kurtosis-package/package_io/utils.star:47:20]: check_config_validity
        at [0:0]: fail

Error encountered running Starlark code.'



## Expected Behavior
The execution should complete without the error.
shanithkk commented 10 months ago

Hi @MuhammedIrfan, for local setup , we should have a relay chain to connect with. standalone parachian node setup not included in this package.