-
Notifications
You must be signed in to change notification settings - Fork 92
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
Auto sort modules by dependency order and review native function errors #971
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
6825912
to
cb16656
Compare
@@ -19,8 +19,10 @@ module moveos_std::raw_table { | |||
const ErrorAlreadyExists: u64 = 1; | |||
/// Can not found the key in the table | |||
const ErrorNotFound: u64 = 2; | |||
/// Duplicate operation on the table | |||
const ErrorDuplicateOperation: u64 = 3; |
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.
These errors are different from the raw_table native implemention.
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.
ErrorNotEmpty
is only used in raw_table.move, not in native functions. Should we defined an unused ErrorNotEmpty
in native function?
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.
It is better to define it and make sure the error code in Rust is consistent with error code in Move.
cb16656
to
6344919
Compare
abort code is not wrapped with |
6344919
to
af7859c
Compare
Summary