Hermes ft-transfer accepts mismatching arguments #869
Labels
A: bug
Admin: something isn't working
E: gravity
External: related to Gravity DEX
I: CLI
Internal: related to the relayer's CLI
Milestone
Many thanks to Jeseon Lee for reporting this bug!
Crate
ibc-relayer-cli
Summary of Bug
The command
hermes tx raw ft-transfer ibc-2 ibc-0 transfer channel-0 9999 10000 -n1 -d stake
never verifies that the arguments are coherent, and blindly constructs a PacketRecv even if the arguments mismatch. Concretely, the channel-port tupletransfer channel-0
which is supposedly hosted on chainibc-0
should provide a path to chainibc-2
, but this is never verified. The channelchannel-0
might be serving a path to another chain.Version
0.2.0
Steps to Reproduce
Acceptance Criteria
Error should be returned in case of mismatching
ft-transfer
arguments.For Admin Use
The text was updated successfully, but these errors were encountered: