Skip to content

Conversation

@smypmsa
Copy link
Member

@smypmsa smypmsa commented Feb 21, 2025

Previously we checked transaction slot twice - first in confirmation and then in _update_slot_diff. This caused unnecessary RPC calls and potential errors when transaction status was not yet indexed. Now we use slot directly from confirmation response with proper type safety.

Changes:

  • Use slot from transaction confirmation response
  • Remove redundant _update_slot_diff method

@vercel
Copy link

vercel bot commented Feb 21, 2025

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

Name Status Preview Comments Updated (UTC)
chainstack-rpc-dashboard-germany ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 7:03pm
chainstack-rpc-dashboard-singapore ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 7:03pm
chainstack-rpc-dashboard-us-west 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 7:03pm

@smypmsa smypmsa merged commit e3ba0e4 into dev Feb 21, 2025
3 of 4 checks passed
@smypmsa smypmsa deleted the fix/solana-metrics-slot-dedup branch February 21, 2025 19:04
smypmsa added a commit that referenced this pull request Feb 21, 2025
[Promotion] Deploy dev to production (PR #17)
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