Skip to content

Inefficient construction of packet data in msg transfer #7080

@colin-axner

Description

@colin-axner

Summary

After the quick refactor of MsgTransfer on the port router branch. I noticed we iterate over coins twice and create tokens from coin twice. In unwindHops and before sending a MsgSendPacket

We should refactor the code to pass unwindHops the tokens rather than coins so that we only iterate once


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned

Metadata

Metadata

Assignees

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions