Skip to content

Upgrade ethers to v6 (yearn.fi) #161

@murderteeth

Description

@murderteeth

Summary

Security advisory GHSA-vjh7-7g9h-fjfh affects yearnfi's transitive elliptic@6.5.4 dependency (via ethers@5.7.2). Upgrading to ethers@6.x resolves this issue.

Required Changes

  • Upgrade ethers from v5.7.2 to v6.15.0
  • Upgrade @cowprotocol/cow-sdk to v7+ for compatibility
  • Update ethers API usage in:
    • apps/lib/utils/wagmi/ethersAdapter.ts
    • apps/vaults-v2/hooks/solvers/useSolverCowswap.ts

Testing Requirements

  • Verify wallet connection and signing operations
  • Test CoW Protocol order signing functionality
  • Confirm build passes and no runtime errors

wait until yearn/yearn.fi#740 is complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To Do - Finalized

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions