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
Pre consensus fix #240
base: main
Are you sure you want to change the base?
Pre consensus fix #240
Changes from all commits
9213261
b76a0c4
6c37340
3ab8043
91ba801
cfb3953
6149768
a69c0fc
0266dd8
4beb72b
cc6fdff
5093469
4a2e4a6
92d01ab
eed7716
55e916f
81871de
3a2f27a
3792c8b
72e5463
0482edc
1443cbb
35c8180
c8550c2
752b291
6019385
cf709d8
f806ac8
ad45eff
6667490
2371834
27a228d
cc21873
353550e
c75605e
9a35080
8a9c481
eb58c28
b2b0e01
dfb206b
fbab680
71c1386
5d79a72
0ae002d
a2cb272
abb8bd3
a033359
e83dc30
efaac9b
d2b48a7
1e8fe8b
acbfcb0
298aa64
26a84c5
d477e51
a907617
27b2b35
027d33d
6e21a03
ebb500a
2e27dae
9b88f72
052306e
bc1d358
49bf06d
fee005a
2fbcc0b
61c39b9
5d6def1
57f10c0
492b425
64be057
db0c2f2
38172ac
d0f5c3b
0259922
1eaad21
e3ed9e0
d88a5ab
ecc6a3f
18e6b47
2bddef9
4b5e267
c3f8472
82f901f
4e12057
b6eac02
8705dd2
4b1d5d7
72090e6
623e539
69b0924
62b1714
5cf7b48
a42beb6
d404818
daec545
18b3a65
e7611df
3ba384d
ece2452
f076f17
1d2fdc6
ea887f9
3a609dc
9b1d012
932a909
9798156
bc66e11
104ec06
d4af87e
f72ecb6
a658202
7d06b45
d3d5248
21cb37e
fdedf9c
7fc3513
c90b22c
0097b19
32a59cd
3fe7387
9b50318
48f04e3
5609083
690bee0
21dafa4
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.
not relevant for spec, but same code length with less memory allocations:
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.
why delete sort?
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.
if we are on first height (which will never happen I guess) then its ok that the duty height is smaller than the controller height? I understand why its ok that its equal but not lower.
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.
If it is small or equal it returns an error.
On first height it can only be equal.
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.
you mean if firstHeight would be a number different than 0?
If it will be 1 then we won't need this special condition in all those places in the code