chore: replace deprecated Morpho SDK packages#74
Open
prd-carapulse[bot] wants to merge 1 commit into
Open
Conversation
Remove deprecated Morpho SDK package usage from integration dashboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@morpho-org/bundler-sdk-viem,@morpho-org/simulation-sdk,@morpho-org/blue-sdk-wagmi, and the unused deprecated@morpho-org/morpho-blue-bundlers.@morpho-org/morpho-sdk/bundler(BundlerAction.encodeBundle/reallocateTo).@morpho-org/liquidity-sdk-viem@3.0.2+@morpho-org/morpho-sdk@3.2.0, replacing the old broad simulation-state usage withcomputeReallocations/ReallocationData.@morpho-org/liquidity-sdk-viem@2.0.1patch because v3 now querieswithdrawMarketnatively.Replacement notes
@morpho-org/bundler-sdk-viem→ use@morpho-org/morpho-sdk/bundlerfor supported Bundler3 actions and@morpho-org/morpho-sdk/abisfor ABIs.@morpho-org/simulation-sdk→ use@morpho-org/morpho-sdkpublic 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
U03TC9S0CE4/ GitHub: @tomrplC0B4Y5PV5CN/1782141741.491269gw_run_26597898685edeprecated SDK usage table.Test Plan
pnpm install --frozen-lockfilepnpm build(passes; existing webpack warnings from MetaMask SDK optional React Native storage + ox dynamic import remain)pnpm lint(blocked by pre-existing lint errors innext.config.js,scripts/verify-rate-at-target.ts,MarketMetricsChart.tsx,NavBar.tsx,manualReallocationPage.tsx)Requested by: <@U03TC9S0CE4>