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
Submit constraints only after commitments deadline + block template refactor #117
Submit constraints only after commitments deadline + block template refactor #117
Changes from 161 commits
4f0e7ad
a7af8e4
692043d
21e1f22
4ae0f0c
5560c78
baa1cb5
0bedfca
fcffacf
062c3f9
c168e14
edf0c6c
f1a5ae1
2f472df
b9a9763
fd3eb6d
a47ba99
cb71464
ea88f7c
9a7e967
5200f22
d34eefc
92ba9bd
6fba626
3188ef4
21095ac
56c7857
bb469a0
58dc11a
555209f
cb5b5e0
c6057d8
c24ebe2
87cbfa5
86ac3fc
48a68d1
87a0ac2
52ec1b2
3d8ca34
e8e4d9c
5e3db9e
6ca40c5
edf065c
aa021ab
f4cadee
a2a00c2
6e68814
dc63777
7bf5dd8
e24eebd
0e00315
d99a29e
98e58f0
9b9db34
da4e537
e9a5c8c
2d5f807
c83061e
b1cc672
4cb7be7
0002ce4
efbd001
6c0327a
4100a70
77693d3
613d0a9
bcbfd17
eaffe0b
e472775
faa0fc2
40da715
f2d17a2
1ea93e9
66879ed
d61e8a7
5c48b8e
9a53ded
34021ea
8084f93
d4418b5
6a00784
0e5ffa7
9204aef
9ff23ce
2a41483
79b3853
c175f89
a7cafca
95902fd
816cd5a
c23b69c
07876bd
5bff4b5
ed7ab9c
4064db6
1af755b
8eae331
5d940ee
ef1d6cf
75893d9
a9e386a
10969d5
7ddb67a
5cbf434
1862cc4
9351357
2f9afcd
17d7752
0d1ce4a
8940909
5a81ddf
f6c093e
e4d5c0c
6fc37a1
238aee3
519c9b3
22e088a
2ec0fe2
b065100
488323f
03367e0
bd359d2
0f47129
46118a0
68a8464
4f32d1c
e95848e
d1049f9
d7d1c3d
6d59ae9
c3d3f2f
56472e6
33c7e0b
c23b271
af28721
a8f6d02
b1fea68
ab3cdbe
084ac17
f72ebc2
c76c29c
62805cc
669d641
ca62c3e
57ca5b6
bd070ae
0b5ae0f
a3b15c8
4aab0d6
5416012
d0da8e0
6cd400a
f8fa5c4
7da5bca
3356699
53d5a39
4fa0d90
ddb69b8
882c68c
13723af
abf9eb8
1b563b8
487d06a
4790102
d34f41b
30d8e98
9fc9bb0
67d5c3c
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.
Retry Logic for Submitting Constraints
The retry logic for submitting constraints to
mevboost_client
is a crucial addition. However, the fixed delay and retry count could be made configurable to adapt to different network conditions or operational requirements.Make the retry logic parameters configurable through the system configuration.
Committable suggestion
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.
Refactor retry logic for constraint submission.
The retry logic for submitting constraints is critical but the implementation can be improved. Making retry parameters configurable, as suggested in the previous review, would allow the system to adapt better to various network conditions.
Committable suggestion
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.
Consider handling the local payload cache more robustly.
Clearing the local payload cache upon a successful response is a crucial operation. However, the current implementation does not handle potential race conditions or errors that might occur before this point. Consider adding error handling or a recovery mechanism to ensure the cache is consistent even in the face of errors.
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.
Improve error handling for local payload production failures.
The current implementation logs an error when no local payload is produced, but it does not attempt to recover or provide an alternative response. This might leave the system in an inconsistent state if it frequently occurs.