HugoByte / polkadot-kurtosis-package

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

When the node type is anything which is not valid the node still runs #160

Closed hemz10 closed 5 months ago

hemz10 commented 7 months ago

Overview

Even when we give any invalid node type the package runs the node successfully. How can we make sure that we are running the node type that we give in the config.

Example config :

{
  "chain-type": "local",
  "relaychain": {
    "name": "kusama",
    "nodes": [
      {
        "name": "alice",
        "node-type": "invalid",
        "port": 9944,
        "prometheus": true
      },
      {
        "name": "bob",
        "node-type": "invalid",
        "port": 9945,
        "prometheus": true

      }
    ]
  },

  "para": [
    {
      "name":"encointer",
      "nodes": [
        {
          "name": "alice",
          "node-type": "invalid",
          "prometheus": true

        },
        {
          "name": "bob",
          "node-type": "invalid",
          "prometheus": true
        }
      ]
    }
  ],
  "explorer": true
}
shanithkk commented 7 months ago

For local we are hardcoding the node type as validator/collators.

hemz10 commented 5 months ago

closing this issue as fixed