Skip to content

Commit

Permalink
oasis-net-runner: Fix fixtures without a keymanager
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrus committed Mar 14, 2022
1 parent c80540f commit f03e88e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions go/oasis-net-runner/fixtures/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,16 @@ func newDefaultFixture() (*oasis.NetworkFixture, error) {
AnyNode: &registry.AnyNodeRuntimeAdmissionPolicy{},
},
GovernanceModel: registry.GovernanceEntity,
Deployments: []oasis.DeploymentCfg{
{
Binaries: map[node.TEEHardware]string{
tee: viper.GetString(cfgKeymanagerBinary),
},
},
},
},
}
if usingKeymanager {
fixture.Runtimes[0].Deployments = []oasis.DeploymentCfg{
{
Binaries: map[node.TEEHardware]string{
tee: viper.GetString(cfgKeymanagerBinary),
},
},
}
fixture.KeymanagerPolicies = []oasis.KeymanagerPolicyFixture{
{Runtime: 0, Serial: 1},
}
Expand Down

0 comments on commit f03e88e

Please sign in to comment.