Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC simulateBundle response is not fully camelCase #280

Open
futurekarol opened this issue Mar 19, 2023 · 0 comments
Open

RPC simulateBundle response is not fully camelCase #280

futurekarol opened this issue Mar 19, 2023 · 0 comments

Comments

@futurekarol
Copy link

in case of a failed bundle simulation the tx_signature field in the json response is in snake_case and not camelCase like all the other fields.

example response:

{
      "context": {
        "apiVersion": "1.13.7",
        "slot": 183287630
      },
      "value": {
        "summary": {
          "failed": {
            "error": {
              "TransactionFailure": {
                "InstructionError": [
                  2,
                  {
                    "Custom": 6001
                  }
                ]
              }
            },
            "tx_signature": "3RQxXBZ3V2vmAW8Nq17neRvBwB4DABp5bDCL156aom6bciUa4cGDSVZvHNPYGL3cMuJStv4VYwxKuMHWkEyJ394U"
          }
        },
        "transactionResults": [
          {
            "err": {
              "InstructionError": [
                2,
                {
                  "Custom": 6001
                }
              ]
            },
            "logs": [
              "Program ComputeBudget111111111111111111111111111111 invoke [1]",
              "Program ComputeBudget111111111111111111111111111111 success",
              "Program ComputeBudget111111111111111111111111111111 invoke [1]",
              "Program ComputeBudget111111111111111111111111111111 success",
            ],
            "postExecutionAccounts": null,
            "preExecutionAccounts": null,
            "unitsConsumed": 199577
          }
        ]
      }
    }
    ```
buffalu pushed a commit that referenced this issue Jul 18, 2024
Fix for --expected-shred-version when maybeWaitForSupermajority is on

Co-authored-by: Lijun Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant