-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[move-compiler][sui-mode] Added struct declaration, private generics, and global storage checks #13482
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good to me, with a few small nits about error formatting and a few small code changes. Nice to see more and more checks for safety!
0101686
to
69bda89
Compare
… and global storage checks - Added checks for structs with key (id field naming+type) - Added checks for private generics in sui::transfer and sui::event - Added checks banning global storage operations
…nerics, and global storage checks
…vate generics, and global storage checks
69bda89
to
dd8e1d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes all look good
… and global storage checks (#13482) ## Description - Added checks for structs with key (id field naming+type) - Added checks for private generics in sui::transfer and sui::event - Added checks banning global storage operations ## Test Plan - Migrated tests --- If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process. ### Type of Change (Check all that apply) - [ ] protocol change - [X] user-visible impact - [ ] breaking change for a client SDKs - [ ] breaking change for FNs (FN binary must upgrade) - [ ] breaking change for validators or node operators (must upgrade binaries) - [ ] breaking change for on-chain data layout - [ ] necessitate either a data wipe or data migration ### Release notes Move now provides errors for all custom rules present in Sui
Description
Test Plan
If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)
Release notes
Move now provides errors for all custom rules present in Sui