EVM/Kernel: move Runtime related module to their own crate
What
This is a preliminary MR to refactor the runtime used in the kernel, to ultimately replace the Runtime trait from the SDK with our own to integrate our own features (bind new host functions without necessarily modify the SDK for example).
One main point of refactoring the Runtime will be to tie the logging verbosity to the Runtime instead of the build system, so that it can be read at start from the durable storage and more easily used at runtime to debug the kernel. But this is for another MR.
Why
Now that !14735 (merged) has paved the way you cannot reject this MR.
How
Manually testing the MR
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR