frontier-node-template icon indicating copy to clipboard operation
frontier-node-template copied to clipboard

Adding offchain worker throws tokio context error

Open sudipghimire533 opened this issue 2 years ago • 3 comments

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?

sudipghimire533 avatar Jan 23 '22 08:01 sudipghimire533