fetch beacon entries from gossipsub

Open
#7,414 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@EclesioMeloJunior is already working on this.

Since Aug 7, 2026.

Assessment

This issue has not been assessed yet.

Description

Type: Task

Summary

See spike at https://github.com/ChainSafe/forest/issues/7364

Right now, when we need beacon entries, we query the https relay; we could avoid our reliance on that by using the dedicated gossipsub topic and feeding it into a cache.

We might also that would somehow resubscribe to the topic in case we don't get queries for longer period.

Completion Criteria

  • Forest should start w/o reaching Drand HTTP
  • Feed beacon entries from gossipsub to the drand cache.
  • Test that it works correctly, e.g., drop drand https relays and ensure recent queries to MinerGetBaseInfo work fine without it.
  • Watchdog - if we don't get updates, we must resubscribe (workaround)
  • Metrics around the new drand entries cache
  • Metrics around the HTTP drand usage

Additional Links & Resources

Dominant language
Rust
Stars
700
Forks
201
Avg merge
1d 17h
Merged PRs (30d)
65

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ChainSafe/forest

All issues in ChainSafe/forest

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.