Skip to content

Support uint256 transfer amount #1319

Closed
@colin-axner

Description

@colin-axner

Crate

relayer-cli, v0.7.0

Summary

When attempting to transfer an amount of 2^64, an error is returned. I am testing a change in ibc-go which increases the allowed transfer amount from uint64 to uint256

Problem Definition

hermes  tx raw ft-transfer network1 network2 transfer channel-0 18446744073709551616 -d samoleans -t 180
error: invalid argument to option `amount`: number too large to fit in target type

Do the proto files need to be regenerated?

Proposal

Support up to uint256 transfer amounts

Acceptance Criteria

ft-transfer works with uint256 amounts


For Admin Use

  • Not duplicate issue
    Appropriate labels applied
    Appropriate milestone (priority) applied
    Appropriate contributors tagged
    Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

I: dependenciesInternal: related to dependenciesI: logicInternal: related to the relaying logic

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Support uint256 transfer amount · Issue #1319 · informalsystems/hermes