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

invoker: add Signers() API #3492

Merged
merged 2 commits into from
Jun 21, 2024
Merged

invoker: add Signers() API #3492

merged 2 commits into from
Jun 21, 2024

Conversation

roman-khimov
Copy link
Member

Signers are very important for notary checks and keeping/passing an additional copy of them is very inconvenient. Exposing them from invoker makes them available in actors too.

@roman-khimov roman-khimov added I3 Minimal impact rpc RPC server and client U4 Nothing urgent enhancement Improving existing functionality S3 Minimally significant labels Jun 20, 2024
@roman-khimov roman-khimov added this to the v0.106.3 milestone Jun 20, 2024
@roman-khimov
Copy link
Member Author

Maybe we also need SignerAccounts() for actors, though.

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.11%. Comparing base (4ff2063) to head (cc3f528).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3492      +/-   ##
==========================================
- Coverage   86.19%   86.11%   -0.08%     
==========================================
  Files         331      331              
  Lines       38494    38507      +13     
==========================================
- Hits        33179    33162      -17     
- Misses       3785     3814      +29     
- Partials     1530     1531       +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.

I agree that we need SignerAccounts actor API, they hold the accounts and it will be useful in NeoFS, I think I saw places where account is passed along with actor.

pkg/rpcclient/invoker/invoker.go Outdated Show resolved Hide resolved
Signers are very important for notary checks and keeping/passing an additional
copy of them is very inconvenient. Exposing them from invoker makes them
available in actors too.

Signed-off-by: Roman Khimov <[email protected]>
Allow to retrieve the list easily.

Signed-off-by: Roman Khimov <[email protected]>
@AnnaShaleva AnnaShaleva merged commit d9d9d00 into master Jun 21, 2024
20 of 21 checks passed
@AnnaShaleva AnnaShaleva deleted the actor-signers branch June 21, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving existing functionality I3 Minimal impact rpc RPC server and client S3 Minimally significant U4 Nothing urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants