Commit Graph

313 Commits

Author SHA1 Message Date
Felipe Andrade
6809ceb44f fix test 2023-07-27 14:33:55 -07:00
Felipe Andrade
3f48703f26 testz 2023-07-27 13:44:51 -07:00
Felipe Andrade
a65810b467 feat(proxyd): betterer timeoutz 2023-07-27 13:44:51 -07:00
OptimismBot
73ce23c025 Merge pull request #6358 from ethereum-optimism/felipe/rate-limit-dos
feat(proxyd): sender rate limiter should check chain id
2023-07-26 18:28:12 -07:00
Felipe Andrade
16b03049ae feat(proxyd): sender rate limiter should check chain id 2023-07-19 14:09:15 -07:00
Mark Tyneway
efe98da60a Merge pull request #6200 from ethereum-optimism/develop
start release: merge develop to master
2023-06-29 11:41:38 -07:00
OptimismBot
28032fa2b2 Merge pull request #6097 from 0x00101010/remove-auth-check
[proxyd] do not block auth rpc call when auth is not enabled
2023-06-22 15:44:50 -04:00
Francis Li
d8ad7900d9 [proxyd] do not block auth rpc call when auth is not enabled 2023-06-21 11:06:49 -07:00
OptimismBot
8e8d33f02f Merge pull request #5864 from ethereum-optimism/felipe/add-getreceipts-meta-method
feat(proxyd): add consensus_getReceipts meta method
2023-06-13 18:27:13 -04:00
Felipe Andrade
3b56ec9d9e fix targets 2023-06-02 14:11:49 -07:00
Felipe Andrade
804a57566f fix input 2023-06-02 13:45:42 -07:00
Felipe Andrade
a3cf38f8b2 translate only methods with block params 2023-06-02 13:11:30 -07:00
Felipe Andrade
924030dd70 lint 2023-06-02 13:11:30 -07:00
Felipe Andrade
eb0fc1a837 lint 2023-06-02 13:11:30 -07:00
Felipe Andrade
33881542a9 feat(proxyd): add consensus_getReceipts meta method 2023-06-02 13:11:30 -07:00
OptimismBot
0ad110cbd4 Merge pull request #5845 from ethereum-optimism/felipe/metric-degraded
feat(proxyd): add metric for degraded backend
2023-05-31 17:59:43 -04:00
Felipe Andrade
cb2492d661 typo 2023-05-31 13:24:43 -07:00
Felipe Andrade
a4d4d8750f delay 500ms instead of 100ms 2023-05-31 13:13:31 -07:00
Felipe Andrade
a09795f83d metric for degraded backend 2023-05-31 13:07:19 -07:00
OptimismBot
ae8bb0957d Merge pull request #5841 from ethereum-optimism/felipe/rewrite-debug-getRawReceipts
feat(proxyd): add support to rewrite debug_getRawReceipts
2023-05-31 14:41:06 -04:00
Felipe Andrade
20648112b5 add test for debug_getRawReceipts with block hash 2023-05-31 10:56:59 -07:00
Felipe Andrade
52ceaa581f lint 2023-05-31 10:51:46 -07:00
Felipe Andrade
64dab786cf add cache support for debug_getRawReceipts when request is for block hash 2023-05-31 10:48:35 -07:00
Felipe Andrade
a2e1667b17 feat(proxyd): add debug_getRawReceipts to consensus 2023-05-31 10:04:20 -07:00
OptimismBot
79379f4f45 Merge pull request #5823 from ethereum-optimism/felipe/proxyd-readme
feat(proxyd): update readme
2023-05-30 11:52:09 -04:00
Felipe Andrade
4ebc07656a update readme 2023-05-30 08:43:07 -07:00
OptimismBot
d7d4c3f569 Merge pull request #5805 from ethereum-optimism/felipe/small-fixes-05-27
refactor(proxyd): order params chronologically: latest, safe, finalized + small fixes
2023-05-29 13:20:18 -04:00
Felipe Andrade
2bf2329dd3 order params chronologically: latest, safe, finalized 2023-05-27 10:30:50 -07:00
Felipe Andrade
04058779a9 small fixes 2023-05-27 10:21:05 -07:00
OptimismBot
45061a1c8c Merge pull request #5794 from ethereum-optimism/felipe/consensus-finalized-safe
feat(proxyd): track consensus for {safe,finalized} blocks and rewrite tags
2023-05-27 10:57:47 -04:00
Felipe Andrade
dbfb39a4fa lint 2023-05-27 07:38:19 -07:00
Felipe Andrade
8436728419 extract candidates logic, refactor update backend 2023-05-27 04:58:17 -07:00
Felipe Andrade
7405b8b360 refactor poller 2023-05-27 04:14:29 -07:00
Felipe Andrade
1f657b5f46 ban backend if error rate is too high 2023-05-27 02:02:50 -07:00
Felipe Andrade
0c27c83aba test refactor 2023-05-26 19:38:24 -07:00
Felipe Andrade
1b40d776a6 sane values for consensus_max_block_lag 2023-05-26 19:18:58 -07:00
Felipe Andrade
3cdac70a0d reset listeners, doc typos 2023-05-26 19:07:35 -07:00
Felipe Andrade
32be287887 typo 2023-05-26 15:57:22 -07:00
Felipe Andrade
d5594a62a0 moar tests for safe and finalized bans 2023-05-26 15:54:04 -07:00
Felipe Andrade
cdf9e9192a use go 1.20 2023-05-26 14:49:27 -07:00
Felipe Andrade
83c40076b6 typo 2023-05-26 14:25:56 -07:00
Felipe Andrade
2d9259ee20 better moar tests 2023-05-26 14:22:50 -07:00
Felipe Andrade
af863d39de consensus for {safe,finalized} and rewrite tags 2023-05-25 22:12:27 -07:00
felipe andrade
d5a476c5e8 fix(proxyd): use go-ethereum 1.12.0 parser for rpc.BlockNumberOrHash (#5791)
* bump go-ethereum to 1.12.0 to support finalized and safe block tags

* fix index out of range error for malformed requests

* goimports
2023-05-25 22:02:19 -07:00
OptimismBot
95895d6090 Merge pull request #5786 from ethereum-optimism/bugfix/safe-finalized-tags
proxyd: Pass through finalized and safe tags
2023-05-25 15:32:55 -04:00
Matthew Slipper
61db300042 proxyd: Pass through finalized and safe tags 2023-05-25 13:06:43 -06:00
felipe andrade
56938b6b01 normalize latency in ms (#5783) 2023-05-25 11:04:14 -07:00
felipe andrade
1d9406daa6 record sliding window metrics (#5782) 2023-05-25 09:16:16 -07:00
OptimismBot
c5c98bf614 Merge pull request #5752 from ethereum-optimism/felipe/dont-cache-tx-methods
fix(proxyd): avoid caching tx hash based methods
2023-05-23 12:25:14 -07:00
Felipe Andrade
10b8b8e32a fix(proxyd): avoid caching tx hash based methods, since the response may change with a reorg 2023-05-19 16:13:03 -07:00