hyperlane-xyz / hyperlane-monorepo

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

On chain fee quoting: deploy relayer such that *some* payment must be made #1602

Closed tkporter closed 1 year ago

tkporter commented 1 year ago

Blocked by https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/1601

Deploy with the following configurations

  1. With the GasPaymentEnforcementPolicy::None policy that we’re using right now, it doesn’t care if any GasPayment event was emitted or not. We should instead set the gas payment policy to GasPaymentEnforcementPolicy::Minimum where the minimum payment is 1 wei. While the actual gas payment enforcement happens on chain in the IGP, this policy within the relayer requires that a GasPayment event has been emitted by the relayer.
  2. Whitelist all messages between InterchainQueryRouters so that the callback is processed
tkporter commented 1 year ago

done with https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/1771