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

gaia v6.0.0 cosmos/tx/v1beta1/txs How to convert broadcast transaction parameters #1123

Closed
jc0803kevin opened this issue Dec 17, 2021 · 1 comment

Comments

@jc0803kevin
Copy link

f413e80da3f4a819c7b836f2aaf5240

{
  "tx": {
    "msg": [
      "string"
    ],
    "fee": {
      "gas": "string",
      "amount": [
        {
          "denom": "stake",
          "amount": "50"
        }
      ]
    },
    "memo": "string",
    "signature": {
      "signature": "MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=",
      "pub_key": {
        "type": "tendermint/PubKeySecp256k1",
        "value": "Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH"
      },
      "account_number": "0",
      "sequence": "0"
    }
  },
  "mode": "block"
}

gaia v6.0.0

The parameters of the broadcast transaction interface have changed, how to serialize the original parameter interface into txBytes

@okwme
Copy link
Contributor

okwme commented Jan 19, 2022

Please check the release notes of gaia v6.0.0

  • BREAKING CHANGE NOTICE While a full list of breaking changes should be checked within the Cosmos SDK v0.44.3 CHANGELOG.md, it's imortant to highlight PR #10041 which impacts WALLETS AND EXCHANGES. This update has removed the deprecated the legacy REST endpoints for broadcast & encode. This means POST /tx and POST /txs/encode no longer work. Please see the REST Endpoints Migration guide to migrate to the new REST endpoints.

If this doesn't address your issue please reopen and give us some more context.

thank you!

@okwme okwme closed this as completed Jan 19, 2022
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

2 participants