Full node should load consensus data from chain storage instead of storing it in database
Instead of storing the Aura/Babe/Grandpa authorities in the database, the full node should load them from the chain storage.
Before tackling this issue, one should check whether it is actually possible to load everything from the chain storage.
First we should refactor the code that builds the chain information.
cc https://github.com/paritytech/smoldot/issues/1681
I've realized a problem with https://github.com/paritytech/smoldot/pull/2845, which is that there were moments when we didn't provide any runtime function to get the GrandPa current set id.
This can't be done in we want to support syncing from scratch. We can, however, implement this if we force the full node to warp sync.