frontier-node-template
frontier-node-template copied to clipboard
Adding offchain worker throws tokio context error
When trying to add a offchian worker ( from ocw-example pallet ), the node throws Thread 'tokio-runtime-worker' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime'
.
As much I can figure out, sc-cli from this template use tokio 0.x version and everything else use 1.x. Any method to resolve this?