-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 the type in V2 event name: Change CollectionMaxiumMutate
to CollectionMaximumMutate
#15416
Conversation
…llectionMaximumMutate` Corrected `CollectionMaxiumMutate` to `CollectionMaximumMutate`
⏱️ 1h 17m total CI duration on this PR
|
@@ -11,7 +11,7 @@ This module provides utils to add and emit new token events that are not in toke | |||
- [Struct `CollectionUriMutateEvent`](#0x3_token_event_store_CollectionUriMutateEvent) | |||
- [Struct `CollectionUriMutate`](#0x3_token_event_store_CollectionUriMutate) | |||
- [Struct `CollectionMaxiumMutateEvent`](#0x3_token_event_store_CollectionMaxiumMutateEvent) | |||
- [Struct `CollectionMaxiumMutate`](#0x3_token_event_store_CollectionMaxiumMutate) | |||
- [Struct `CollectionMaximumMutate`](#0x3_token_event_store_CollectionMaximumMutate) |
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.
The link in the table of contents needs to be updated to match the renamed struct. The current link points to #0x3_token_event_store_CollectionMaxiumMutate
but should point to #0x3_token_event_store_CollectionMaximumMutate
.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
@@ -59,7 +59,7 @@ module aptos_token::token_event_store { | |||
|
|||
#[event] | |||
/// Event emitted when the collection maximum is mutated | |||
struct CollectionMaxiumMutate has drop, store { | |||
struct CollectionMaximumMutate has drop, store { |
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.
won't we need both of these though... since this is already on mainnet?
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.
@davidiw , yes, I put the old one at the end of the file: https://github.com/aptos-labs/aptos-core/pull/15416/files#diff-a248231a7241c7460f7cbcf7d963f52b1928878d184ddc841ea3d22c52c12df9R535 That seems to be the convention, right? @lightmark
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.
yeah... I think I just remove the suffix blindly w/o checking the spelling...
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
Corrected
CollectionMaxiumMutate
toCollectionMaximumMutate
intoken_event_store.move
Fixes #15433