You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was surfaced while adapting integration tests for server/v2. STF.deliverTx always returns TxResult.Code as the default value (0) regardless of transactions execution status. Relevant code snippet below.
As just discussed in our runtime sync, we'll remove Code from TxResult, as the consensus is filling it (by parsing the abci error from the error being returned)
Is there an existing issue for this?
What happened?
This was surfaced while adapting integration tests for server/v2.
STF.deliverTx
always returnsTxResult.Code
as the default value (0) regardless of transactions execution status. Relevant code snippet below.cosmos-sdk/server/v2/stf/stf.go
Lines 206 to 213 in bc3ddfa
Cosmos SDK Version
main
How to reproduce?
run a failing transaction, the result should be non zero and contain the correct error code as defined in
cosmossdk.io/error
The text was updated successfully, but these errors were encountered: