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

Use Display implementation for instantiation error #1508

Closed
webmaster128 opened this issue Nov 23, 2022 · 0 comments · Fixed by #1509
Closed

Use Display implementation for instantiation error #1508

webmaster128 opened this issue Nov 23, 2022 · 0 comments · Fixed by #1509
Assignees
Milestone

Comments

@webmaster128
Copy link
Member

Currently we use the debug implementation of InstantiationError, leading to errors like this:

Error: rpc error: code = InvalidArgument desc = Error calling the VM: Error instantiating a Wasm module: Error instantiating module: CpuFeature("EnumSet(AVX512DQ | AVX512VL | AVX512F)"): query wasm contract failed: invalid request

This does not explain what the problem is. However, there is a Display implementation that would give us

missing requires CPU features: "AVX512DQ | AVX512VL | AVX512F"

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.

1 participant