I'm thinking that somehow a staged tx should be able to be proposed both from the currently active app and also from the "top level app" in an embedded context. To allow a user prompt embedded in a third-party app to propose a staged tx.
We currently needed this for the accounts plugin user prompt to be able to propose setKey on the new premium account. To accomplish it, for now, we just completely whitelisted accounts in transact. I think it's safe for now because the only accounts plugin function that calls it is itself ONLY callable by accounts. But that doesn't feel like the right long term solution.
I'm thinking that somehow a staged tx should be able to be proposed both from the currently active app and also from the "top level app" in an embedded context. To allow a user prompt embedded in a third-party app to propose a staged tx.
We currently needed this for the accounts plugin user prompt to be able to propose
setKeyon the new premium account. To accomplish it, for now, we just completely whitelisted accounts in transact. I think it's safe for now because the only accounts plugin function that calls it is itself ONLY callable byaccounts. But that doesn't feel like the right long term solution.