-
Notifications
You must be signed in to change notification settings - Fork 249
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
chore: adding abi tests #1136
chore: adding abi tests #1136
Conversation
near-sdk-macros/src/lib.rs
Outdated
#[cfg(test)] | ||
mod tests { |
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.
@shariffdev
- This place does not make sense for these tests. Let's move them to
near-sdk/tests/
- I would like to encourage you to consider looking into cargo-near implementation of abi extraction to avoid sh script running, etc: https://github.com/near/cargo-near/blob/48c7b48fa0f7f3b4afda447ba0b04cce3609b0a9/cargo-near/src/commands/abi_command/abi.rs#L31
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.
Updated
@shariffdev Would you be able to fix the issues highlighted by CI? |
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.
Thank you for pushing it!
Addresses #1124