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

Unreachable exception when passing wrong parameters to a secret contract #128

Open
moriaab opened this issue Apr 28, 2019 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@moriaab
Copy link
Contributor

moriaab commented Apr 28, 2019

If wrong parameters are passed to secret contract deployment or computation, the "unreachable" exception occurs, which is unclear.

To reproduce the behavior, call to any contract computation with wrong input. For example, deploy simple calculator contract (examples/eng_wasm_contracts/simple_calculator) and execute computation of the function add with one parameter instead of two parameters.

Expected behavior
Clear message about the exact problem with the input.

@moriaab moriaab self-assigned this Apr 28, 2019
@moriaab moriaab added the bug Something isn't working label Apr 28, 2019
@moriaab
Copy link
Contributor Author

moriaab commented Apr 28, 2019

This defect is planned to be fixed as part of general improvement of treating wrong inputs for deployment and computation of secret contracts.

@lacabra lacabra changed the title Unreachable exception when passing worng parameters to a secret contract Unreachable exception when passing wrong parameters to a secret contract May 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant