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

Tx broadcast Error #3980

Closed
ssssssu12 opened this issue Mar 27, 2019 · 4 comments
Closed

Tx broadcast Error #3980

ssssssu12 opened this issue Mar 27, 2019 · 4 comments
Labels
S:needs more info This bug can't be addressed until more information is provided by the reporter.

Comments

@ssssssu12
Copy link

POST /txs

Request:

{
  "tx": {
    "msg": [
      {
        "type": "cosmos-sdk/Send",
        "value": {
          "inputs": [
            {
              "address": "cosmos1j0mtcj3g56hvlz66k3eatdvqffrwyl5rche78q",
              "coins": [
                {
                  "denom": "muon",
                  "amount": "1000000.0000000000000000"
                }
              ]
            }
          ],
          "outputs": [
            {
              "address": "cosmos1c83r235lg8g9l4zd6lec3cut8zk2dlejc6rpc5",
              "coins": [
                {
                  "denom": "muon",
                  "amount": "1000000.0000000000000000"
                }
              ]
            }
          ]
        }
      }
    ],
    "fee": {
      "gas": "200000",
      "amount": [
        {
          "denom": "muon",
          "amount": "5000"
        }
      ]
    },
    "memo": "",
    "signatures": [
      {
        "signature": "iZwioRobBkfsJ+fy3kOyix7EF8XTRn08qwNOzE6ozXd7JYu83rqNJOtshH8BLV2jxrtlFlTkNr6GLOwh8Bip4Q==",
        "account_number": "992",
        "sequence": "0",
        "pub_key": {
          "type": "tendermint/PubKeySecp256k1",
          "value": "Axu138C4cdUhsKuOXLLmowRnIv3yAzn0eAn+4X69OzBt"
        }
      }
    ]
  },
  "return": "block"
}

Response:

{"error":"json: cannot unmarshal string into Go value of type map[string]json.RawMessage"}

What's wrong?

@alexanderbez
Copy link
Contributor

@ssssssu12 please specific the version you are using as this is critical.

@alexanderbez alexanderbez added the S:needs more info This bug can't be addressed until more information is provided by the reporter. label Mar 27, 2019
@ssssssu12
Copy link
Author

Hi @alexanderbez

# go version
go version go1.11.5 linux/amd64

# gaiad version
0.33.0 

And testnet: Gaia-13002

Let me know if you need any more information.

@alexanderbez
Copy link
Contributor

I ran a fresh install and network of v0.33.0 and did not get this issue -- I cannot reproduce. Make sure your gaiad and gaiacli versions are correct. Also note, it's "cosmos-sdk/MsgSend" not "cosmos-sdk/Send". This tells me you might be using a wrong version.

@ssssssu12
Copy link
Author

Thank you for your support :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S:needs more info This bug can't be addressed until more information is provided by the reporter.
Projects
None yet
Development

No branches or pull requests

2 participants