Skip to content

feat: Validate signatures in Solana connector #502

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

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

Conversation

nelitow
Copy link
Contributor

@nelitow nelitow commented Mar 24, 2025

List the issues this PR closes in a bullet list format, e.g.:

  • Closes FE-1521

Summary

Checklist

  • I've added error handling for all actions/requests, and verified how this error will show on UI. (or there was no error handling)
  • I've reviewed all the copy changed/added in this PR, using AI if needed. (or there was no copy changes)
  • I've included the reference to the issues being closed from Github and/or Linear (or there was no issues)
  • I've changed the Docs to reflect my changes (or it was not needed)
  • I've put docs links where it may be helpful (or it was not needed)
  • I checked the resulting UI both in Light and Dark mode (or no UI changes were made)
  • I reviewed the entire PR myself (preferably, on GH UI)

Copy link

vercel bot commented Mar 24, 2025

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

Name Status Preview Comments Updated (UTC)
fuel-connectors ❌ Failed (Inspect) Apr 15, 2025 5:41pm

Copy link
Contributor

github-actions bot commented Mar 24, 2025

Coverage Report for Fuel Wallet (./packages/fuel-wallet)

Status Category Percentage Covered / Total
🔵 Lines 61.57% 149 / 242
🔵 Statements 61.57% 149 / 242
🔵 Functions 53.33% 16 / 30
🔵 Branches 83.33% 20 / 24
File CoverageNo changed files found.
Generated in workflow #1561 for commit 15a1da0 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Mar 24, 2025

Coverage Report for Fuel Development Wallet (./packages/fuel-development-wallet)

Status Category Percentage Covered / Total
🔵 Lines 100% 19 / 19
🔵 Statements 100% 19 / 19
🔵 Functions 100% 1 / 1
🔵 Branches 100% 1 / 1
File CoverageNo changed files found.
Generated in workflow #1561 for commit 15a1da0 by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Mar 24, 2025

Coverage Report for Fuelet Wallet (./packages/fuelet-wallet)

Status Category Percentage Covered / Total
🔵 Lines 36.78% 32 / 87
🔵 Statements 36.78% 32 / 87
🔵 Functions 12.5% 1 / 8
🔵 Branches 100% 1 / 1
File CoverageNo changed files found.
Generated in workflow #1561 for commit 15a1da0 by the Vitest Coverage Report Action

- Introduced a constant for signature validation key generation.
- Enhanced connection logic to only emit connected event if the account has been validated.
- Improved error handling during signature requests and account validation.
- Updated local storage interactions for better clarity and consistency.
- Introduced a constant for signature validation key generation.
- Enhanced connection logic to only emit connected event if the account has been validated.
- Improved error handling during signature requests and account validation.
- Updated local storage interactions for better clarity and consistency.

audit
- Added event handling for signature validation based on connection status.
- Enhanced connection logic to check for pending signatures and request validation directly from the provider.
- Improved error handling during signature requests and account validation.
- Removed the deprecated requestSignature method for cleaner code.
- Added support for vite version 6.0.12 in package.json and pnpm-lock.yaml.
- Updated postcss version from 8.5.1 to 8.5.3 across multiple dependencies for consistency.
- Adjusted various dependency versions to ensure compatibility and stability.
@nelitow nelitow changed the title feat: enhance SolanaConnector with signature validation feat: Validate signatures in Solana connector Apr 10, 2025
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