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

refactor: unify ethers and ethers5 adapters #3511

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

Conversation

enesozturk
Copy link
Contributor

@enesozturk enesozturk commented Dec 19, 2024

Description

Refactors Ether adapter to drop using some utilities from ethers to unify with Ethers v5 adapter.

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

For Linear issues: Closes APKT-xxx
For GH issues: closes #...

Showcase (Optional)

If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Copy link

changeset-bot bot commented Dec 19, 2024

⚠️ No Changeset found

Latest commit: a2a0078

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
appkit-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 27, 2024 4:42pm
appkit-laboratory ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 27, 2024 4:42pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
appkit-vue-solana ⬜️ Ignored (Inspect) Visit Preview Dec 27, 2024 4:42pm
appkit-wagmi-cdn-example ⬜️ Ignored (Inspect) Visit Preview Dec 27, 2024 4:42pm
vue-wagmi-example ⬜️ Ignored (Inspect) Visit Preview Dec 27, 2024 4:42pm

Copy link
Contributor

github-actions bot commented Dec 19, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 62.99% 17673 / 28054
🔵 Statements 62.99% 17673 / 28054
🔵 Functions 53.08% 1504 / 2833
🔵 Branches 77.9% 2824 / 3625
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/adapters/ethers/src/client.ts 49.09% 60.56% 63.63% 49.09% 39-97, 113-114, 145-146, 159-182, 185-195, 208-245, 250-251, 258-275, 280-297, 300-322, 325-330, 340-341, 348-352, 375-382, 385-412, 416-417, 430-431, 433, 459-460, 480-481, 501-503, 510-514, 556-558, 563-564, 566-571, 581-599, 605-606, 610-615, 624-625, 636-637
packages/adapters/ethers5/src/client.ts 45.91% 55.55% 63.63% 45.91% 42-100, 116-117, 148-149, 162-185, 188-198, 211-247, 252-253, 260-277, 282-299, 302-324, 327-332, 342-343, 350-354, 377-404, 407-414, 418-419, 432-433, 435, 460-461, 465, 479, 496-498, 505-509, 542-564, 572-590, 596-597, 601-606, 615-616, 627-628
packages/common/src/utils/TypeUtil.ts 100% 100% 100% 100%
packages/core/src/controllers/BlockchainApiController.ts 32.38% 100% 0% 32.38% 133-141, 145-163, 167-187, 191-197, 201-211, 215-229, 233-246, 250-271, 275-295, 299-313, 317-323, 327-334, 338-344, 348-359, 363-384, 388-402, 406-431, 435-440, 443-452, 455-457, 422
Generated in workflow #8493 for commit a2a0078 by the Vitest Coverage Report Action

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