-
There are certain capabilities exposed to offchain worker, but is there a reduced example that demonstrates exposing additional custom capabilities? Ideally not only for offchain worker, but runtime in general. For background: I have a bunch of logic that is not possible to implement in runtime at the moment. If I could at least expose methods using runtime API with reduced API interface that can be upgraded when needed with runtime, that would be great, but that would still require access to various Substrate features and libraries that do not compile to WASM yes, so for that to work there must be a way to expose those additional APIs somehow. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
https://docs.rs/sc-executor/0.9.0/sc_executor/macro.native_executor_instance.html#with-custom-host-functions you mean something like this? |
Beta Was this translation helpful? Give feedback.
https://docs.rs/sc-executor/0.9.0/sc_executor/macro.native_executor_instance.html#with-custom-host-functions you mean something like this?