optimistic wallet identity added as annotation to submitted bacalhau jobs#601
Conversation
…mistic wallet identity annotation to bacalhau jobs
LAB-500 add optimistic wallet identity to bacalhau job annotation
Related to LAB-341. This will let us associate users' wallet addresses with bacalhau job IDs for |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Update: this needs to be built for |
hevans66
left a comment
There was a problem hiding this comment.
This works for me. My plan will be to pull the userId out and save it as a column in the DB, so as long as I can find it in the JSON, it will be all good.
| } | ||
|
|
||
| if autoRun && userID != "" { | ||
| *annotationsForAutoRun = append(*annotationsForAutoRun, fmt.Sprintf("userId=%s", userID)) |
There was a problem hiding this comment.
What characters are possible values in this wallet id? It would be nice to pick a separator that won't occur in the given user id. Or at least be aware that it can exist for parsing down the line.
PR Summary
|
Annotations are added in the format
userId=<optimistic wallet identity>