Describe the bug
After sending a tx with empty payload, dusk-blockchain panic and it's not able to restart anymore.
The "Accept"/"Finalize" calls still depend on the "persist" method to work properly.
In this case, while accepting a block, the Finalize method on rusk was called, but the block was not saved on the dusk-blockchain data due to an error while decoding the tx payload.
To Reproduce
Send an InterContractCall txs with empty () payload
Describe the bug After sending a tx with empty payload, dusk-blockchain panic and it's not able to restart anymore.
The "Accept"/"Finalize" calls still depend on the "persist" method to work properly. In this case, while accepting a block, the
Finalize
method on rusk was called, but the block was not saved on the dusk-blockchain data due to an error while decoding the tx payload.To Reproduce Send an InterContractCall txs with empty
()
payloadExpected behaviour Everything should work
Logs/Screenshot dusk.err
Additional context See also #1530