Integration with Babe, polkadot v1.1.0, no BabeConsensusDataProvider
Closed this issue ยท 5 comments
I am trying to integrate Frontier with a chain using Babe.
Frontier, branch polkadot-v1.1.0 provides fc_rpc::pending::AuraConsensusDataProvider, which is used when creating Eth RPC.
However, I was not able to find anything like this for to Babe.
Is there a structure like this for Babe, or I should write one from scratch? Please advise...
you need to write one by yourself from scratch
Any specific reason why these are not used?
Will this do?
Will this do?
I think you don't know what you are doing ๐
The ConsensusDataProvider
is used for providing the header digest for some consensus algorithm, like AuRA
consensus, this provided digest represents the index of the block producer in the block producer set.
And the current implementation of pending_create_inherent_data_providers
is for the pending state, and is primarily intended to comply with the requirements of the aura consensus algorithm.
But manual-seal
consensus is generally used for testing (generally, there is no need to provide additional digest) and some customization purposes.
Will this do?
#1250I think you don't know what you are doning ๐
Wow!