massalabs / massa

The Decentralized and Scaled Blockchain
https://massa.net
5.57k stars 711 forks source link

Keep execution traces of revert txs #4671

Open JoeTheCookie217 opened 6 months ago

JoeTheCookie217 commented 6 months ago

Is your feature request related to a problem? Please describe. Currently, only the execution traces of successful transactions are kept (and streamed via gRPC w/ newSlotABICallStacks). This is pretty constraining when debugging smart contracts

Describe the solution you'd like Include transactions that revert as well. It could be a sub-option to the execution-trace feature as its already expensive for a node to support this

Additional context While this would improve the DX, I can understand its not crucial at this point