Skip to content

Commit

Permalink
Problem: transfer msg is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Oct 24, 2023
1 parent 6023cdf commit 09f5664
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* [\#1231](https://github.com/cosmos/relayer/pull/1231) Reduce get bech32 prefix when get signer.
* [\#1225](https://github.com/cosmos/relayer/pull/1225) Support build EVM messages to allow signing Ethereum transactions.
* [\#4](https://github.com/crypto-org-chain/relayer/pull/4) Avoid packet get relayed when estimated gas is higher than max gas.
* [\#](https://github.com/crypto-org-chain/relayer/pull/) Support transfer message type when build EVM messages.

## v0.9.3

Expand Down
2 changes: 2 additions & 0 deletions relayer/chains/cosmos/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ const (
prefixAcknowledgement
prefixTimeout
prefixTimeoutOnClose
prefixTransfer
)

var messageMap = map[reflect.Type]int{
Expand All @@ -801,6 +802,7 @@ var messageMap = map[reflect.Type]int{
reflect.TypeOf((*chantypes.MsgAcknowledgement)(nil)): prefixAcknowledgement,
reflect.TypeOf((*chantypes.MsgTimeout)(nil)): prefixTimeout,
reflect.TypeOf((*chantypes.MsgTimeoutOnClose)(nil)): prefixTimeoutOnClose,
reflect.TypeOf((*transfertypes.MsgTransfer)(nil)): prefixTransfer,
}

func addLengthPrefix(prefix int, input []byte) []byte {
Expand Down

0 comments on commit 09f5664

Please sign in to comment.