Commit 1c2eaa3b authored by Andrew Jones's avatar Andrew Jones Committed by Sergey Pepyakin
Browse files

srml-contract: test calls not dispatched if tx fails (#2917)



* Test for not dispatching calls if top level execution fails

* Add comment to test

* Only dispatch calls if contract execution succeeded

Note that `calls` should be empty in this case, but this makes things
clearer

* Add comment to test

Co-Authored-By: default avatarSergei Pepyakin <[email protected]>

* Revert: Only dispatch calls if contract execution succeeded
parent 7f611076
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment