github hyperlane-xyz/hyperlane-monorepo @hyperlane-xyz/core@7.0.0

latest releases: @hyperlane-xyz/helloworld@18.2.0, @hyperlane-xyz/cosmos-sdk@18.2.0, @hyperlane-xyz/sdk@18.2.0...
5 months ago

Major Changes

  • 59a087d: Remove unused FastTokenRouter

  • 59a087d: ## Changes

    Add immutable scale parameter to all warp route variants which scales outbound amounts down and inbound amounts up. This is useful when different chains of the route have different decimal places to unify semantics of amounts in messages.

    Removes HypNativeScaled in favor of HypNative with scale parameter.

    Migration

    If you want to keep the same behavior as before, you can set scale to 1 in all your routes.

    HypNativeScaled Usage

    - HypNativeScaled(scale, mailbox)
    + HypNative(scale, mailbox)

    HypERC20 Usage

    - HypERC20(decimals, mailbox)
    + HypERC20(decimals, scale, mailbox)

    HypERC20Collateral Usage

    - HypERC20Collateral(erc20, mailbox)
    + HypERC20Collateral(erc20, scale, mailbox)

Minor Changes

  • 07321f6: Add ZKSync support and restructure build artifacts:

    • Add ZKSync compilation support
    • Restructure typechain directory location to core-utils/typechain
    • Add ZKSync-specific artifact generation and exports
    • Update build process to handle both standard and ZKSync artifacts
    • Add new exports for ZKSync build artifacts and contract types
  • 59a087d: Fixed misuse of aggregation hook funds for relaying messages by making sure msg.value is adequate and refunding if excess.

Patch Changes

  • 59a087d: Refactor TokenRouter internal amount accounting for use in scaling Warp Routes
  • 59a087d: Fix yield route (HypERC4626/HypERC4626Collateral) decimal scaling by leveraging FungibleTokenRouter
    • @hyperlane-xyz/utils@12.0.0

Don't miss a new hyperlane-monorepo release

NewReleases is sending notifications on new releases.