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: req_new_epoch advance epoch number #14635

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

PatrykBuniX
Copy link
Contributor

@PatrykBuniX PatrykBuniX commented Feb 7, 2023

When AVS library requests new epoch with req_new_epoch callback, we should advance epoch number by calling corecrypto.updateKeyingMaterial(groupId) and update epoch info with set_epoch_info.

It also reduces some redundant calls to BE subconversation endpoint (we're getting the info from local corecrypto store instead).

@codecov
Copy link

codecov bot commented Feb 7, 2023

Codecov Report

Merging #14635 (de478d0) into dev (5a87c27) will decrease coverage by 0.01%.
The diff coverage is 7.69%.

@@            Coverage Diff             @@
##              dev   #14635      +/-   ##
==========================================
- Coverage   42.60%   42.59%   -0.01%     
==========================================
  Files         615      615              
  Lines       21041    21040       -1     
  Branches     4806     4808       +2     
==========================================
- Hits         8965     8963       -2     
- Misses      10960    10961       +1     
  Partials     1116     1116              

@PatrykBuniX PatrykBuniX merged commit 11180b9 into dev Feb 7, 2023
@PatrykBuniX PatrykBuniX deleted the runfix/req-new-epoch-advance-number branch February 7, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants