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

amino signing failed with MsgTransfer #585

Open
liujun93 opened this issue Mar 10, 2024 · 0 comments
Open

amino signing failed with MsgTransfer #585

liujun93 opened this issue Mar 10, 2024 · 0 comments

Comments

@liujun93
Copy link

liujun93 commented Mar 10, 2024

message type

MsgTransfer from "codegen/ibc/applications/transfer/v1/tx";

failed case 1

memo set with empty string

  {
    typeUrl: MsgTransfer.typeUrl,
    value: {
      sourcePort: "transfer",
      sourceChannel: "channel-0",
      sender: address.osmosis.genesis,
      receiver: address.cosmoshub.test1,
      token: {
        amount: "1000000",
        denom: chain.osmosis.denom,
      },
      timeoutHeight: {
        revisionHeight: 13417750n,
        revisionNumber: 1n,
      },
      timeoutTimestamp: BigInt(Math.floor(Date.now() / 1000) + 12000000000),
      memo: "",
    },
  },

failed case 2

timeoutTimestamp set with zero

  {
    typeUrl: MsgTransfer.typeUrl,
    value: {
      sourcePort: "transfer",
      sourceChannel: "channel-0",
      sender: address.osmosis.genesis,
      receiver: address.cosmoshub.test1,
      token: {
        amount: "1000000",
        denom: chain.osmosis.denom,
      },
      timeoutHeight: {
        revisionHeight: 13417750n,
        revisionNumber: 1n,
      },
      timeoutTimestamp: 0n,
      memo: "test",
    },
  },
@liujun93 liujun93 changed the title amino signing failed amino signing failed with MsgTransfer Mar 10, 2024
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