This is not an easy question to answer for multiple reasons. My suggestion is to first go through the other multiple answers on here on how the
babe transition goes. You're correct that this requires you to make changes to the
import_queue and the
block_import, in the
service.rs file, make changes to the
rpc.rs file to include
BabeRpcHandler like so :
besides having the necessary pallets in the runtime. Also you need to make the adjustments in the
GenesisConfig struct in your
To get a better feel for this, I would suggest migrating a vanilla substrate-node-template to use
babe. This would give you enough experience to know what exact changes are needed to be made. Then you may do the same with the frontier template as it's almost exactly like the substrate-node-template except it has
frontier integrated into it, and not such a straightforward directory structure as one you'd find on the node-template.
If you're still stuck after doing all this which is unlikely, then I just editing your question to include a repository link where someone might be able to take a look at what you're doing wrong. But I highly recommend trying to troubleshoot it yourself first.