Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
IF: Implement computing finality digest #2282
IF: Implement computing finality digest #2282
Changes from 9 commits
4d02cf5
f7bc026
4639791
8014a38
90f87f9
f0c7501
14b1173
f02f113
1f77ef2
57bf066
2260fd5
f374b90
5f83347
1e8d557
d3dacfe
472b3e2
b79e173
af45a31
ec04b34
c9f9611
a9bb0b3
6824c2b
ef8c82a
87fb8b0
32ee804
8918588
de0b91a
700b3ed
35a9227
42fc370
28ccc0b
569de69
200764f
367924b
3260dfc
1eec92f
bce5309
e630a61
6cf0d83
ebcdb9e
74a4eff
2e8956b
b1a81e7
5546215
20cc780
8cd4b8a
f15df1d
c86a8a6
e4ab6a7
fab8b40
d91dcdd
21e23ca
cec7777
6d5a1fa
2db3cfc
e194a40
3f762c4
2a2cfc0
229de94
be73881
f3daf0c
a4401fd
67c20ef
7a57560
3729f9b
2c63198
869844c
6878d5b
4a00109
65319ec
7f3d5e6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 believe this change means it is now possible to skip
propser_schedule.version
numbers. We should modify theset_proposed_producers
logic so we don't skip version numbers. Need a test to cover that case so we don't break it again.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.
Does
leap/libraries/chain/controller.cpp
Lines 481 to 484 in 7f3d5e6
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.
No, that doesn't help. We need to make sure that if a proposer policy is scheduled for the same
proposer_policy.active_time
that it replaces the current one there but doesn't increment the schedule version. I think we will need to changecontroller::set_proposed_producers
to check if there is an existing one that would have the sameactive_time
and replace it and use its version. We should return the correct version to the contract.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.
Feel free to create a follow-on issue for this.
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.
#2313
Thanks.