Introducing a new way to review your PRs.

Read the announcement

lfdt-ibc / ibc

The Inter-Blockchain Communication Protocol (IBC) is a neutral, open standard for secure cross-ledger interoperability

View on GitHub

18 documents · Updated Nov 23, 2026

docs / link-relay-execution

Relay execution pipeline

The Link relay execution pipeline turns a source-chain packet event into the cross-chain actions that complete the packet lifecycle. It discovers work through an API request or an automatic watcher with a clearing backstop, waits until the required chain state can be proved, submits receive or completion transactions on the correct chain, and records enough state to resume after delay, restart, or work by another relayer.

This page is a companion to Link relayer system. Read Link runtime and services for process ownership, Link chain connectivity for chain reads, Link attestation and transactions for proof and transaction trust, Link deployment and persistence for setup and durable state, and Link operational observability for relay health signals.

Relay model

A relay work item represents one packet on one directed relayer route. The route names the source chain and client plus the destination chain and client. The same configured connection can therefore have two independent execution directions.

The pipeline aims to complete one of two valid outcomes:

  • Receive the packet on the destination chain, observe its write acknowledgement, and relay that acknowledgement to the source chain.
  • Prove that the packet timed out and submit a timeout on the source chain.

The durable packet record is the hand-off between packet discovery, the background dispatcher, and later runs. A packet can remain selected and dispatchable while it waits for finality or transaction progress.

Relay execution flow

The following flow shows how a selected packet moves from discovery to a terminal result.

flowchart LR
    A[Source transaction] --> B[Read or receive send packet event]
    B --> C[Select packets and save route metadata]
    C --> D[Dispatcher loads dispatchable packets]
    D --> E[Route to one per-route pipeline]
    E --> F{Packet already completed elsewhere?}
    F -->|Yes| G[Record discovered receive, ack, or timeout transaction]
    F -->|No| H{Send state is provable?}
    H -->|No| I[Wait for a later run]
    H -->|Yes| J{Packet timed out?}
    J -->|Yes| K[Prove timeout and submit on source]
    J -->|No| L[Prove commitment and submit receive on destination]
    L --> M[Read write acknowledgement]
    M --> N{Write acknowledgement is provable?}
    N -->|No| I
    N -->|Yes| O[Prove acknowledgement and submit on source]
    K --> P[Record terminal timeout]
    O --> Q[Record terminal ack or write-ack error]
    G --> R[Continue from the discovered state]
    R --> P
    R --> Q

Packet watching

Packet watchers provide automatic discovery for routes whose source-side configuration enables auto-relay. The watcher set creates one watcher for each source chain with an enabled route, and each watcher checks the chain client needed for that route before it starts.

A watcher subscribes to new SendPacket events on its source chain, checks that each event names the configured counterparty client, and upserts a pending packet row for the dispatcher. A non-send event or a packet for an unknown client is ignored. A reorged-out send event is also ignored for discovery, because deleting its existing row could erase a relay that was already submitted. A storage error is logged while the event loop stays active for later events. (cli/…/watcher.go• L167-227)

The subscription begins at the chain's current point, so it does not replay the full event history. A clearing pass provides a separate recovery path for missed packets. It pins one chain height for the pass, resumes after a stored sequence watermark, skips packet rows already known to the store, and limits each new probe to 1,000 sequences. It also rechecks unresolved sequences whose commitments were live but whose send logs were not available. (cli/…/clearer.go• L17-42, cli/…/clearer.go• L103-199, cli/…/clearer.go• L259-301)

The clearer records recovered packet rows and its clearing state in one transaction. A failed row write cannot advance the watermark and hide work from a later pass. If an endpoint cannot serve a send log, the sequence stays unresolved for later recovery unless the operator enables abandonment. Abandonment stops repeated probes but keeps the sequence recorded for recovery if a better endpoint becomes available. (cli/…/clearer.go• L201-233, cli/…/clearer.go• L304-373, cli/…/clearer.go• L375-405)

A watcher always runs its clearing loop. If its first subscription fails, it remains active in clearing-only mode. If a live subscription ends later, the watcher closes the old stream, retries with bounded backoff, preserves events already buffered for the old stream, and requests a clearing pass after reconnection. The subscription-health gauge falls while the stream is down and rises when it is live. (cli/…/watcher.go• L125-165, cli/…/watcher.go• L230-358, cli/…/set.go• L54-73)

The watcher counts each non-removed send event before route filtering and storage. Operators can compare this event signal and the subscription-health gauge with stored pending work. (cli/…/metrics.go• L13-46, cli/…/watcher.go• L167-227)

References: cli/…/watcher.go• L27-55 cli/…/watcher.go• L125-358 cli/…/clearer.go• L17-42 cli/…/clearer.go• L103-233 cli/…/clearer.go• L259-405 cli/…/metrics.go• L13-46 cli/…/set.go• L17-73 cli/…/relayer.go• L73-75 cli/…/watcher_test.go• L121-477 cli/…/set_test.go• L41-104 cli/…/metrics_test.go• L21-153

Request intake

The relay service accepts a source chain and transaction hash with either an all-packets selection or an explicit packet selection. It reads send events from that transaction, keeps packets whose source and destination clients match a configured route, and writes the request and packet records together. The API returns status later; it does not perform the full on-chain relay in the request call. (cli/…/service.go• L209-301)

An all-packets request leaves unmatched packets unselected. An explicit request fails when a named packet is absent or has no configured route. This keeps packet discovery broad while keeping selection local to this relayer instance. (proto/…/relayer.proto• L19-45)

References: cli/…/service.go• L209-301 proto/…/relayer.proto• L9-45

Route dispatch

The dispatcher polls durable state for selected packets that have not reached a terminal state. It creates a transfer view for each packet and sends it to the pipeline for its source and destination client pair. A pipeline is created on first use and then reused for that route. A configuration error marks the packet failed, while an in-flight duplicate waits for the existing pipeline run. (cli/…/dispatcher.go• L22-35, cli/…/dispatcher.go• L58-153, cli/…/pipeline_set.go• L17-30)

The route cache prevents the same packet from entering a pipeline twice at the same time. Durable state remains the source of truth across polling cycles. The in-memory guard only covers work that is in flight. (cli/…/pipeline_set.go• L44-101, cli/…/deduper.go• L27-81)

References: cli/…/dispatcher.go• L28-39 cli/…/dispatcher.go• L105-153 cli/…/pipeline_set.go• L44-101 cli/…/deduper.go• L27-81 cli/…/metrics.go• L66-179

Packet readiness

Before it submits new work, the pipeline checks whether another relayer already delivered the packet or completed it on the source chain. If the destination already has the packet, it finds and records the receive transaction even when an acknowledgement transaction is already stored. This lets the pipeline complete from another relayer's receive and acknowledgement instead of trying to submit duplicate receive work. (cli/…/check_recv_packet_delivery.go• L29-73, cli/…/check_packet_commitment.go• L15-135)

The pipeline gates every proof-dependent action on a height or timestamp that the relevant light client can prove. The source send must be visible to the destination client. A timeout needs a source-client view of destination-chain time past the timeout. An acknowledgement needs a source-client view of the destination write acknowledgement transaction. (cli/…/check_send_finality.go• L18-93, cli/…/check_timeout_finality.go• L15-67, cli/…/check_write_ack_finality.go• L18-102)

References: cli/…/check_recv_packet_delivery.go• L29-73 cli/…/check_packet_commitment.go• L32-135 cli/…/check_send_finality.go• L47-93 cli/…/check_timeout_finality.go• L33-67 cli/…/check_write_ack_finality.go• L48-102

Receive execution

The receive path reads the original send event, obtains a proof of the source packet commitment at a destination-provable height, and submits the receive operation on the destination chain. A batch shares one proof height and one final packet submission. Earlier client updates are submitted and confirmed before the final transaction carries the last update and packet operations. (cli/…/batch_recv_packet.go• L21-180, cli/…/batch_relay.go• L73-165)

The batch keeps packet, event, and proof positions aligned. A transient read failure or a recently observed packet waits for a later run while other packets proceed. Simulation rejects a client update that would report misbehavior and rejects a transaction in which no required update or packet call can succeed. (cli/…/batch_recv_packet_test.go• L47-354, cli/…/batch_relay.go• L269-307)

After the receive transaction is known, the pipeline reads the synchronous write acknowledgement from that transaction. A successful or error acknowledgement both continue through the acknowledgement path. If the expected write acknowledgement is not in the transaction, the recorded receive transaction is cleared so the next run can retry, time out the packet, or find the receive transaction that another relayer landed first. (cli/…/wait_for_write_ack.go• L15-121)

