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
fix(submission): fix counting and time #969
fix(submission): fix counting and time #969
Changes from 73 commits
7e84310
2fb1e65
552b62b
b104705
40382f5
291cf7d
a714bdb
c4d1c4f
6c15052
a8ea801
fb59aa8
8594afc
e01f45d
82c4c80
acb7921
b89ce10
3230c3f
f070b6a
b91ead0
4a0eea1
fe0baae
142063b
b3e98a4
9a4be77
f508d77
9b5b982
5111094
45deb44
d3e27a2
8b2967b
5bdad3a
f1a3ff3
c4fa01c
71ecf91
824b77b
b07e21d
0068ee4
81e6d26
0c3d95a
fb61910
f150a85
ca4e437
4d28ad9
599c6ac
3d8773b
12fd608
bc1bf46
e448914
3fc4740
cc47c39
edffef1
05fa2b0
ae0f825
8322173
520febe
b3c2fee
5021a7f
4cf9fce
9b1bd07
151f0d8
7e9eb6d
a64c728
4eb84ea
cae267d
0244c29
af80f99
3c0c9f4
fb9ec8e
dc0aa8d
5c75955
d23cba5
8509b1b
dd6dafa
e984d29
bf63cf5
0d8fe37
9742595
01a58df
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check notice
Code scanning / CodeQL
Spawning a Go routine Note
Check failure on line 357 in block/manager_test.go
GitHub Actions / build
Check failure on line 372 in block/manager_test.go
GitHub Actions / build
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 think something like this would be more concise and easier to understand:
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.
That looks wrong because you are not waiting on context on the second
bytesProducedC <- block.SizeBytes() + commit.SizeBytes()
lineCheck notice
Code scanning / CodeQL
Floating point arithmetic Note
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 is draining needed here?
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.
to stop the producer being blocked