Skip to content

[Tracking] Lantern bridge-off parity for stock Curio (maxboom / PR #1311) #76

Description

@Reiers

Goal

Make Lantern serve the full PDP read+write+watch surface with NO --vm-bridge-rpc and no Glif on the hot path, so it works for both consumers:

  • curio-core (us) — uses Lantern via the VMBridge seam; already mainnet-proven zero-Glif. No change required.
  • stock Curio / maxboom (upstream PR Only PDP filecoin-project/curio#1311) — embeds Lantern over plain JSON-RPC, no bridge. Every method that still forwards to the bridge is a hard failure here. This is the gap.

This is why a stock-Curio node hit the Glif 429 (#71) that curio-core never saw: maxboom exercises Lantern RPC methods directly that curio-core routed through the bridge.

Background

PR #1311 ("make skiff"/maxboom, review-APPROVED) embeds Reiers/lantern/pkg/daemon + /wallet, configures lanternd.Config{EmbeddedMode:true, Network, FEVMPrefetchAddrs} with no VMBridgeRPC, and talks to it as FULLNODE_API_INFO. So it needs local-only:
read (call/code/logs/storage/block), write (sendRaw/nonce/gas/receipt), and event-watch (logs/search).

Already local (proven bridge-off)

eth_call (#43/#44), eth_getTransactionCount, eth_estimateGas, eth_gasPrice, eth_getBalance, eth_sendRawTransaction (#45 S4), eth_getTransactionReceipt (#45 S5 + #49), eth_getTransactionByHash (local-first), eth_getBlockByNumber, head tracking via gossipsub.

Remaining work (checklist)

Acceptance gate

A maxboom node (stock Curio, PR #1311 build, no --vm-bridge-rpc) runs PDP end-to-end — add-piece -> prove -> settle, with FilecoinPay rail + dataset watchers advancing — using embedded Lantern with zero Glif on the hot path (Glif only as a cold-gossip catch-up fallback). curio-core's mainnet-proven path stays unchanged.

Action on PR #1311 side

They pin an older Lantern than our HEAD and don't yet have these fixes. Once #73/#74 land + a release, recommend they bump the pin. (Keep pkg/daemon + wallet public API stable — it's now a frozen contract for upstream.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureTrust model / swarm designenhancementNew feature or requestp1High priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions