Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid msg content creation for ForwardMsg in SwapMsg of ibc-denom-resolver #18

Open
taiki1frsh opened this issue Aug 30, 2023 · 0 comments
Assignees

Comments

@taiki1frsh
Copy link
Contributor

when to execute ForwardMsg, this error occurs.

Error: rpc error: code = Unknown desc = rpc error: code = Unknown desc = failed to execute message; message index: 0: dispatch: submessages: Error parsing into type packet_forward::msgs::ExecuteMsg: unknown variant `emergency_claimer`, expected one of `forward_msg`, `claim_failed_request_msg`, `update_config_msg`: execute wasm contract failed [CosmWasm/wasmd@v0.40.1/x/wasm/keeper/keeper.go:394] With gas wanted: '18446744073709551615' and gas used: '237871' : unknown request

In the unit test, we get this msg content in string

...
msg: {"emergency_claimer":"anyone","receiver":"osmo1xv9tklw7d82sezh9haa573wufgy59vmwe6xxe5",
 "port":"transfer","channel":"channel-0","timeout":{"secs":3600,"nanos":0},
 ...

This has to begin with "forward": {....}.
But, somehow it starts with the bold msg args. Not sure why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant