You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a contract with the method, that updates contract storage and returns some kind of ID. In the test, I had to call this method multiple times. ContractInvoker.Invoke method requires specific result, but in my case HALT state was enough to proceed. If I understand correctly, the only way to invoke method without result checking is to define such function in test code:
I had a contract with the method, that updates contract storage and returns some kind of ID. In the test, I had to call this method multiple times. ContractInvoker.Invoke method requires specific result, but in my case
HALT
state was enough to proceed. If I understand correctly, the only way to invoke method without result checking is to define such function in test code:It would be nice to see an optional result check for contract method invocations in
neotest
library./cc @fyrchik
The text was updated successfully, but these errors were encountered: