Repository navigation
test: increase test coverage (block manager) #2219
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
0aef0f7
aggregation and publish block test cases
9662765
linting
d7f65ba
fix skipped tests
ab83360
Merge branch 'main' into marko/manager_tests
tac0turtle ad3ac98
add store_retriever tests
6450b47
more tests
7dfe970
move manager around to make it more understandable what is being tested
4be1784
lint fix
16b38ca
remove p2p mock
078ddf9
add test case for converttobytes
42bcb91
create retriever file and move functions to where they are used
19e22a6
add scripts to codecov ignore
b36bb29
add retreiver tests
58d0945
add another test case
c9e1a5d
remove isProposer as it use to be always true
705317c
pull out submitter
ace80b2
fix lint
433e2a8
address some coderabbit issues
764516f
rename and address some comments
1e996fe
reuse getSiganture
e1d46e9
++
26c7031
be consistent in using little endian
eee25c5
fix lint
66a1f23
fix failure
e00e9db
lint and increase timeout
2f67dfd
use time.milliseecond instead of 0
28e892a
coderabbit
ea0e69c
remove test
dfc7065
add nil check
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove isProposer as it use to be always true
- Loading branch information
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
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.
💡 Verification agent
🧩 Analysis chain
Clarify block protocol overhead calculation
The TODO comment questions why
blockProtocolOverheadis subtracted frommaxBlobSize, indicating this code's purpose is not well understood.Research why this adjustment is necessary and document the reason in the code comment. This could involve checking DA layer requirements or looking at older commits that introduced this code.
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 1286
Update comment to explain protocol overhead subtraction
Replace the placeholder TODO with a concise explanation that we reserve
blockProtocolOverheadspace so the marshaled block (header + protocol encoding) never exceeds the DALC’sMaxBlobSizelimit.File:
block/manager.goaround lines 304–307