Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oasis-test-runner: Enable sgx_loader in client node #5868

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions go/oasis-test-runner/oasis/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ func (client *Client) ModifyConfig() error {
if len(client.runtimes) > 0 {
client.Config.Mode = config.ModeClient
client.Config.Runtime.Provisioner = client.runtimeProvisioner
client.Config.Runtime.SGXLoader = client.net.cfg.RuntimeSGXLoaderBinary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible that net or cfg is nil?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should never be.

client.Config.Runtime.AttestInterval = client.net.cfg.RuntimeAttestInterval
}

client.AddSeedNodesToConfig()
Expand Down
Loading