References: cli/…/batch_recv_packet.go• L21-180 cli/…/batch_relay.go• L73-165 cli/…/batch_relay.go• L269-307 cli/…/batch_recv_packet_test.go• L47-354 cli/…/wait_for_write_ack.go• L21-121

Acknowledgement execution

The acknowledgement path reads the write-acknowledgement event from the destination-chain receive transaction. It proves the acknowledgement on the source chain and submits the source-chain acknowledgement operation. The acknowledgement proof uses the source client because that client tracks the destination chain. (cli/…/batch_ack_packet.go• L22-194)

An error write acknowledgement is still a completed protocol result. The pipeline records it as a rejected packet rather than treating it as a relay failure. (cli/…/state_finisher.go• L28-71)

References: cli/…/batch_ack_packet.go• L22-75 cli/…/batch_ack_packet.go• L78-194 cli/…/state_finisher.go• L28-71

Timeout execution

The timeout path applies only after the packet timeout has passed and the source client can prove a destination-chain timestamp beyond that timeout. It reads the original send event, obtains a receipt-absence proof, and submits the timeout operation on the source chain. (cli/…/check_timeout_finality.go• L33-67, cli/…/timeout_packet.go• L21-181)

Timeout work takes precedence over receive work once the packet is timed out and no receive or acknowledgement transaction is known. This prevents the pipeline from trying to receive a packet after the source chain can safely refund it. (cli/…/pipeline.go• L126-178)

References: cli/…/check_timeout_finality.go• L15-67 cli/…/timeout_packet.go• L33-181 cli/…/pipeline.go• L126-178

Completion and retry

The pipeline middleware gives each stage one shared status and error contract. It persists the stage status before work starts, skips transfers that cannot use the stage, and keeps processing errors attached to the transfer so later stages and the final result can observe them. Batch stages keep failed or omitted items in the output instead of dropping them. (cli/…/processor_mw.go• L20-171)

Submitted receive, acknowledgement, and timeout transactions are checked for failure, excessive pending time, or omission from a partial batch result. A retry clears the related transaction field and leaves the packet dispatchable for a later run. Confirmed acknowledgement and timeout transactions must also contain the expected relay event. Once a timeout or source acknowledgement is recorded, the state finisher assigns a terminal status. (cli/…/pipeline.go• L154-236, cli/…/retry_recv_packet.go• L21-76, cli/…/retry_ack_packet.go• L21-92, cli/…/retry_timeout_packet.go• L21-92, cli/…/state_finisher.go• L28-84)

References: cli/…/processor_mw.go• L31-171 cli/…/retry_recv_packet.go• L33-76 cli/…/retry_ack_packet.go• L33-92 cli/…/retry_timeout_packet.go• L39-92 cli/…/state_finisher.go• L28-84 cli/…/pipeline_test.go• L243-567

Relay metrics

Relay metrics describe live discovery, subscription health, route backlog, status transitions, batch outcomes, proof work, transaction lifecycle, retries, and completed relay legs. Shared route labels identify the source and destination chains and clients. Per-chain labels identify the chain that receives a transaction or runs proof work. (cli/…/metrics.go• L13-46, cli/…/metrics.go• L38-63, cli/…/metrics.go• L15-40, cli/…/metrics.go• L25-75, cli/…/metrics.go• L18-84)

Pending-latency metrics distinguish the three relay legs: send to receive, send to timeout, and receive to acknowledgement. Prover metrics measure operation time, latest usable height, packet batch size, proof kind, prover type, and errors. Attestation proving separately counts whether each queried attestor returned the expected claim. A query failure does not create a claim-match metric because no claim was returned. (cli/…/metrics.go• L116-179, cli/…/metrics.go• L18-154, cli/…/metrics.go• L13-34, cli/…/metrics_test.go• L21-90)

References: cli/…/metrics.go• L13-46 cli/…/metrics.go• L38-179 cli/…/metrics.go• L15-95 cli/…/metrics.go• L25-174 cli/…/metrics.go• L18-154 cli/…/metrics.go• L13-34 cli/…/metrics_test.go• L21-90

Relay supporting contracts

The pipeline keeps chain reads, proof production, transaction assembly, transaction submission, and durable state behind separate contracts. This separation lets one route use the same lifecycle while each chain or trust model supplies its own way to read, prove, build, and send.

ContractRelay responsibility
Chain clientReads packet events, transaction heights, packet state, write acknowledgements, and block time from a chain.
ProverSupplies a jointly usable state proof and packet membership or non-membership proofs for one light client.
Transaction builderTurns a client update and packet operations into transactions for the destination or source chain.
Transaction submitterSigns and broadcasts a transaction on one chain, then reports when it should be retried.
StorePersists packet selection, relay status, write acknowledgement data, and submitted transaction details.
IBC v2 relay typesCarry packet events, proof claims, client updates, transaction intents, and submission results across the contracts.

Chain reads

The chain client is the read boundary for relay decisions. It supplies packet events for discovery, packet receipt and commitment checks for recovery, transaction heights for finality gates, and write-acknowledgement status for the receive-to-ack transition. (cli/…/client.go• L16-68)

The same client abstraction gives the attestation path block headers and commitments. This keeps the relay pipeline focused on when a fact is usable rather than on how a chain exposes that fact. (cli/…/client.go• L49-68)

References: cli/…/client.go• L16-68 cli/…/service.go• L237-248

Proof claims

The prover is scoped to one light client and returns the highest height and timestamp that the next proof calls can use. Relay operations map to three claim types: packet commitment for receive, acknowledgement for ack, and receipt absence for timeout. (cli/…/prover.go• L26-49, cli/…/batch_relay.go• L55-67)

Prover resolution creates one proof source for each client end of every configured connection. The relayer supports in-process attestation proving, Besu BFT proving, and remote proving. For an attestation client, resolution matches configured attestors to the counterparty chain and to the registered on-chain addresses. It requires enough matching attestors to meet the on-chain threshold and rejects duplicate configured addresses. (cli/…/prover.go• L81-191, cli/…/resolve.go• L18-103)

The attestation prover builds an expected state or packet claim at the requested height. Each returned claim must match that expected data and carry a recoverable signature from the address assigned to that attestor. Quorum counts distinct recovered signers and excludes failed queries, wrong claims, invalid signatures, unexpected signer addresses, and duplicate signers. The latest usable height is the highest height reached by at least the configured threshold of responding attestors. One lagging or failed attestor does not lower a height that the threshold already supports. The returned counterparty header supplies the timestamp used by timeout checks. (cli/…/generator.go• L22-144, cli/…/quorum.go• L73-193, cli/…/quorum.go• L215-297)

For a packet batch, the attestation service returns one shared proof blob. The prover repeats that blob at every packet index because the relay contract requires one proof per input packet. Acknowledgement proofs require one acknowledgement for each packet, and packet claims must remain in the same order as the input packets. (cli/…/generator.go• L79-140, cli/…/generator_test.go• L122-161, cli/…/generator_test.go• L183-275)

A remote prover sends the light-client identity, height, proof kind, packet list, and acknowledgement list to a ProverService over HTTP/2. Each request has a 30-second deadline and responses are bounded to 1 MB. The client rejects an unsupported wire proof kind, mismatched acknowledgement count, or a response whose proof count does not match the packet count. (cli/…/remote.go• L23-150, cli/…/remote_test.go• L19-82)

The Besu BFT prover supplies this contract for a light client that tracks a Besu chain. It checks the client and configured counterparty use the same router. It uses a sealed counterparty header as the proof anchor and creates either a packet-membership proof or a receipt-absence proof. It creates client updates when the target height is newer than the trusted height. (cli/…/generator.go• L43-80, cli/…/generator.go• L140-257)

References: cli/…/prover.go• L26-191 cli/…/resolve.go• L18-103 cli/…/generator.go• L22-181 cli/…/generator_test.go• L80-353 cli/…/quorum.go• L73-297 cli/…/quorum_test.go• L48-476 cli/…/metrics_test.go• L21-90 cli/…/remote.go• L23-211 cli/…/remote_test.go• L19-82 cli/…/generator.go• L43-257 cli/…/prover.pb.go• L137-187 cli/…/prover.pb.go• L335-413

Transaction assembly

The transaction builder combines a client update with one or more packet operations. Each packet batch must produce exactly one final relay transaction. Earlier client-update steps may use separate update transactions. A builder that returns multiple final transactions is rejected instead of being partially submitted. (cli/…/txbuilder.go• L16-24, cli/…/batch_relay.go• L143-213)

For EVM chains, the builder targets a configured IBCMulticall contract and creates one batch containing client-update calls followed by receive, acknowledgement, or timeout calls to the ICS26Router. Client updates must succeed. Packet calls may fail independently, which lets a partial batch make progress while omitted or failed packets retry later. (cli/…/evm.go• L60-232)

References: cli/…/txbuilder.go• L16-24 cli/…/batch_relay.go• L69-169 cli/…/evm.go• L60-232 cli/…/evm_test.go• L97-227 cli/…/txsubmitter.go• L18-27

Relay state

The transfer is the in-flight form of a stored packet. It carries the packet identity, route data, timeout, transaction records, write-acknowledgement result, finality observations, and any error that stops work for the current run. A transfer is complete only after a timeout is recorded or after receive, write acknowledgement, and source acknowledgement are all present. (cli/…/transfer.go• L14-105)

The shared v2 types keep the proof and transaction boundaries aligned. A packet relay item names the operation and its proof. A client update carries the state proof. A submission reports the broadcast transaction that the store records. (cli/…/types.go• L32-104)

References: cli/…/transfer.go• L14-105 cli/…/types.go• L32-104 cli/…/store.go• L62-80 cli/…/store.go• L172-205

Batching and route settings

The pipeline is built per route because each batch must share the destination for receive work and the source for acknowledgement or timeout work. It combines concurrent per-transfer stages with batch stages. Batch stages release work at a size or time limit, while unrelated transfers pass through without waiting for that batch. (cli/…/pipeline.go• L68-224, cli/…/batch_processor.go• L15-27)

Route configuration selects the source and destination signer and applies batch settings to the chain where each action occurs. Receive settings follow the destination chain. Acknowledgement and timeout settings follow the source chain. (cli/…/opts.go• L12-74, cli/…/relayer.go• L31-45)

The route must name both client ends of a configured connection. Missing chain clients, provers, transaction builders, or signer-specific submitters prevent the route pipeline from being created. (cli/…/pipeline_set.go• L44-89, cli/…/pipeline.go• L68-92)

Relay status interface

The status API exposes the packet lifecycle without exposing each internal stage. It reports whether a packet was not selected, remains pending, succeeded with an acknowledgement, timed out, was rejected by an error acknowledgement, or failed because of a permanent relay error. It also returns the source send transaction and any known receive, acknowledgement, or timeout transaction. (cli/…/service.go• L56-88, cli/…/service.go• L311-395)

The external status contract therefore answers two separate questions: what protocol result the packet reached and which chain transactions support that result. (proto/…/relayer.proto• L49-97)

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep the mapping between RelayKind, ProofKind, and the router packet operation aligned. A mismatch can submit a valid-looking transaction with the wrong proof claim.
  • Keep source and destination roles aligned across receive, acknowledgement, and timeout work. Receive targets the destination chain. Acknowledgement and timeout target the source chain.
  • Keep packet event order, proof order, and acknowledgement order aligned with PacketRelayItem batches.
  • Keep per-transfer filtering in batch receive stages from changing the positions or membership of event and proof lists used for transaction assembly.
  • Keep the single-final-relay-transaction assumption aligned between batch processors and transaction builders.
  • Keep stored relay statuses and public packet states aligned. Unknown internal statuses are exposed as pending.
  • Keep route client pairs, signer aliases, prover types, transaction builders, and submitters available as one working dependency set.
  • Keep the synchronous write-acknowledgement assumption aligned with chain reads and packet completion rules.
  • Keep watcher route filtering, initial subscription fallback, reconnect backoff, clearing triggers, and subscription-health metrics aligned with discovery guarantees. The live stream does not replay history.
  • Keep clearing rows, the sequence watermark, and unresolved-sequence changes in one store transaction. Advancing the watermark without recovered rows can hide packets.
  • Keep the remote prover's wire proof kinds, request deadline, response-size bound, and one-proof-per-packet response contract aligned with the local Prover contract.
  • Keep attestation expected-claim validation, signer de-duplication, threshold height selection, on-chain attestor-set matching, and claim-match metrics aligned with the trust model. A query error is not the same signal as a returned claim that does not match.
  • Keep Besu BFT update targets compatible with the client's stored consensus states and validator-set path.
  • Keep relay metric leg names, action-chain labels, proof kinds, and transaction correlation keys aligned with stored transaction fields.
  • Keep EVM packet payload limits, multicall failure flags, and call order aligned with the ICS26Router contract.

Important failure modes

TriggerConsequenceGuard
The source client and destination client do not form a configured route.The dispatcher cannot create a pipeline and marks the packet as failed.Validate connection client pairs before selecting packets.
An auto-relay watcher starts after a packet was sent, or a subscription gap contains a packet before clearing runs.The live watcher does not discover that packet.Use explicit relay intake or the periodic clearing path.
A clearer advances its watermark without committing recovered rows.Later passes skip packets that have no durable work record.Persist rows and clearing state in one transaction.
A send or write-ack transaction is newer than the proof height available to its counterparty client.The transfer waits for a later dispatch cycle.Finality gates compare transaction height with the latest provable height.
The packet timeout has passed but the source client cannot prove destination time past the timeout.Timeout work remains pending.Check the prover timestamp before building a timeout proof.
Another relayer already delivered the packet or completed the source action.Duplicate work may be submitted, or the receive needed to complete an existing acknowledgement may be missing from local state.Check destination receipt and source completion before new delivery, then record discovered transactions.
A receive transaction does not contain the packet's write acknowledgement.The receive record is cleared so the packet can be retried, timed out, or matched to a receive that another relayer landed first.Treat a missing write acknowledgement as a retry condition and recheck destination receipt.
A submitted transaction fails or stays pending past its retry window.The recorded transaction is cleared and the operation is submitted again.Receive, acknowledgement, and timeout retry stages call ShouldRetry.
Fewer than the configured attestor threshold agree on one claim or a usable height.Proof-dependent relay work fails or waits without submitting a proof.Match claims exactly, recover signatures, count distinct signers, and require threshold agreement.
A lagging or failed attestor leaves fewer than the threshold for a height.No usable height is returned for proof work.Require threshold height responses before selecting the height at the threshold boundary.
A remote prover exceeds the 30-second deadline or returns the wrong proof count.Proof-dependent relay work fails for the run.Bound each request and response, then validate count against packet count.
A remote prover is configured with an invalid endpoint or TLS setting.Prover-set creation fails before relay work starts.Resolve endpoint and TLS settings while building the prover set.
A Besu BFT client proves a different router than the configured counterparty.The Besu prover does not start for that route.Check the client router against the counterparty router.
An EVM packet has more than one payload or an acknowledgement batch has no acknowledgement data.Transaction assembly fails for the run.Validate payload and acknowledgement inputs before submission.

Key files

FileWhy to read it
cli/…/service.goDefines relay request selection, packet discovery, and public status behavior.
cli/…/watcher.goShows live send-event discovery, clearing fallback, reconnect behavior, and subscription health.
cli/…/clearer.goShows missed-packet recovery, clearing state, unresolved sequences, and atomic persistence.
cli/…/set.goShows how auto-relay configuration creates watchers per source chain.
cli/…/dispatcher.goShows how durable packet work enters execution.
cli/…/pipeline_set.goShows how one pipeline is selected and cached for each route.
cli/…/pipeline.goShows the ordered packet lifecycle from readiness checks through terminal state.
cli/…/transfer.goDefines the in-flight packet model and completion rules.
cli/…/batch_recv_packet.goShows cross-chain receive execution and durable receive recording.
cli/…/batch_relay.goShows proof selection, proof alignment, transaction assembly, and submission.
cli/…/batch_ack_packet.goShows acknowledgement execution back on the source chain.
cli/…/timeout_packet.goShows timeout proof use and source-chain timeout execution.
cli/…/check_recv_packet_delivery.goShows how the pipeline records a receive completed by another relayer before it continues.
cli/…/wait_for_write_ack.goShows synchronous write-ack extraction and receive clearing when the ack is absent.
cli/…/prover.goDefines the proof boundary and resolves local or remote provers for both route directions.
cli/…/quorum.goDefines exact-claim agreement, distinct-signer quorum, and threshold height selection.
cli/…/generator.goIllustrates expected-claim construction and in-process attestation proof generation.
cli/…/remote.goIllustrates bounded remote proof generation and packet-proof alignment.
cli/…/generator.goShows Besu BFT client updates and packet proofs for a configured router.
cli/…/txbuilder.goDefines the chain-specific transaction assembly boundary.
cli/…/evm.goIllustrates multicall assembly and EVM packet constraints.
cli/…/client.goDefines the chain reads that drive discovery, finality, and recovery.
cli/…/txsubmitter.goDefines signing, broadcast, and retry decisions.
cli/…/store.goDefines durable packet fields, clearing state, and relay status states.
proto/…/relayer.protoDefines the external relay selection and status contract.