regen-js
regen-js copied to clipboard
Incorrect message type for proposal messages
This issue tracks updating the api
package to a telescope version that includes a fix for https://github.com/osmosis-labs/telescope/issues/321. This issue was encountered in relation to group proposal messages not returning the expected type.
The current workaround is the following:
messages: sdkProposal.messages.map((msg: any) => ({
typeUrl: msg['@type'],
value: msg,
} as Any))