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(types): avoid deserialization when fetching ID of non-upgraded packages #5261

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

jkrvivian
Copy link
Contributor

Description of change

Merge an enhancement from upstream: MystenLabs/sui@11ddc9e

The original_package_id function is showing up in some slow traces, so make it less expensive in the (common) case of grabbing the ID of a non-upgraded package

Links to any relevant issues

Close #4688

Type of change

  • Enhancement

Change checklist

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have checked that new and existing unit tests pass locally with my changes

@jkrvivian jkrvivian self-assigned this Feb 7, 2025
@jkrvivian jkrvivian requested review from a team as code owners February 7, 2025 08:37
Copy link

vercel bot commented Feb 7, 2025

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

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
apps-backend ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 9:16am
apps-ui-kit ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 9:16am
rebased-explorer ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 9:16am
wallet-dashboard ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 9:16am

@iota-ci iota-ci added core-protocol node Issues related to the Core Node team labels Feb 7, 2025
@jkrvivian jkrvivian force-pushed the node/fix/avoid-deserialize-id-of-unupgraded-pkg branch from aee3826 to 95f7518 Compare February 7, 2025 09:13
@jkrvivian jkrvivian merged commit f3868d4 into develop Feb 8, 2025
40 of 41 checks passed
@jkrvivian jkrvivian deleted the node/fix/avoid-deserialize-id-of-unupgraded-pkg branch February 8, 2025 03:37
lucas-tortora pushed a commit that referenced this pull request Feb 11, 2025
…ckages (#5261)

Signed-off-by: Lucas Tortora <lucass.tortora@iota.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-protocol node Issues related to the Core Node team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[sui-types] avoid deserialization when fetching ID of non-upgraded pa… · MystenLabs/sui@11ddc9e
5 participants