-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
It looks like, Ephemeral currently supports only a single output object for MPC programs.
ephemeral/pkg/ephemeral/io/feeder.go
Lines 140 to 160 in 70795c1
| func (f *AmphoraFeeder) writeToAmphora(act *Activation, resp Result) ([]string, error) { | |
| client := f.conf.AmphoraClient | |
| os := amphora.SecretShare{ | |
| SecretID: act.GameID, | |
| // When writing to Amphora, the slice has exactly 1 element. | |
| Data: resp.Response[0], | |
| Tags: []amphora.Tag{ | |
| amphora.Tag{ | |
| ValueType: "STRING", | |
| Key: "gameID", | |
| Value: act.GameID, | |
| }, | |
| }, | |
| } | |
| err := client.CreateSecretShare(&os) | |
| f.logger.Infow(fmt.Sprintf("Created secret share with id %s", os.SecretID), GameID, act.GameID) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return []string{act.GameID}, nil | |
| } |
That seems limiting in many scenarios.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.