Open csgui opened 5 months ago
Runtime error ShortReturnType should return the thrown value.
ShortReturnType
thrown
Also related to this issue, the ShortReturnType should be handled accordingly to https://github.com/stacks-network/stacks-core/blob/master/clarity/src/vm/errors.rs#L109. Currently, only AssertionFailed variant is being considered. We also need to handle ExpectedValue variant. Check the return_early implementation for more context.
AssertionFailed
ExpectedValue
Runtime error
ShortReturnType
should return thethrown
value.Also related to this issue, the
ShortReturnType
should be handled accordingly to https://github.com/stacks-network/stacks-core/blob/master/clarity/src/vm/errors.rs#L109. Currently, onlyAssertionFailed
variant is being considered. We also need to handleExpectedValue
variant. Check the return_early implementation for more context.