rusk icon indicating copy to clipboard operation
rusk copied to clipboard

Return data from executed transactions

Open miloszm opened this issue 6 months ago • 1 comments

Summary

Currently, after executing transactions, we do not have return data which results from transaction's execution. In particular, in case of contract deployment transaction, we do not have information about deployment contract id, and no deployment specific error information, should transaction be successful yet deployment was not done, for example in case of contract-already-exists error.

Possible solution design or implementation

Devise a scheme to pass the return data back to transaction executor. Possibly, enrich the SpentTransaction struct with a field carrying the return data.

Additional context

This issue is related to the deployment epic #1071, yet it is also wider in scope, as it pertains to transactions in general.

miloszm avatar Aug 05 '24 09:08 miloszm