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

wasmvm module not exist #13

Closed
zemyblue opened this issue Feb 23, 2023 · 7 comments · Fixed by #14
Closed

wasmvm module not exist #13

zemyblue opened this issue Feb 23, 2023 · 7 comments · Fixed by #14
Assignees
Labels
bug Something isn't working

Comments

@zemyblue
Copy link
Member

zemyblue commented Feb 23, 2023

When I run wasmd start, wasmvm module not exist error is occurred.

$ ./build/wasmd start
Error: wasmvm module not exist
Usage:
  wasmd start [flags]

commit hash: 577e450 (main branch)

@loin3
Copy link

loin3 commented Feb 23, 2023

I am getting same error.

go: downloading github.com/line/wasmvm v1.1.1-0.11.1
go: downloading github.com/gin-gonic/gin v1.7.0
verifying github.com/line/wasmvm@v1.1.1-0.11.1: checksum mismatch
	downloaded: h1:sCnlvj3oLOjaUcn+awofP2EXMjngV4UOpwuqnNYDW6c=
	go.sum:     h1:W3fuNZyQYm+fyXV4n6Ds8pzmHLyYcgv5gXgQf42ofi8=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

@zemyblue
Copy link
Member Author

zemyblue commented Feb 23, 2023

I think this error is occurred since we replace the github import name from github.com/CosmWasm/wasmvm to github.com/line/wasmvm.
https://github.com/line/wasmd/blob/577e45074b4be98523b4c12ac8eb4d316c5e2e5e/x/wasm/module.go#L259-L268

@zemyblue
Copy link
Member Author

zemyblue commented Feb 23, 2023

I am getting same error.

go: downloading github.com/line/wasmvm v1.1.1-0.11.1
go: downloading github.com/gin-gonic/gin v1.7.0
verifying github.com/line/wasmvm@v1.1.1-0.11.1: checksum mismatch
	downloaded: h1:sCnlvj3oLOjaUcn+awofP2EXMjngV4UOpwuqnNYDW6c=
	go.sum:     h1:W3fuNZyQYm+fyXV4n6Ds8pzmHLyYcgv5gXgQf42ofi8=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

@loin3 , When did you receive this error? What is the command?

@loin3
Copy link

loin3 commented Feb 23, 2023

I got this error when make install in commit 577e4507. but after deleting go.sum and download again, it works.

@zemyblue
Copy link
Member Author

When I modify the dep path from github.com/CosmWasm/wasmvm to github.com/line/wasmvm, the other error is occurred.

Error: libwasmversion mismatch. got: 1.1.1-0.11.0; expected: v1.1.1-0.11.1

I think the library in the line/wasmvm's v1.1.1-0.11.1 tag looks wrong version.

We need to update right library in wasmvm repo.

@zemyblue
Copy link
Member Author

zemyblue commented Mar 13, 2023

I think we need to add a test that the setting of line/wasmvm and the library version are correct in line/wasmvm.

@tkxkd0159
Copy link
Member

wasmvm v1.1.1-0.11.1's checksum is not correct now. We need to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants