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

MsgStoreCodeAndInstantiateContract amino signature verify fail #11

Closed
loin3 opened this issue Feb 22, 2023 · 1 comment · Fixed by #12
Closed

MsgStoreCodeAndInstantiateContract amino signature verify fail #11

loin3 opened this issue Feb 22, 2023 · 1 comment · Fixed by #12

Comments

@loin3
Copy link

loin3 commented Feb 22, 2023

MsgStoreCodeAndInstantiateContract amino signature verify fails because wrong amino codec is being used in MsgStoreCodeAndInstantiateContract::GetSignBytes(). Now wasm's amino codec is being used not wasmplus's amino codec.
https://github.com/line/wasmd/blob/main/x/wasmplus/types/tx.go#L54

And I got one more error.
https://github.com/line/wasmd/blob/main/x/wasmplus/types/codec.go#L19
when registering amino msg in codec, amino message type name is wrong.
currently "wasm/StoreCodeAndInstantiateContract", this should be "wasm/MsgStoreCodeAndInstantiateContract" like other messages.

@zemyblue
Copy link
Member

@loin3 , could you check proposal msgs?

@loin3 loin3 closed this as completed in #12 Mar 14, 2023
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

Successfully merging a pull request may close this issue.

2 participants