Skip to content
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

feat: Remove TPS limiter from TX Sender #793

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Conversation

popzxc
Copy link
Member

@popzxc popzxc commented Jan 2, 2024

What ❔

Removes TPS Limiter from TX Sender component.

Why ❔

  • It didn't work properly: limit is applied per API server, and API servers are horizontally scalable.
  • It doesn't seem to be configured in any of our envs.
  • It doesn't really make sense in context of ENs.
  • We have other mempool protection measures anyways (tx dry-run, nonce limits, etc).

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.
  • Spellcheck has been run via cargo spellcheck --cfg=./spellcheck/era.cfg --code 1.

RomanBrodetski
RomanBrodetski previously approved these changes Jan 2, 2024
@popzxc popzxc added this pull request to the merge queue Jan 2, 2024
Merged via the queue into main with commit d0e9296 Jan 2, 2024
25 checks passed
@popzxc popzxc deleted the popzxc-remove-tps-limiter branch January 2, 2024 12:08
github-merge-queue bot pushed a commit that referenced this pull request Jan 2, 2024
🤖 I have created a release *beep* *boop*
---


##
[18.13.0](core-v18.12.0...core-v18.13.0)
(2024-01-02)


### Features

* **contract-verifier:** add zksolc v1.3.19
([#797](#797))
([2635570](2635570))
* Remove generic bounds on L1GasPriceProvider
([#792](#792))
([edf071d](edf071d))
* Remove TPS limiter from TX Sender
([#793](#793))
([d0e9296](d0e9296))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
@popzxc popzxc mentioned this pull request Jun 3, 2024
5 tasks
github-merge-queue bot pushed a commit that referenced this pull request Jun 3, 2024
## What ❔

- Removes a no longer needed CLI flag.
- Removes an undocumented configuration option that was deprecated [long
ago](#793).

## Why ❔

Less dead code.

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
- [ ] Spellcheck has been run via `zk spellcheck`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants