-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
[sui framework] add vec_map::remove_entry_by_idx
#4193
[sui framework] add vec_map::remove_entry_by_idx
#4193
Conversation
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 excellent, thanks!
Would you mind adding some tests for the success and failure case in https://github.com/MystenLabs/sui/blob/17f6960f8c1ab034ab05f00e5d6babb2877f451f/crates/sui-framework/tests/vec_map_tests.move ?
Done! |
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.
Good catch on the older test
Ah, I forgot there's one more step to go through here. Adding a new function to the Sui framework changes the genesis blob, and we have snapshots of this blob that need to be updated. Please do:
|
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.
For updating the genesis snaphsot
That seems to have worked (it updated |
I think |
Done! Results show that Cool tooling :). I'll try to keep all this in mind for the future. |
Rebased my changes on top of |
This test was identical to the one above it - probably a copy/paste mistake.
No description provided.