-
Notifications
You must be signed in to change notification settings - Fork 81
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
smartcontract: update nns wrapper #3291
Conversation
e13ec42
to
c591a27
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3291 +/- ##
==========================================
- Coverage 85.21% 84.97% -0.24%
==========================================
Files 327 328 +1
Lines 44457 44707 +250
==========================================
+ Hits 37882 37992 +110
- Misses 5070 5208 +138
- Partials 1505 1507 +2 ☔ View full report in Codecov by Sentry. |
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.
Add reference to initial issue to commit/PR description.
37ada47
to
9e23ed4
Compare
9e23ed4
to
34bf19a
Compare
e7f7ce6
to
4ae4432
Compare
Linter is failing due to underscores in func names, so let's resolve this issue in #3296, and for now let's have underscore-free names. |
4ae4432
to
88cdf47
Compare
Need to be rebased onto master. |
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.
And we need to think about the destination place for NNS wrapper because it's not native contract anymore.
88cdf47
to
8912962
Compare
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.
s/Refs #2732
/Close #2732.
in the commit message, because this single commit closes the whole issue. Also, in the same commit we need to move this wrapper to another directory.
@roman-khimov, I've consider the pkg/rpcwrappers
destination directory for this package, because currently we have rpcclient
upper-level directory with rpc
prefix, so it looks similar. I also considered something like pkg/nonnative-wrappers
if one day we're going to have simple wrappers for contracts (but it's only applicable for go contracts, so hardly ever we'll add something). Maybe you have something in mind? Or maybe @AliceInHunterland?
8912962
to
c19bbd0
Compare
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.
A batch of setters left uncovered, but otherwise LGTM.
@roman-khimov, need your opinion on wrapper location path.
c19bbd0
to
1a693d0
Compare
Many other rpcclient subpackages are wrappers in their essence as well. |
Not the NNS case, hardly ever we'll merge these changes in the https://github.com/neo-project/non-native-contracts.
I saw this comment in the original issue (#2732 (comment)), but I don't want to introduce this circular dependency, because it's irritating to update it. I don't want to add more updating problems, we already have interop deps updating scripts, it's enough I think.
Do you suggest to keep it as is in the |
Yep, |
@AliceInHunterland, please, move the wrapper back to |
Added missing function from smart-contract manifest. Close #2732 Signed-off-by: Ekaterina Pavlova <[email protected]>
1a693d0
to
000109b
Compare
Added missing function from nns smart-contract manifest.
Closes #2732.