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

feat(sig): sig use worker keypair if called in worker scope [NET-371] #1455

Merged
merged 14 commits into from
Feb 14, 2023

Conversation

justprosh
Copy link
Member

No description provided.

@justprosh justprosh changed the title feat(sig): sig.sign use worker keypair if called in worker scope feat(sig): sig use worker keypair if called in worker scope Feb 10, 2023
@justprosh justprosh changed the title feat(sig): sig use worker keypair if called in worker scope feat(sig): sig use worker keypair if called in worker scope (WIP) Feb 13, 2023
Comment on lines 910 to 913
if (t.service_id.as_str(), t.function_name.as_str())
!= ("registry", "get_record_bytes")
&& (t.service_id.as_str(), t.function_name.as_str())
!= ("registry", "get_record_metadata_bytes")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (t.service_id.as_str(), t.function_name.as_str())
!= ("registry", "get_record_bytes")
&& (t.service_id.as_str(), t.function_name.as_str())
!= ("registry", "get_record_metadata_bytes")
let duplet = (t.service_id.as_str(), t.function_name.as_str());
let metadata_bytes = ("registry", "get_record_metadata_bytes");
let record_bytes = ("registry", "get_record_bytes");
if duplet != record_bytes && duplet != metadata_bytes

@justprosh justprosh changed the title feat(sig): sig use worker keypair if called in worker scope (WIP) feat(sig): sig use worker keypair if called in worker scope [NET-371] Feb 14, 2023
@linear
Copy link

linear bot commented Feb 14, 2023

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.

None yet

3 participants