Add example which demonstrates difference in behavior of return type Result
for contracts
#956
Labels
A-examples
[examples] Work item
Result
for contracts
#956
This is a follow-up to #665.
We should create an example to illustrate how revert-on-
Err
works. The example should especially highlight thatResult
behaves different if returned from a root contract vs. returned from child contracts.ToDo
Result
. The root contract should have a message returningResult
as well.Err
a revert will happen, whereas for the child contract'sResult
return no revert will happen.ink-waterfall
to test this new example.The text was updated successfully, but these errors were encountered: