Skip to content

Remove eth_mappings background task #5567

@elmattic

Description

@elmattic

Summary

This is a follow up issue of #5360.

Current behavior:
Currently, Forest runs a background task on startup to populate the eth mappings from the heaviest tipset down to the Hygge height. This process is time-consuming and blocks Forest from being ready to serve RPC API calls, which slows down our CI pipeline.

Proposed change:
Remove this background task from the daemon and offline mode. Instead, move this functionality to the forest-tool index backfill subcommand and backfill_db utility function.

Also make sure documentation has been updated accordingly as well as /readyz endpoint code.

Additional Links & Resources

n/a

Metadata

Metadata

Assignees

Labels

Type: TaskDiscrete task to implement

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions