hyperlane-xyz / hyperlane-monorepo

The home for Hyperlane core contracts, sdk packages, and other infrastructure
https://hyperlane.xyz
Other
339 stars 378 forks source link

PI Interchain Queries Design #1992

Closed yorhodes closed 1 year ago

yorhodes commented 1 year ago

Problem:

Currently the queries middleware uses the static router pattern and cannot be used on non-enshrined chains.

In the same spirit of PI ICAs, the user should be able to optionally specify which destination contract should receive the interchain query message.

Related: https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/1889

Desirable Features:

Solution:

yorhodes commented 1 year ago

accidentally duped with https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/1993