Skip to content

chore: replace deprecated Morpho SDK packages#74

Open
prd-carapulse[bot] wants to merge 1 commit into
mainfrom
hermes/remove-deprecated-sdk-packages
Open

chore: replace deprecated Morpho SDK packages#74
prd-carapulse[bot] wants to merge 1 commit into
mainfrom
hermes/remove-deprecated-sdk-packages

Conversation

@prd-carapulse

@prd-carapulse prd-carapulse Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes deprecated/stale direct dependencies: @morpho-org/bundler-sdk-viem, @morpho-org/simulation-sdk, @morpho-org/blue-sdk-wagmi, and the unused deprecated @morpho-org/morpho-blue-bundlers.
  • Migrates public allocator transaction encoding to @morpho-org/morpho-sdk/bundler (BundlerAction.encodeBundle / reallocateTo).
  • Upgrades the reallocation planning path to @morpho-org/liquidity-sdk-viem@3.0.2 + @morpho-org/morpho-sdk@3.2.0, replacing the old broad simulation-state usage with computeReallocations / ReallocationData.
  • Drops the local @morpho-org/liquidity-sdk-viem@2.0.1 patch because v3 now queries withdrawMarket natively.

Replacement notes

  • @morpho-org/bundler-sdk-viem → use @morpho-org/morpho-sdk/bundler for supported Bundler3 actions and @morpho-org/morpho-sdk/abis for ABIs.
  • @morpho-org/simulation-sdk → use @morpho-org/morpho-sdk public reallocation helpers where supported; no replacement for the broad simulation engine.
  • @morpho-org/blue-sdk-wagmi → no first-party replacement; keep app-owned Wagmi/TanStack Query state.
  • @morpho-org/morpho-blue-bundlers → no longer needed here; use Morpho SDK ABIs/helpers instead.

Request Context

  • Initiator: Tom / Slack U03TC9S0CE4 / GitHub: @tomrpl
  • Initial Slack thread: C0B4Y5PV5CN / 1782141741.491269
  • Additional context: Carapulse run gw_run_26597898685e deprecated SDK usage table.
  • Rationale: Remove packages that are unused or deprecated before SDK deprecation lands, and document replacement direction.

Test Plan

  • pnpm install --frozen-lockfile
  • pnpm build (passes; existing webpack warnings from MetaMask SDK optional React Native storage + ox dynamic import remain)
  • pnpm lint (blocked by pre-existing lint errors in next.config.js, scripts/verify-rate-at-target.ts, MarketMetricsChart.tsx, NavBar.tsx, manualReallocationPage.tsx)

Requested by: <@U03TC9S0CE4>

Remove deprecated Morpho SDK package usage from integration dashboard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant