Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Determine how to track error events from contract #47

Closed
forgetso opened this issue Nov 15, 2021 · 1 comment
Closed

Determine how to track error events from contract #47

forgetso opened this issue Nov 15, 2021 · 1 comment

Comments

@forgetso
Copy link
Member

Master ink now reverts contract processing on returning an error. Work out how to propagate the error back to the user.

patractlabs/redspot#78

use-ink/ink#999

@forgetso
Copy link
Member Author

Running in read mode returns the error. Running in execute does not. So basically do a dry run before submitting any transaction.

@forgetso forgetso transferred this issue from prosopo/protocol Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant