Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

WASM runtime is not supported #8

Closed
etranger05 opened this issue Jul 8, 2022 · 6 comments
Closed

WASM runtime is not supported #8

etranger05 opened this issue Jul 8, 2022 · 6 comments

Comments

@etranger05
Copy link

etranger05 commented Jul 8, 2022

In my environment, docker is running on M1 Mac and did checkout DUNE 'arm64' branch

$ dune --start test_node
:
:
warn  2022-07-08T12:58:06.514 nodeos    chain_plugin.cpp:1238         plugin_initialize    ] 3070000 wasm_exception: WASM Exception
eos_vm_jit wasm runtime not supported on this platform and/or configuration
    {"r":"eos_vm_jit"}
    nodeos  wasm_interface_private.hpp:79 wasm_interface_impl

error 2022-07-08T12:58:06.514 nodeos    main.cpp:150                  main                 ] 3070000 wasm_exception: WASM Exception
eos_vm_jit wasm runtime not supported on this platform and/or configuration
    {"r":"eos_vm_jit"}
    nodeos  wasm_interface_private.hpp:79 wasm_interface_impl
rethrow
    {}
    nodeos  chain_plugin.cpp:1238 plugin_initialize

Is "eos_vm_jit" supporting the arm64 platform?
Any idea how to solve this error?

@ericpassmore
Copy link

Do you have wasm runtime installed? Only a suggestion as I don't have a m1 to validate
https://docs.wasmer.io/ecosystem/wasmer/getting-started
https://formulae.brew.sh/formula/wasmer

@ericpassmore
Copy link

ah eos_vm_jit is a wasm runtime. My mistake. You can try changing DUNE/script/config.ini to eos-vm or eos-vm-oc Some documentation under mandel chain_plugin

@etranger05
Copy link
Author

ah eos_vm_jit is a wasm runtime. My mistake. You can try changing DUNE/script/config.ini to eos-vm or eos-vm-oc Some documentation under mandel chain_plugin

I set up wasm-runtime = eos-vm and found the node works. Thank you!

@ericpassmore
Copy link

Thanks which file did you change? I want to patch this so it doesn't happen again.

@etranger05
Copy link
Author

Thanks which file did you change? I want to patch this so it doesn't happen again.

DUNE/script/config.ini, as you commented. Changed it before run bootstrap.sh

@ericpassmore
Copy link

ericpassmore commented Jul 8, 2022

Thanks patch is here, please test if you have a moment.
git clone -b mac_m1_wasm_runtime https://github.com/ericpassmore/macos-fixes.git

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

No branches or pull requests

3 participants