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

feat: solana sign all transactions #2915

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

zoruka
Copy link
Contributor

@zoruka zoruka commented Sep 24, 2024

Description

  • Adds batched call for solana_signAllTransactions RPC call on Solana WalletConnectProvider;
  • Updates logic of parallel requests to chained when falling back to solana_signTransaction for signAllTransactions call.

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 Sep 24, 2024

⚠️ No Changeset found

Latest commit: 1cff877

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 Sep 24, 2024

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

Name Status Preview Updated (UTC)
appkit-laboratory ✅ Ready (Inspect) Visit Preview Sep 24, 2024 3:54pm
web3modal-gallery ✅ Ready (Inspect) Visit Preview Sep 24, 2024 3:54pm

Copy link
Contributor

Coverage Report for Coverage

Status Category Percentage Covered / Total
🔵 Lines 88.25000000000001% 3383 / 13794
🔵 Statements 88.25000000000001% 3383 / 13794
🔵 Functions 165.37% 251 / 743
🔵 Branches 216.97% 471 / 899
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
packages/base/adapters/solana/web3js/providers/WalletConnectProvider.ts 87.25% 84.48% 88.23% 87.25% 68, 70-72, 74-75, 85, 177-182, 184-185, 199-200, 222-223, 248, 264-265, 293-295, 297, 300, 304-306, 308, 311
packages/base/adapters/solana/web3js/providers/shared/Errors.ts 100% 100% 100% 100%
packages/base/adapters/solana/web3js/tests/mocks/UniversalProvider.ts 99% 92.3% 100% 99% 41
Generated in workflow #6288

Copy link
Contributor

♻️ Vite-Size ♻️

Size Difference

Size (kb) Gzip (kb)
Total Diff. 0 0

Current Size

Name Size (kb) Gzip (kb)
assets/index-DXmSLe0q.js 1607.067 465.955
assets/noble-curves.js 31.941 12.781
assets/2.21.4_bufferutil.js 2.789 1.327
assets/index.js 9.517 3.191
assets/index2.js 102.248 29.113
assets/index3.js 304.387 87.281
assets/walletconnect-ethereum-provider.js 454.329 141.408
assets/index4.js 11.601 3.207
assets/w3m-modal.js 6.988 2.505
assets/index5.js 12.673 4.695
assets/hooks.module.js 74.437 25.583
assets/walletconnect-modal-ui.js 112.43 34.327
index.html 0.329 0.236
Total Size 2730.736 811.609

Base Size

Name Size (kb) Gzip (kb)
assets/index-DXmSLe0q.js 1607.067 465.955
assets/noble-curves.js 31.941 12.781
assets/2.21.4_bufferutil.js 2.789 1.327
assets/index.js 9.517 3.191
assets/index2.js 102.248 29.113
assets/index3.js 304.387 87.281
assets/walletconnect-ethereum-provider.js 454.329 141.408
assets/index4.js 11.601 3.207
assets/w3m-modal.js 6.988 2.505
assets/index5.js 12.673 4.695
assets/hooks.module.js 74.437 25.583
assets/walletconnect-modal-ui.js 112.43 34.327
index.html 0.329 0.236
Total Size 2730.736 811.609

@tomiir tomiir merged commit 79ac86c into V5 Sep 24, 2024
17 checks passed
@tomiir tomiir deleted the feat/solana-sign-all-transactions branch September 24, 2024 17:03
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