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

Add epoch query API to authorityAPI #3725

Merged
merged 2 commits into from Aug 3, 2022
Merged

Add epoch query API to authorityAPI #3725

merged 2 commits into from Aug 3, 2022

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented Aug 2, 2022

Add an API to AuthorityAPI that can request authenticated epoch data structure.
Cannot add the proper verify function in SafeClient yet, because that depends on hooking up the SafeClient and the state store in order to fetch the committee.

bmwill
bmwill approved these changes Aug 3, 2022
Copy link
Contributor

@bmwill bmwill left a comment

lgtm aside from one nit

.tap_err(|err| {
self.report_client_error(err);
})?;
Copy link
Contributor

@bmwill bmwill Aug 3, 2022

Choose a reason for hiding this comment

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

Generally this is not how logging should be handled, the macro invocation should be inlined here in order to properly report line numbers, etc.

Copy link
Contributor Author

@lxfind lxfind Aug 3, 2022

Choose a reason for hiding this comment

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

Good point

Copy link
Contributor Author

@lxfind lxfind Aug 3, 2022

Choose a reason for hiding this comment

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

Filed #3740

@lxfind lxfind enabled auto-merge (squash) Aug 3, 2022
@lxfind lxfind merged commit 9fe75ea into main Aug 3, 2022
18 checks passed
@lxfind lxfind deleted the epoch-create-cert branch Aug 3, 2022
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