Skip to content

Conversation

gurbaj5124871
Copy link
Contributor

This is an automated generated pr
changelog

  • auto-fix: interface type updated for CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec

Block Data
network: cosmoshub-4
height: 21383786

errors

[
  {
    "path": "$input.transactions[4].messages[0].data.grantee",
    "expected": "string"
  },
  {
    "path": "$input.transactions[4].messages[0].data.msgs",
    "expected": "Array<CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | ... 6 more ... | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke>"
  },
  {
    "path": "$input.transactions[4].messages[0].data.error",
    "expected": "undefined",
    "value": "unable to resolve /cosmos.staking.v1beta1.MsgTokenizeShares: not found"
  }
]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21548150
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper103agss48504gkk3la5xcg5kxplaf6ttnuv234h",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "1100"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[1].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper103agss48504gkk3la5xcg5kxplaf6ttnuv234h",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "1100"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21548748
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1jxv0u20scum4trha72c7ltfgfqef6nsch7q6cu",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "100"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[5].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1jxv0u20scum4trha72c7ltfgfqef6nsch7q6cu",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "100"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21549346
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1nesedjyngslkvgg8jxy6nuy6r4g6ty0fdk3yky",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "1000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[7].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1nesedjyngslkvgg8jxy6nuy6r4g6ty0fdk3yky",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "1000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21552334
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1kyfce0nvluyhgfsdzz8hwrsf5336gsc95pyy4u",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "9"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[0].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1kyfce0nvluyhgfsdzz8hwrsf5336gsc95pyy4u",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "9"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21558089
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper1rwh0cxa72d3yle3r4l8gd7vyphrmjy2kpe4x72",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[1].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper1rwh0cxa72d3yle3r4l8gd7vyphrmjy2kpe4x72",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21558927
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[2].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21560118
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[4].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21600968
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
        "validatorSrcAddress": "cosmosvaloper1qaa9zej9a0ge3ugpx3pxyx602lxh3ztqgfnp42",
        "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
        "amount": {
          "denom": "uatom",
          "amount": "10"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[7].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos1ppyhht0lhrygjhd2e7whhslk69mw33tn6cuudq",
      "validatorSrcAddress": "cosmosvaloper1qaa9zej9a0ge3ugpx3pxyx602lxh3ztqgfnp42",
      "validatorDstAddress": "cosmosvaloper18ruzecmqj9pv8ac0gvkgryuc7u004te9rh7w5s",
      "amount": {
        "denom": "uatom",
        "amount": "10"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an automated generated comment
Block Data
network: cosmoshub-4
height: 21617355
data:

[
  {
    "grantee": "cosmos1zckqq52ax0g328quqhwhht4l4n0z22rxrymxka",
    "msgs": [
      {
        "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
        "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
        "validatorSrcAddress": "cosmosvaloper18al7yt9q5a7n7aqje9dat36efyxssyahmx2gzs",
        "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
        "amount": {
          "denom": "uatom",
          "amount": "10000"
        }
      }
    ]
  }
]

errors:

[
  {
    "path": "$input.transactions[0].messages[0].data.msgs[0]",
    "expected": "(CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke)",
    "value": {
      "@type": "/cosmos.staking.v1beta1.MsgBeginRedelegate",
      "delegatorAddress": "cosmos17ywnl9gqf3a7ap7f54gylltcyct6wuyjqup54h",
      "validatorSrcAddress": "cosmosvaloper18al7yt9q5a7n7aqje9dat36efyxssyahmx2gzs",
      "validatorDstAddress": "cosmosvaloper1n229vhepft6wnkt5tjpwmxdmcnfz55jv3vp77d",
      "amount": {
        "denom": "uatom",
        "amount": "10000"
      }
    }
  }
]

interface:

export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec {
    type: string;
    data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData {
    grantee: string;
    msgs: CosmosHub4TrxMsgCosmosAuthzV1Beta1MsgExecMsgsItem[];
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecMsgsItem {
    '@type': string;
    delegatorAddress: string;
    validatorSrcAddress: string;
    validatorDstAddress: string;
    amount: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount;
}
interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecAmount {
    denom: string;
    amount: string;
}

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

Successfully merging this pull request may close these issues.

1 participant