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

[package upgrades] change upgrade criteria for struct type params #11369

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

tzakian
Copy link
Contributor

@tzakian tzakian commented Apr 26, 2023

No description provided.

@vercel
Copy link

vercel bot commented Apr 26, 2023

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

4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Apr 26, 2023 8:12pm
explorer-storybook ⬜️ Ignored (Inspect) Apr 26, 2023 8:12pm
sui-wallet-kit ⬜️ Ignored (Inspect) Apr 26, 2023 8:12pm
wallet-adapter ⬜️ Ignored (Inspect) Apr 26, 2023 8:12pm

Copy link
Member

@amnn amnn left a comment

Choose a reason for hiding this comment

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

LGTM! Couple nits, thanks @tzakian .


//# upgrade --package A0 --upgrade-capability 1,1 --sender A
module A1::base {
struct Foo<T: store> { }
Copy link
Member

Choose a reason for hiding this comment

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

You are also adding a store here, is that intentionaly? That would be incompatible anyway but for another reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep! But I just wanted to make sure we were covering that as well here.

@tzakian tzakian force-pushed the tzakian/disallow-generic-type-changes-on-structs branch from 7a7829d to f23213c Compare April 26, 2023 20:10
@tzakian tzakian force-pushed the tzakian/disallow-generic-type-changes-on-structs branch from f23213c to 2d688f5 Compare April 26, 2023 20:11
@tzakian tzakian enabled auto-merge (squash) April 26, 2023 20:12
@tzakian tzakian merged commit 1dce15b into main Apr 26, 2023
@tzakian tzakian deleted the tzakian/disallow-generic-type-changes-on-structs branch April 26, 2023 20:39
@tzakian tzakian mentioned this pull request Apr 26, 2023
tzakian added a commit that referenced this pull request Apr 26, 2023
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