Skip to content

Conversation

aschran
Copy link
Contributor

@aschran aschran commented Mar 27, 2025

Previously this did not correctly account for the possibility of initial_shared_version not matching between the requested input and the object that was loaded.


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

Copy link

vercel bot commented Mar 27, 2025

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

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 9:09pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Mar 27, 2025 9:09pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Mar 27, 2025 9:09pm

Previously this did not correctly account for the possibility of
`initial_shared_version` not matching between the requested input
and the object that was loaded.
@aschran aschran force-pushed the aschran/cov2-loading branch from 347d88a to 6b7ed6e Compare March 27, 2025 21:08
@aschran aschran temporarily deployed to sui-typescript-aws-kms-test-env March 27, 2025 21:08 — with GitHub Actions Inactive
@aschran aschran requested a review from mystenmark March 27, 2025 22:00
@aschran aschran marked this pull request as ready for review March 27, 2025 22:00
@aschran aschran requested a review from joyqvq as a code owner March 27, 2025 22:00
@aschran aschran temporarily deployed to sui-typescript-aws-kms-test-env March 27, 2025 22:00 — with GitHub Actions Inactive
Self::ImmOrOwnedMoveObject((id, _, _)) => *id,
Self::SharedMoveObject { id, .. } => *id,
Self::MovePackage(id) => FullObjectID::Fastpath(*id),
Self::ImmOrOwnedMoveObject((id, _, _)) => FullObjectID::Fastpath(*id),
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: i think it would be better to call it QualifiedObjectID instead of FullObjectID, because this stuff isn't really part of the ID itself, its a function of how we are referring to it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

discussed on chat, but response for posterity

The prefix Full* as a term used to refer to the complete object identifier inclusive of both the address and the start_version for consensus objects was introduced a couple months ago already in #20822

Fair enough if you want to reopen the discussion on that naming choice, but it would be a broad rename across like 20 files that is not really related to this particular PR

@aschran aschran merged commit 3d2d800 into main Mar 28, 2025
82 checks passed
@aschran aschran deleted the aschran/cov2-loading branch March 28, 2025 20:22
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