Skip to content

JSON serialization of ExecTxResult breaks naming of fields as they were in ResponseDeliverTx #855

Closed

Description

@mzabaluev

tendermint/tendermint#9468 introduced the ExecTxResult message type as a drop-in replacement for ResponseDeliverTx where it was used inside other messages. However, it did not carry over the options that explicitly set names for some of the fields:

  int64          gas_wanted = 5 [json_name = "gas_wanted"];
  int64          gas_used   = 6 [json_name = "gas_used"];

As a result, the JSON serialization of the structures containing ExecTxResult in RPC has changed in a backward-incompatible way.

Activity

  1. added
    bug
    on May 17, 2023
  2. added 2 commits that reference this issue on May 19, 2023
    40e6611
    8e24c77
  3. added a commit that references this issue on May 19, 2023
    0511efa
  4. added a commit that references this issue on May 23, 2023
    af6c920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrpc

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions