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
Author a sibling block in case best block's slot is same as current slot #2827
Author a sibling block in case best block's slot is same as current slot #2827
Changes from 31 commits
5cd4263
f57fa84
ca4724f
12fde0b
ae2fa69
cc2ffaf
cbc44d2
3de132f
a63a073
aca3b68
9c9f47b
527f515
cecc308
d022f43
540c09a
1edb86b
7fa9196
64e3c03
db03cbb
95a7a35
220f5ae
37fa232
11471e8
e0109dc
93b3057
fdb1fd2
388678a
0862104
c99b776
26f8769
22d9b2c
3e2aa7f
1589dc9
8ec533c
8448863
ce9e195
bcdf2b5
9a9f26d
b065fb8
264db41
24e69e6
2fd728a
31fa786
881eee0
34800ee
8155d43
d0b2a1b
03db54d
45b5fd3
a71de07
37b41ca
532c617
f56e154
849ad82
9ba1b58
8dbc936
db736ba
3366ecc
65f649e
e667450
06313f1
bb1a02c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
nit maybe move the content of that if block to a separate function?
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.
nit 🤔 can this ever happen?
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.
It probably isn't supposed to happen, but I have seen it happen.
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.
Uh should we create an issue for that? Sounds kinda strange we can't find the parent header right?
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.
Would it be possible to keep this injected from each test?
Test code duplication is better than dark magic test helping code, which makes it hard to debug tests, are hard to read and also suggests to use
gomock.Any()
/AnyTimes()
which are generally bad testing-depth wise.