Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise Exception() not executing properly #28

Open
nickfujita opened this issue Mar 5, 2019 · 0 comments
Open

raise Exception() not executing properly #28

nickfujita opened this issue Mar 5, 2019 · 0 comments

Comments

@nickfujita
Copy link

When invoking a smart contract using Run-debug on SmartX, and a 'raise Exception()' is fired, the result returns an error, the same as when deployed. However, the storage debugger still writes retains the storage values that were written as a part of the failed invoke. When deployed, if a 'raise Exception()' is executed, any prior calls to 'Put' appear to be reverted, and not written to storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant