-
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
Introducing add_account trusted call #3155
Conversation
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.
Could you have a very basic integration (ts) test for it? Or you could ask @0xverin to do it
Yes, but I think we should add the tests in a separate PR as it would require quite some changes to prepare the test suit (at least for the first test, once we have the utilities and helpers in place it would be trivial to add other test cases). Also, we could reuse what @jonalvarezz has been working on related to the omni account and the new types like |
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, it looks good in general, I left some comments for (id-)worker, ditto for bc-worker.
The most important thing if the response_size
is sufficient.
The correctness of add_account
will need to be verified by ts-test
tee-worker/bitacross/service/src/ocall_bridge/worker_on_chain_ocall.rs
Outdated
Show resolved
Hide resolved
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.
I'm fine with it, we are good to go after conflicts are resolved
As topic.
Most important changes:
add_account
: As this is a native task, we no longer need a two steps process for the identity verification.send_to_parentchain
method of theocall_api
has been refactored to allow waiting for other extrinsic statuses and to be able to return the extrinsic result.