-
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
Refer to create rather than create_from_account for token v2 #9430
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.
Lets hold off on this a bit as this is not enabled on testnet and mainnet yet
Got it, I'll add a label. |
I brought this up with Kevin already but yeah we may need to think more about how the new |
@xbtmatt can you enumerate those? I updated the Python example to use events, it wasn't too bad. |
I thought there were more but maybe not :p These are the only two I could find, in @gregnazario's test_utils module for the marketplace contract aptos-core/aptos-move/move-examples/marketplace/sources/test_utils.move Lines 90 to 101 in 59f6293
aptos-core/aptos-move/move-examples/marketplace/sources/test_utils.move Lines 110 to 121 in 59f6293
Although they will obviously not fail in certain environments, like for the CLI they won't until it uses the release that enables the auid feature flag |
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.
now is the time!
Gah there are other conflicts... |
@banool please update and we'll land... |
f4c822b
to
1a39fa2
Compare
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
The docs refer to create_from_account but this function is deprecated, so I make them refer to create instead.
Additionally, create_from_account is marked as deprecated but nothing says what to use instead. I add a comment explaining what to do.
As you can see my editor also obliterates trailing spaces, hopefully that's alright. We should probably make the linter do that anyway.
Test Plan
👀