Skip to content

Bound StateWaitMsg confidence to prevent unbounded waits #7368

Description

@sudo-shashank

Forest already honours the confidence parameter in StateWaitMsg, but it accepts arbitrarily large values, allowing effectively unbounded waits. Lotus recently added upper bounds (filecoin-project/lotus#13705): full nodes reject confidence above chain finality (900 epochs), and the gateway enforces a configurable cap (default 20). We should add matching bounds in Forest — a node-level cap at ChainFinality and, if applicable, a configurable limit at the RPC/gateway layer.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions