-
Notifications
You must be signed in to change notification settings - Fork 46
Specify return type in perform_trusted_operation
#1500
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
Specify return type in perform_trusted_operation
#1500
Conversation
clangenb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I believe this is a good ergonomic improvement! 👍 I have one question, otherwise it looks good!
clangenb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! Looks good to me now!
|
@clangenb I think I may need help with solving this CI failure, I've tried to reproduce it locally with localy built binaries, started integritee node and worker in teeracle mode but the test pass : Startup commands: I've only changed From the CI run logs it turns out there is deadlock/rest client issue: Maybe it's just a random network issue and it needs retry ? 🤔 |
|
Hmm, I retried it multiple times, and it consistently fails, and I retried master, which works. So it seems to be an issue with this PR, although it is not obvious to me, what problem we experience. I might have time to look at it later this week. |
|
Ok 👍🏼 |
|
My current guess is that the integration tests simply fail because it is a PR from a fork. Could it be that you don't have set up the API keys in your fork? I am just curious, but I will merge the PR anyhow, after the rest of the CI passes. |
|
@clangenb I just forked repo - I didn't set my api key in github. |
|
I see that the teeracle tests has passed now, did you set an api key? |
|
Thanks for your contributions! Highly valued! |
I missed that comment sorry. |
Makes
fn perform_trusted_operationgeneric over return type so scalec decoding is handled internally.We added it in Litentry worker in this PR and decided to propose it to the upstream repo 🙃 .