-
Notifications
You must be signed in to change notification settings - Fork 780
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
internal/sequencerapi,miner: move conditional rate limiter to the rpc layer instead of miner #377
Conversation
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.
Looks good. Few questions but nothing blocking.
Please squash the commits into a single commit before merge, with a commit message in the style that is used by geth |
21010bb
to
5f7ebba
Compare
Can you please rebase this PR @hamdiallam ? We had to squash some sloppy commits on the base branch. Also please squash your net-new commits on this PR, so this PR is merge-ready. |
yes will do! @protolambda @tynes out of curiosity should squash commit by default be enabled for PRs? If It was my op-geth PR that wasn't squashed, I apologize. Used to that being the norm and not thinking about clicking merge |
We don't have squash merge on bc of how it interacts with upstream, so the norm is to manually squash commits before merge |
ahh okay, gotcha. Edit: Just seeing the convo in discord |
f74da55
to
0f34b58
Compare
rebase'd and squashed @protolambda @tynes |
@hamdiallam Can you update the commit message to match the style that geth uses? |
cc @tynes soft bump just so that this commit ends up in the same release tag as the main PR since this contains a flag name change |
bump @tynes |
Description
Incorporating a suggestion from @tynes
Since rpc requests are multi-routine, we can use the
WaitN
functionality with the parent context, allowing the request timeout to simply cancel the reservation.Renamed the flag names such that they have the same prefix for consistency
Tests
Additional context
A followup up #330
Metadata