Skip to content

Unify Finalized Hash and number source. #9766

@asdacap

Description

@asdacap
  • There are 4 place to get finalized hash:
    • IBlockTree.FinalizedHash.
    • IBlockFinalizationManager.
    • IBlockCacheService.FinalizedHAsh.
    • IFinalizedStateProvider.
  • Unify them.
  • Note: IFinalizedStateProvider.FinalizedBlockNumber must work even if the block is not suggested yet or it will always become archive mode during forward sync.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions