PolymeshAssociation / Polymesh

Node for Polymesh Blockchain
https://polymesh.network/
GNU General Public License v3.0
165 stars 47 forks source link

Remove use of Context::current_identity #1698

Closed Neopallium closed 2 months ago

Neopallium commented 3 months ago

changelog

modified external API

modified events

other

Neopallium commented 3 months ago

I have added comments here on the 3 remaining curent_identity that we have to decide what to use for the DID. All other usages of current identity is just to swap (utility, contract runtime calls) the DID. If we can remove these last 3 calls, then we can remove all code for current DID.