-
Notifications
You must be signed in to change notification settings - Fork 80
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
NEO candidate registration via NEP-27 callback #3700
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3700 +/- ##
==========================================
- Coverage 83.10% 83.06% -0.04%
==========================================
Files 335 335
Lines 46821 46855 +34
==========================================
+ Hits 38911 38922 +11
- Misses 6317 6343 +26
+ Partials 1593 1590 -3 ☔ View full report in Codecov by Sentry. |
d4d1ff2
to
e80e08d
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.
Functionality itself LGTM, but don't we want to upgrade neo-go wallet candidate vote
command as far? We may add a switch to use transfer instead of a call to "vote" if Echidna is enabled on server. Although it may be a matter of a separate issue, create one?
Ref. #3775, this PR is only about contract-related changes. |
Signed-off-by: Roman Khimov <[email protected]>
e80e08d
to
f0457ab
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.
We may merge it right now, or may wait for neo-project/neo#3643, @roman-khimov, it's up to you.
Solves two problems: * inability to estimate GAS needed for registerCandidate in a regular way because of its very high fee (more than what normal RPC servers allow) * inability to have MaxBlockSystemFee lower than the registration price which is very high on its own (more than practically possible to execute) See neo-project/neo#3552. Signed-off-by: Roman Khimov <[email protected]>
Connection succeeds when AIO is running, some more obscure port is less likely to cause this problem. Signed-off-by: Roman Khimov <[email protected]>
f0457ab
to
38b9b13
Compare
neo-project/neo#3643 will require some additional support from manifest generator and it's not yet there. Let's sync with the current state of things and standard can be added later. |
See neo-project/neo#3552. Depends on neo-project/neo#3597.