digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
Other
802 stars 204 forks source link

Expose authorizing context in Daml #13825

Open cocreature opened 2 years ago

cocreature commented 2 years ago

I often find myself needing access to the parties that are currently authorizing my update block. I can always get access by looking at the controllers & signatories & recomputing it but this is somewhat annoying & error prone especially given #13793 which means I have to repeat the full controller expression. A primitive authorizingParties : Update [Party] would be nice for this.

basvangijzel-DA commented 2 years ago

@cocreature Are you still running into this issue? We're happy to have a look at it if so.

cocreature commented 2 years ago

I still find a use for this occasionally but I’d say it’s low priority. Let’s get upgrading working first :)