Skip to content

feat: port Lotus PR #13547 - integrate EC finality calculator into API and Eth RPC (FRC-0089) #6769

@hanabi1224

Description

@hanabi1224

Overview

Port the deep integration of the FRC-0089 EC finality calculator into Forest's API and Eth RPC, as implemented in filecoin-project/lotus#13547.

Background

Lotus PR #13547 (feat(api): integrate EC finality calculator into v2 API and Eth RPC) builds on the shed tool from #12093 and integrates the EC finality calculator more deeply:

  • Moves the calculator into the core node and adds a caching module (recalculates once per head change at most).
  • Adds the probabilistic EC finality calculator alongside F3 for determining finalized/safe tipsets — effectively finalized = min(f3, ec-calculator), replacing the static 900-epoch fallback.
  • Introduces the ChainGetTipSetFinalityStatus v2 API endpoint.
  • Wires the calculator into both v2 and Eth tag resolution.

References

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions