Skip to content

[tesseract]: consolidated tesseract relayer#740

Draft
dharjeezy wants to merge 1 commit intodami/zk-proof-indexer-dbfrom
dami/relayer-v2-changes
Draft

[tesseract]: consolidated tesseract relayer#740
dharjeezy wants to merge 1 commit intodami/zk-proof-indexer-dbfrom
dami/relayer-v2-changes

Conversation

@dharjeezy
Copy link
Copy Markdown
Contributor

@dharjeezy dharjeezy commented Mar 30, 2026

This PR introduces a consolidated relayer (tesseract-relayer) that merges the consensus and messaging relayers into a single process with inbound and outbound directions.

Summary

  • Adds a new tesseract/relayer/ crate that combines inbound consensus, inbound messaging, and a new outbound flow into one binary
  • Inbound (EVM → Hyperbridge): reuses existing IsmpHost consensus clients and tesseract_messaging::relay() unchanged
  • Outbound (Hyperbridge → EVM): new merged flow that queries pending messages, fetches a consensus proof via a generic ConsensusProofProvider interface, and bundles everything into a single submission compatible with
    HandlerV2.batchCall()
  • Adds ConsensusProofProvider trait with an IndexerProofProvider implementation that queries ZK proofs from the indexer PostgreSQL
  • Unified config merging both relayer configs into a single [relayer] section
  • Adds substrate_config() helper to HyperbridgeHostConfig for extracting SubstrateConfig from consensus host configs

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.

1 participant