You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, users have to specify post-conditions for transactions that transfer assets from a contract. Users do not care about whether a contract is losing/transferring any assets.
Describe the solution you'd like
Only verify post-conditions that affect the tx-sender
Hi @friedger, this is something the wallet should be doing for the user. I think there needs to be an API endpoint on the node that does the following:
It returns the JSON-serialized AssetMap from the contract call, which tells you which assets moved from which principals
This way, the wallet can run the contract-call, get the AssetMap, generate the post-conditions, and present them to the user to confirm that the assets that are moving are all desired.
jcnelson
changed the title
Remove requirements for contract post conditions
More fine-grained allow/deny modes for post-conditions
Apr 5, 2021
I renamed this issue to call for a re-assessment of the post-condition allow/deny modes, so that a user can, for example, execute a deny-mode transaction only on their own tokens, but allow-mode on other principals' tokens.
Is your feature request related to a problem? Please describe.
Currently, users have to specify post-conditions for transactions that transfer assets from a contract. Users do not care about whether a contract is losing/transferring any assets.
Describe the solution you'd like
Only verify post-conditions that affect the tx-sender
Additional context
leather-io/extension#969
The text was updated successfully, but these errors were encountered: