diff --git a/.changelog/3794.feature.md b/.changelog/3794.feature.md new file mode 100644 index 00000000000..2054a3cb367 --- /dev/null +++ b/.changelog/3794.feature.md @@ -0,0 +1 @@ +oasis-net-runner: Configure a client node even without runtimes diff --git a/.changelog/3805.bugfix.md b/.changelog/3805.bugfix.md new file mode 100644 index 00000000000..3e8fca03bd8 --- /dev/null +++ b/.changelog/3805.bugfix.md @@ -0,0 +1 @@ +oasis-net-runner: Configure a runtime in default fixture diff --git a/go/oasis-net-runner/fixtures/default.go b/go/oasis-net-runner/fixtures/default.go index 57a199c8adb..b2e69f48867 100644 --- a/go/oasis-net-runner/fixtures/default.go +++ b/go/oasis-net-runner/fixtures/default.go @@ -90,6 +90,9 @@ func newDefaultFixture() (*oasis.NetworkFixture, error) { fixture.Entities = append(fixture.Entities, oasis.EntityCfg{}) } + // Always run a client node. + fixture.Clients = []oasis.ClientFixture{{}} + if viper.GetBool(cfgSetupRuntimes) { fixture.Runtimes = []oasis.RuntimeFixture{ // Key manager runtime. @@ -156,7 +159,7 @@ func newDefaultFixture() (*oasis.NetworkFixture, error) { {Entity: 1, Runtimes: []int{1}}, {Entity: 1, Runtimes: []int{1}}, } - fixture.Clients = []oasis.ClientFixture{{}} + fixture.Clients[0].Runtimes = []int{1} } return fixture, nil