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

chore: failed to decode certain txs #495

Open
SebastianElvis opened this issue Feb 23, 2024 · 0 comments
Open

chore: failed to decode certain txs #495

SebastianElvis opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SebastianElvis
Copy link
Member

SebastianElvis commented Feb 23, 2024

Summary of Bug

Some transactions cannot be decoded correctly.

Version

Latest dev branch

Steps to Reproduce

$babylond query tx D8AF659DA4B698A6677AB85454CA659FC4A3CF5756824AF1CF6CADFB34E68B67 --node https://rpc.testnet3.babylonchain.io:443

will return the following

Error: Mismatched "*types.Any": {TagNum: 1, GotWireType: "varint" != WantWireType: "bytes"}: tx parse error
Usage:
  babylond query tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature] [flags]

Flags:
      --grpc-addr string   the gRPC endpoint to use for this chain
      --grpc-insecure      allow gRPC over insecure channels, if not the server must use TLS
      --height int         Use a specific height to query state at (this can error if the node is pruning state)
  -h, --help               help for tx
      --node string        <host>:<port> to CometBFT RPC interface for this chain (default "tcp://localhost:26657")
  -o, --output string      Output format (text|json) (default "text")
      --type string        The type to be used when querying tx, can be one of "hash", "acc_seq", "signature" (default "hash")

Global Flags:
      --chain-id string     The network chain ID
      --home string         directory for config and data (default "/home/runchao/.babylond")
      --log_format string   The logging format (json|plain) (default "plain")
      --log_level string    The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info")
      --log_no_color        Disable colored logs
      --trace               print out full stack trace on errors

4:34PM ERR failure when running app err="Mismatched \"*types.Any\": {TagNum: 1, GotWireType: \"varint\" != WantWireType: \"bytes\"}: tx parse error"
@SebastianElvis SebastianElvis added the bug Something isn't working label Feb 23, 2024
@SebastianElvis SebastianElvis changed the title failed to decode certain txs chore: failed to decode certain txs Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant