many-things / cw-hyperlane

52 stars 26 forks source link

Custom hooks, metadata as optional params for transferRemote() #128

Closed udit-gulati closed 6 months ago

udit-gulati commented 6 months ago

Fixes: https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3626 task 1

  1. This change allows for user txn to have it's own custom hook and metadata.
  2. Before, whatever is the deafult hook was always going to be envoked on each warp transferRemote() call.
  3. This'll allow users to use any cutom hook, such as custom IGP for paying gas in a different denom or to a different relayer than the warp route's default one.
udit-gulati commented 6 months ago

@byeongsu-hong let me know if any further changes are required or if the PR is ready to be merged.