Skip to content

refactor(providers-firehose): move client and source logic from extractor to provider#1907

Merged
mitchhs12 merged 1 commit intomainfrom
mitchhs12/firehose-provider-source-decoupling
Mar 4, 2026
Merged

refactor(providers-firehose): move client and source logic from extractor to provider#1907
mitchhs12 merged 1 commit intomainfrom
mitchhs12/firehose-provider-source-decoupling

Conversation

@mitchhs12
Copy link
Contributor

@mitchhs12 mitchhs12 commented Mar 4, 2026

Summary

  • Move all connection/client code (client, error, metrics, evm, proto, tables, build.rs, proto definitions) from firehose-datasets extractor into amp-providers-firehose provider crate
  • providers-registry now depends on the provider crate directly for Firehose client construction, removing its dependency on the extractor
  • Fix two mod.rs convention violations (evm/mod.rsevm.rs, proto/mod.rsproto.rs)
  • Extractor retains only dataset schema types (Manifest, Table, DatasetKind)

Same pattern as #1898 (EVM-RPC).
After this, providers-registry no longer depends on the EVM-RPC or Firehose extractor crates.
Solana is still the same though.

…ctor to provider

Move all connection/client code (client, error, metrics, evm, proto,
tables, build.rs, proto definitions) from the firehose extractor crate
into the provider crate. The extractor now only contains dataset schema
types (Manifest, Table, DatasetKind). This lets providers-registry
depend on the provider crate directly instead of the extractor for
client construction.
@mitchhs12 mitchhs12 force-pushed the mitchhs12/firehose-provider-source-decoupling branch from 8b799d0 to bec847b Compare March 4, 2026 15:58
@mitchhs12 mitchhs12 marked this pull request as ready for review March 4, 2026 15:59
@mitchhs12 mitchhs12 self-assigned this Mar 4, 2026
@mitchhs12 mitchhs12 requested a review from LNSD March 4, 2026 17:02
Copy link
Contributor

@LNSD LNSD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@mitchhs12 mitchhs12 merged commit 22db2a1 into main Mar 4, 2026
8 checks passed
@mitchhs12 mitchhs12 deleted the mitchhs12/firehose-provider-source-decoupling branch March 4, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants