-
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
Adding request_intent trusted call #3143
Conversation
identity verification
This reverts commit dd7c83f.
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.
In general looks good, thanks. I left comments regarding nonce
#[codec(index = 2)] | ||
SystemRemark(BoundedVec<u8, ConstU32<MAX_REMARK_LEN>>), | ||
#[codec(index = 3)] | ||
TransferNative(TransferNative), |
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.
While this is fine for the demo, how about having a more generic CallNative(Box<RuntimeCall>)
?
This PR adds the first trusted call related to the omni-account, here are some of the most important changes:
dispatch_as_omni_account
call takes thenonce
of the omni account. (Included in the TrustedCall), so this part of the verification happens on-chain.