-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Remove wasmi
as sc-executor
backend
#13496
Comments
As substrate is a framework, shouldn't this removal be done via a deprecation process? |
|
I notice Interpreted is still used as the default in some places though, probably nicer to update them to use Compiled and deprecate Interpreted. substrate/test-utils/client/src/lib.rs Line 289 in e374a33
substrate/client/executor/src/wasm_runtime.rs Lines 55 to 58 in 024bfce
|
For any practical use-case the It makes sense to just remove it. |
core dev manualNo functionality should be removed without a deprecation warning period. In rust code: Use construct xyz... |
Just because we remove the backend, doesn't mean that we can not put out these warnings. Especially for users (which hopefully don't use it) we can print warnings. |
I talk about functionality-deprecation. You talk about functionality-slaughter. All good, just go on. |
There is no functionality slaughter. The wasmtime backend is doing exactly the same, faster and better. Not sure why we should keep something around that is not maintained anymore. |
Not "keep"...
=> remove via a deprecation-process (= standard practice) |
I could cleanup wasmi-executor, It's not hard for me to remove it. |
@yjhmelody feel free to remove it!! |
be happy to do it after #13740 |
wasmi
should be removed assc-executor
backend. It was quite useful in the early days, but it will never be as fast aswasmtime
which is currently the de-facto standard in Substrate. For the beginning it should probably be enough to just remove the crate and keep the current structure withsc-executor
/sc-executor-wasmtime
. In the future we may could merge these both crates as well to remove unneeded code and to simplify the entire structure.The text was updated successfully, but these errors were encountered: