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

fix: ocelloids upgrade #258

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

fix: ocelloids upgrade #258

wants to merge 8 commits into from

Conversation

Victor-Salomon
Copy link
Collaborator

@Victor-Salomon Victor-Salomon commented Jan 22, 2025

⚠️ ✋ This PR is ready to be reviewed, but it can't be merged before Ocelloids upgrade their API next Monday ⚠️

It contains Ocelloids last version which fixes unsupported and missing tracking paths:

  • DOT btw Parachains
  • PHA transfers

And includes:

  • Removing unused helpers
  • Removing ongoing transfer filters

Copy link

vercel bot commented Jan 22, 2025

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

Name Status Preview Comments Updated (UTC)
turtle-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 1:14pm
turtle-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 1:14pm

Copy link
Collaborator

@noahjoeris noahjoeris left a comment

Choose a reason for hiding this comment

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

✨✨🧹🧹🧹

@NunoAlexandre NunoAlexandre marked this pull request as ready for review January 23, 2025 14:30
Copy link
Collaborator

@NunoAlexandre NunoAlexandre left a comment

Choose a reason for hiding this comment

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

Nice 🧹

): boolean => {
return transfer.token.id === Polkadot.DOT.id && isParachainToParachain(transfer)
enum xcmNotificationType {
Sent = 'xcm.sent',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Question that I might answer myself later but that the introduction of this new enum interfere with old data on storage? I guess it doesn't matter as much since it's just about an ongoing tx.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nope, the reason is the xcmNotificationType enum has been removed in Ocelloids SDK v2.4.x.
I created this enum to avoid checking many times on the notification type since it is not typed anymore by Ocelloids.

Before v2.4.x:
image

From v2.4.x:
image

We never store this data, so no way to interfere with storage 🙂

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.

3 participants