diff --git a/CHANGELOG.md b/CHANGELOG.md index fe4ca1282..9a7277235 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/relayer/chains/cosmos/tx.go b/relayer/chains/cosmos/tx.go index 83892d12a..da5c05408 100644 --- a/relayer/chains/cosmos/tx.go +++ b/relayer/chains/cosmos/tx.go @@ -780,6 +780,7 @@ const ( prefixAcknowledgement prefixTimeout prefixTimeoutOnClose + prefixTransfer ) var messageMap = map[reflect.Type]int{ @@ -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 {