dfinity / ic-repl

Apache License 2.0
70 stars 10 forks source link

BUG: Testing the SNS requires us to use the system subnet type with the attached network config which breaks ic-repl #67

Closed saikatdas0790 closed 1 year ago

saikatdas0790 commented 1 year ago

Hi @chenyan-dfinity

When testing the SNS workflow locally, we need to set the following in our network config,

{
  "local": {
    "bind": "127.0.0.1:8080",
    "type": "ephemeral",
    "replica": {
      "subnet_type": "system"
    }
  }
}

This seems to be breaking ic-repl from running and gives the following output: image

Thoughts on how we can fix this? Thank you for your inputs :)

chenyan-dfinity commented 1 year ago

You can specify the replica url as command-line flag: ic-repl -r http://127.0.0.1:8080