You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we return TokenRouterConfig within the EvmERC20WarpModule functions. However, we derive a lot of the config using the other modules, namely Hook and ISM. During derivation, address is added to the config. This causes a lot of casting logic and is unclear to devs that derived configs contain an address.
Problem
Currently, we return TokenRouterConfig within the EvmERC20WarpModule functions. However, we derive a lot of the config using the other modules, namely Hook and ISM. During derivation,
address
is added to the config. This causes a lot of casting logic and is unclear to devs that derived configs contain anaddress
.hyperlane-monorepo/typescript/sdk/src/token/EvmERC20WarpModule.ts
Lines 241 to 252 in a94c50f
Solution
Create and replace the TokenRouterConfig with WarpTokenRouterConfig.
The text was updated successfully, but these errors were encountered: