Skip to content
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

Merged
merged 9 commits into from Feb 4, 2024
Merged

chore: adding abi tests #1136

merged 9 commits into from Feb 4, 2024

Conversation

ghost
Copy link

@ghost ghost commented Jan 24, 2024

Addresses #1124

Comment on lines 647 to 648
#[cfg(test)]
mod tests {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shariffdev

  1. This place does not make sense for these tests. Let's move them to near-sdk/tests/
  2. 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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@ghost ghost marked this pull request as ready for review January 30, 2024 18:57
@ghost ghost requested review from agostbiro and uint as code owners January 30, 2024 18:57
@frol
Copy link
Collaborator

frol commented Feb 3, 2024

@shariffdev Would you be able to fix the issues highlighted by CI?

frol
frol previously approved these changes Feb 4, 2024
Copy link
Collaborator

@frol frol left a 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!

@frol frol enabled auto-merge (squash) February 4, 2024 13:03
@frol frol disabled auto-merge February 4, 2024 13:03
@frol frol enabled auto-merge (squash) February 4, 2024 13:04
@frol frol merged commit a12da50 into near:master Feb 4, 2024
13 checks passed
@frol frol mentioned this pull request Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant