-
Notifications
You must be signed in to change notification settings - Fork 19
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
client-sdk: decode the result of native trusted operations #3169
Conversation
Signed-off-by: Jonathan Alvarez <[email protected]>
Signed-off-by: Jonathan Alvarez <[email protected]>
Signed-off-by: Jonathan Alvarez <[email protected]>
Signed-off-by: Jonathan Alvarez <[email protected]>
response: enclaveResult, | ||
response, | ||
extrinsicHash: extrinsic_hash.toString(), | ||
blockHash: block_hash.toString(), |
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.
The block_hash
is an Option
, would this work?
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.
It won't throw, if that's what you mean.
It'd either be: the hex value, empty strings, or 0x0000...
but for these methods, blockHash should always be there, right? since we are watching until InBlock?
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.
Yes, we are waiting until the is Finalized
as topic
client follow-up of #3155 now that the native responses include results.
Published packages