iroha
iroha copied to clipboard
Record Wasm trigger executions for auditing
This is a leftover task from PR #5471.
Currently, when a trigger’s executable is implemented in Wasm, its execution is not recorded,
and thus cannot be retrieved as part of a CommittedTransaction for auditing purposes.
This functionality should be reintegrated after the upcoming redesign of the smart contract VM.
I could have gone a step further by adding a buffer of executed instructions inside
StateTransaction, but since that effort is likely to be wasted by upcoming changes to Wasm, I intend to leave it as a stub for now.Originally posted by @s8sato in https://github.com/hyperledger-iroha/iroha/pull/5471#discussion_r2182057380