Skip to content

Conversation

@AliceInHunterland
Copy link
Contributor

@AliceInHunterland AliceInHunterland commented Mar 19, 2024

@AnnaShaleva
Copy link
Member

It should be ported to the corresponding interop package and to the Neo-specific invoker.

@AnnaShaleva
Copy link
Member

Tests are failing.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

Tests are still failing.

@AnnaShaleva
Copy link
Member

AnnaShaleva commented Mar 22, 2024

Block 20 stateroot from RPC tests needs to be updated because you change native Management's state by adding new method to native Neo's manifest.

@codecov
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 84.80%. Comparing base (900ef46) to head (f8ebed2).
Report is 2 commits behind head on master.

Files Patch % Lines
pkg/rpcclient/neo/neo.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3362      +/-   ##
==========================================
- Coverage   84.81%   84.80%   -0.02%     
==========================================
  Files         331      331              
  Lines       44961    44969       +8     
==========================================
  Hits        38135    38135              
- Misses       5314     5321       +7     
- Partials     1512     1513       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM!

Signed-off-by: Ekaterina Pavlova <[email protected]>
@AnnaShaleva AnnaShaleva merged commit fa1c07e into master Mar 22, 2024
@AnnaShaleva AnnaShaleva deleted the getCommitteeAddress branch March 22, 2024 14:13
md = newMethodAndPrice(n.getCommittee, 1<<16, callflag.ReadStates)
n.AddMethod(md, desc)

desc = newDescriptor("getCommitteeAddress", smartcontract.Hash160Type)
Copy link
Member

Choose a reason for hiding this comment

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

It's only available after the Cockatrice hardfork, so at the very minimum this needs to be updated in #3213.

Copy link
Member

Choose a reason for hiding this comment

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

I saw the Cockatrice attribute, but since we don't have it now, I've merged this PR as is. I'll search for all mentions of Cockatrice in C# node anyway while implementing it.

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.

Expose committee address via native Neo contract

4 participants