Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Ethers v5 with Viem #74

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

bh2smith
Copy link

@bh2smith bh2smith commented Jan 22, 2025

This was a super easy change. The only subtle change was the isHex assertion that was somehow intrinsic to the to the former arrayify call from ethers.

Test Plan

All existing tests still passing (i.e. expected hashes and CID are aligned).

Here is another supporting example:

bh2smith/near-cow-agent#34

Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@noble/[email protected] None +1 2.5 MB paulmillr
npm/@noble/[email protected] None 0 886 kB paulmillr
npm/@scure/[email protected] None 0 137 kB paulmillr
npm/@scure/[email protected] None 0 63.8 kB paulmillr
npm/@scure/[email protected] None 0 376 kB paulmillr
npm/[email protected] None 0 1.17 MB awkweb
npm/[email protected] None 0 73.4 kB lpinca
npm/[email protected] None 0 10.8 kB jmoxey
npm/[email protected] network 0 5.09 MB jmoxey
npm/[email protected] None 0 14.9 MB jmoxey
npm/[email protected] 🔁 npm/[email protected] environment 0 147 kB lpinca

🚮 Removed packages: npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

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