Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(consensus): use
make_reshare_dealings_response
directly inste…
…ad of passing it as an argument to `update_completed_reshare_requests`
- Loading branch information
1 parent
4d0f4f2
commit 1cdd44b
Showing
4 changed files
with
144 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
1cdd44b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @kpop-dfinity, curious to understand why the previous version of
make_reshare_dealings_response
was implemented in such a way. What was the benefit or reasoning behind it?1cdd44b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, to be honest. I assume because it was easier to test the
update_completed_reshare_requests
function: instead of properly setting upEcdsaDealingsContext
s we just mocked the response ofmake_reshare_dealings_response