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

Minor Solana fixes from Sentry #16554

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Minor Solana fixes from Sentry #16554

merged 3 commits into from
Jan 23, 2025

Conversation

martykan
Copy link
Member

Description

Multiple fixes for Solana issues from Sentry.

  1. Subscribe to Solana blocks in coinmarket form (resolves Could not simulate transaction: BlockhashNotFound #16534)

  2. Solana account.misc may be undefined - when still loading or on backend issues (resolves TypeError: Cannot read properties of undefined (reading 'solStakingAccounts') #16538, resolves TypeError: Cannot destructure property 'solStakingAccounts' of 'e.misc' as it is undefined. #16537)

  3. Don't log error when solana RPC channel closed (resolves SolanaError: Solana error #8190003; Decode this error by running npx @solana/errors decode -- 8190003 #16539)

@martykan martykan requested review from vytick and tomasklim January 23, 2025 09:17
@martykan martykan marked this pull request as ready for review January 23, 2025 09:17
Copy link

github-actions bot commented Jan 23, 2025

🚀 Expo preview is ready!

  • Project → trezor-suite-preview
  • Platforms → android, ios
  • Scheme → trezorsuitelite
  • Runtime Version → 23
  • More info

Learn more about 𝝠 Expo Github Action

Copy link
Contributor

@adderpositive adderpositive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to these fixes, I believe useSolanaSubscribeBlocks(account); should be added to the useCoinmarketSellForm. We work with account as well. @martykan could you verify it, please?

@martykan
Copy link
Member Author

Yes, good point, just added it

@martykan martykan merged commit e5734a9 into develop Jan 23, 2025
46 of 47 checks passed
@martykan martykan deleted the fix/solana-sentry branch January 23, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants