Skip to content
Unverified Commit f2fe6a4c authored by yjh's avatar yjh Committed by GitHub
Browse files

Improve `CodeExecutor` (#2358)



Since `sp-state-machine` and `GenesisConfigBuilderRuntimeCaller` always
set `use_native` to be false.
We should remove this param and make `NativeElseWasmExecutor` behave
like its name.
It could make the above components use the correct execution strategy.

Maybe polkadot do not need about `NativeElseWasmExecutor` anymore. But
it is still needed by other chains and it's useful for debugging.

---------

Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: default avatarMichal Kucharczyk <[email protected]>
parent 63ac2471
Pipeline #419765 canceled with stages
in 1 minute and 56 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment