Skip to content

Commit

Permalink
chain(penumbra): use gRPC for proof queries (#47)
Browse files Browse the repository at this point in the history
This PR:

    makes the PenumbraChain provider rely on IBC gRPC to query
    inserts a height field in the gRPC headers that serves as a query hint for the full node to generate proofs against a specific state root
    adds conversion traits between proto and domain types modeling the IBC RPC protocol

* relayer(requests): conversion for `QueryClientState`s

* relayer(requests): conversion for `QueryConsensusState`s

* chain(penumbra): use gRPC IBC service in consensus/client reqs

* chain(penumbra): stuff `height` in grpc headers

* chain(penumbra): override `latest_height` flag in consensus state reqs

* chain(penumbra): prefer gRPC for proof queries

* chain(requests): add conversion trait for `QueryChannelRequest`

* chain(penumbra): rely on gRPC for chan_open handshake

* chain(penumbra): fmt
  • Loading branch information
erwanor authored Dec 6, 2024
1 parent a34a11f commit 2ed8bff
Show file tree
Hide file tree
Showing 2 changed files with 389 additions and 116 deletions.
Loading

0 comments on commit 2ed8bff

Please sign in to comment.