Commit Graph

219 Commits

Author SHA1 Message Date
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
OptimismBot
65e4deea8b Merge pull request #5739 from ethereum-optimism/felipe/cache-fix-b
fix(proxyd): clean up cache initialization
2023-05-19 15:29:53 -07:00
Felipe Andrade
5616f40a16 also remove from config files 2023-05-18 16:30:33 -07:00
Felipe Andrade
7950eb9d7d fix(proxyd): clean up cache initialization 2023-05-18 16:27:23 -07:00
OptimismBot
3ab4152802 Merge pull request #5734 from ethereum-optimism/felipe/bg-shutdown
refactor(proxyd): move consensus shutdown nested inside the backend group
2023-05-18 01:16:13 -04:00
mergify[bot]
565073df19 Merge branch 'develop' into felipe/bg-shutdown 2023-05-18 05:12:58 +00:00
Felipe Andrade
d4956ee655 rename backend group receivers to be bg instead of just b to avoid misreading as a backend 2023-05-17 21:57:42 -07:00
OptimismBot
5c90e75750 Merge pull request #5715 from ethereum-optimism/felipe/new-cache
refactor(proxy): cache only immutable and hash-based methods
2023-05-18 00:57:25 -04:00
Felipe Andrade
4c08681043 move consensus shutdown nested inside the backend group 2023-05-17 21:56:55 -07:00
mergify[bot]
991dc2627d Merge branch 'develop' into felipe/new-cache 2023-05-18 04:53:58 +00:00
OptimismBot
806ad4c5b1 Merge pull request #5707 from ethereum-optimism/felipe/remove-backend-rate-limiter-b
refactor(proxyd): clean up backend rate limiter
2023-05-18 00:52:22 -04:00
Felipe Andrade
36e8e7a473 remove unused integration_tests/testdata/backend_rate_limit.toml 2023-05-17 21:43:25 -07:00
Felipe Andrade
3704119064 configs 2023-05-17 21:43:25 -07:00
Felipe Andrade
2f0f949784 refactor(proxyd): clean up backend rate limiter 2023-05-17 21:43:24 -07:00
Felipe Andrade
8aadf7abb1 replace base64 encoding for params with sha256 hash 2023-05-17 21:38:29 -07:00
OptimismBot
73607dbf62 Merge pull request #5708 from ethereum-optimism/felipe/fix-consensus-shutdown
fix(proxyd): add missing shutdown for consensus poller
2023-05-18 00:29:47 -04:00
mergify[bot]
64334e75df Merge branch 'develop' into felipe/fix-consensus-shutdown 2023-05-18 04:26:41 +00:00
OptimismBot
34884e451d Merge pull request #5545 from ethereum-optimism/felipe/event-dispatcher
feat(proxyd): consensus event dispatcher
2023-05-18 00:26:20 -04:00
mergify[bot]
3fe6123648 Merge branch 'develop' into felipe/event-dispatcher 2023-05-18 04:23:04 +00:00
OptimismBot
9640838629 Merge pull request #5709 from ethereum-optimism/felipe/redis-namespace
feat(proxyd): redis namespace
2023-05-18 00:22:58 -04:00
mergify[bot]
4abf351490 Merge branch 'develop' into felipe/redis-namespace 2023-05-18 04:19:40 +00:00
Felipe Andrade
2bf0517c3f signature should be base64 2023-05-15 20:50:28 -07:00
Felipe Andrade
9757609d61 nits 2023-05-15 20:25:38 -07:00
Felipe Andrade
7db2391624 fix metric copypasta 2023-05-15 19:38:09 -07:00
Felipe Andrade
af481985fa lint 2023-05-15 19:30:03 -07:00
Felipe Andrade
490624b25e refactor(proxy): cache only immutable and hash-based methods 2023-05-15 19:20:08 -07:00
OptimismBot
369a8d25cf Merge pull request #5694 from ethereum-optimism/felipe/prevent-ban-out-of-sync
feat(proxyd): prevent banning out-of-sync backend
2023-05-15 15:42:11 -04:00
Felipe Andrade
29f7aa88ab feat(proxyd): redis namespace 2023-05-13 22:33:09 -07:00
Felipe Andrade
bae755b825 fix(proxyd): add missing shutdown for consensus poller 2023-05-13 22:19:32 -07:00
Felipe Andrade
ef42dde6e1 revert cache.go 2023-05-11 15:45:33 -07:00
Felipe Andrade
491369d32f lint 2023-05-11 15:44:12 -07:00
Felipe Andrade
e025bcc4b4 proxyd: emit event on consensus broken 2023-05-11 15:41:44 -07:00
Felipe Andrade
5c4b805efc ban logic 2023-05-11 15:33:47 -07:00
Felipe Andrade
8e45b5d5ca feat(proxyd): prevent banning out-of-sync backend 2023-05-11 15:19:52 -07:00
OptimismBot
21284bd651 Merge pull request #5674 from ethereum-optimism/felipe/moar-consensus-metrics
feat(proxyd): moar consensus metrics
2023-05-10 15:39:48 -04:00
mergify[bot]
fdfbd9ce49 Merge branch 'develop' into felipe/moar-consensus-metrics 2023-05-10 19:36:37 +00:00
OptimismBot
e8f67724ad Merge pull request #5652 from ethereum-optimism/felipe/consensus-limit-block-lagging
feat(proxyd): add limit to consensus block lag
2023-05-10 15:29:31 -04:00
Felipe Andrade
88a172f739 skip reporting peer count according to config 2023-05-09 19:31:49 -07:00
Felipe Andrade
5f61935bc4 add filtered and total counts 2023-05-09 19:17:25 -07:00
Felipe Andrade
651b526c50 lint 2023-05-09 19:11:29 -07:00
Felipe Andrade
cfb26e6a8a convert update delay to ms 2023-05-09 17:50:25 -07:00
Felipe Andrade
cde638b11d moar consensus metrics 2023-05-09 17:21:25 -07:00
Felipe Andrade
53e4a369ab test edge cases 2023-05-09 14:20:23 -07:00
Felipe Andrade
c7caf2af4d rebase 2023-05-09 14:17:29 -07:00
Felipe Andrade
8d51c20079 use a global lag comparison, non order dependent 2023-05-09 14:14:19 -07:00