-
Notifications
You must be signed in to change notification settings - Fork 335
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
Add identity precompile #2406
Add identity precompile #2406
Conversation
I just remembered that there's already a (rather silly) precompile called Should we give this a more specific name to avoid confusion...? |
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.
Looks good, I left some nits and also a maybe-important question about using handle.context().caller
.
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.
Looks good! Left a few more nits that aren't critical
What does it do?
adds identity precompile to interface with substrate's pallet-identity for signed origin extrinsics.
See Identity.sol for the interface