sui
sui copied to clipboard
TS SDK doesn't correctly return Promise<SuiTransactionResponse>
call signAndExecuteTransaction with moveCall
Expected Result
It should reject the promise since the transaction failed.
Actual Result
The sui explore show a failed result and is aborted in the contract code. The promise was successfully resolved with an undefined result.