You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to handle the beefy justifications coming as part of some blocks headers.
For this, we are gonna need to modify the processBlockData method we are executing when processing blocks and add the following:
Implement FinalityGadget.VerifyBlockJustification interface method in lib/beefy/message_handler.go
Add SetBeefyFinalisedHash and SetBeefyJustification as part of BlockState interface
Implement these methods in BlockState/dot/state/block_finalilsation similar to current SetFinalisedHash and SetJustification used for grandpa
Add the logic to handle beefy justifications when we are processing blocks in chainSync.processBlockData/dot/sync/chain_sync.go
The text was updated successfully, but these errors were encountered:
We need to handle the beefy justifications coming as part of some blocks headers.
For this, we are gonna need to modify the
processBlockData
method we are executing when processing blocks and add the following:FinalityGadget.VerifyBlockJustification
interface method inlib/beefy/message_handler.go
SetBeefyFinalisedHash
andSetBeefyJustification
as part ofBlockState
interfaceBlockState
/dot/state/block_finalilsation
similar to currentSetFinalisedHash
andSetJustification
used for grandpachainSync.processBlockData
/dot/sync/chain_sync.go
The text was updated successfully, but these errors were encountered: