Skip to content

Commit

Permalink
Update MessageAddressesParsers order. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitryhil authored Aug 29, 2023
1 parent 9fd1de1 commit 84af4f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/bdjuno/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ func getBasicManagers() []module.BasicManager {
// This should be edited by custom implementations if needed.
func getAddressesParser() messages.MessageAddressesParser {
return messages.JoinMessageParsers(
messages.CosmosMessageAddressesParser,
assetft.MessagesParser,
assetnft.MessagesParser,
nft.MessagesParser,
wasm.MessagesParser,
// the order is important since the CosmosMessageAddressesParser contains the default parser which takes the
// signer and which stops the execution
messages.CosmosMessageAddressesParser,
)
}

0 comments on commit 84af4f6

Please sign in to comment.