Skip to content

feat: add implementations of EIP-5792 actions#358

Merged
coffeexcoin merged 14 commits intomainfrom
rework-eip5792
Oct 1, 2025
Merged

feat: add implementations of EIP-5792 actions#358
coffeexcoin merged 14 commits intomainfrom
rework-eip5792

Conversation

@coffeexcoin
Copy link
Collaborator

@coffeexcoin coffeexcoin commented Sep 30, 2025

Allow sendTransactionBatch to be called with abi/contract write similar to sendCalls.


PR-Codex overview

This PR focuses on enhancing the agw-client by introducing new features, refactoring existing code, and improving the organization of files related to wallet actions and session management.

Detailed summary

  • Removed walletActions.ts and its tests.
  • Added EIP-5792 methods to the abstract client.
  • Refactored session client imports and session management.
  • Introduced sendCalls and getCallsStatus functions.
  • Improved type handling in transaction batch processing.
  • Updated tests to reflect new structure and functionalities.

The following files were skipped due to too many changes: packages/agw-client/test/src/actions/sendCalls.test.ts, packages/agw-client/src/clients/decorators/abstract.ts, packages/agw-client/test/src/clients/decorators/abstract.test.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Sep 30, 2025

🦋 Changeset detected

Latest commit: fe2ebc7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@abstract-foundation/agw-client Minor
@abstract-foundation/agw-react Patch
@abstract-foundation/agw-web Patch
@abstract-foundation/web3-react-agw Patch

Not sure what this means? Click here to learn what changesets are.

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

@codecov
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

❌ Patch coverage is 93.72093% with 27 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ages/agw-client/src/clients/decorators/abstract.ts 93.70% 9 Missing ⚠️
...gw-client/src/clients/decorators/linkableWallet.ts 30.76% 9 Missing ⚠️
...gw-client/src/clients/decorators/linkablePublic.ts 27.27% 8 Missing ⚠️
packages/agw-client/src/actions/getCallsStatus.ts 97.29% 1 Missing ⚠️
Files with missing lines Coverage Δ
packages/agw-client/src/actions/getCapabilities.ts 100.00% <100.00%> (ø)
packages/agw-client/src/actions/sendCalls.ts 100.00% <100.00%> (ø)
...ges/agw-client/src/actions/sendPrivyTransaction.ts 75.00% <ø> (ø)
...ges/agw-client/src/actions/sendTransactionBatch.ts 100.00% <100.00%> (ø)
...ges/agw-client/src/actions/signTransactionBatch.ts 100.00% <100.00%> (+10.25%) ⬆️
packages/agw-client/src/clients/abstractClient.ts 100.00% <100.00%> (ø)
...kages/agw-client/src/clients/decorators/session.ts 100.00% <100.00%> (ø)
packages/agw-client/src/clients/sessionClient.ts 93.54% <ø> (ø)
packages/agw-client/src/eip5792.ts 92.85% <100.00%> (-1.59%) ⬇️
packages/agw-client/src/exports/index.ts 100.00% <100.00%> (ø)
... and 9 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coffeexcoin coffeexcoin marked this pull request as ready for review October 1, 2025 12:26
@coffeexcoin coffeexcoin requested a review from cygaar as a code owner October 1, 2025 12:26
@coffeexcoin coffeexcoin requested a review from ccummings October 1, 2025 13:22
@coffeexcoin coffeexcoin merged commit 1fafa7c into main Oct 1, 2025
8 checks passed
@coffeexcoin coffeexcoin deleted the rework-eip5792 branch October 1, 2025 19:30
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.

2 participants