Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checkTxResponse log to RPCResponse (#227)
## Describe your changes and provide context This change adds back the log string to the `rawLog` of the RPCResponse. This and sei-protocol/sei-tendermint#125 resolves the following issue: ``` On Cosmos Hub when a tx is broadcast with an incorrect sequence that endpoint will return a successful JSON RPC response with a payload that looks like this: {"code":32,"codeSpace":"sdk","log":"account sequence mismatch, expected 3, got 4: incorrect account sequence","data":{},"events":[],"gasWanted":0,"gasUsed":0,"hash":{...}} On the Sei node, when broadcasting a tx with incorrect sequence it returns a JSON RPC error response with an "Internal Error" code: {"code":-32603,"message":"Internal error","data":"account sequence mismatch, expected 72, got 73: incorrect account sequence"} ``` ## Testing performed to validate your change - unit tests - e2e test Co-authored-by: Cyson <[email protected]>
- Loading branch information