Commit Graph

336 Commits

Author SHA1 Message Date
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
Felipe Andrade
3fd2abea84 test on edge 2023-05-09 14:13:38 -07:00
Felipe Andrade
2856a2c9e1 proxyd: add limit to consensus block lag 2023-05-09 14:13:35 -07:00
OptimismBot
71d858cdd3 Merge pull request #5656 from ethereum-optimism/felipe/fix-cache-for-eth2-block-tags
fix(proxyd): eth2 block tags {safe, finalized} should be valid tag values and avoid cache
2023-05-09 15:59:19 -04:00
mergify[bot]
96ebb5a1c4 Merge branch 'develop' into felipe/fix-cache-for-eth2-block-tags 2023-05-09 19:55:22 +00:00
OptimismBot
8a0ecbbe36 Merge pull request #5664 from ethereum-optimism/felipe/fix-bs-access
refactor(proxyd): prevent direct access to backend state struct in consensus poller
2023-05-09 15:55:16 -04:00
mergify[bot]
5b635ce32d Merge branch 'develop' into felipe/fix-bs-access 2023-05-09 19:52:11 +00:00
OptimismBot
884292a0c8 Merge pull request #5654 from ethereum-optimism/felipe/fix-auth-ctx
fix(proxyd): use correct context for auth
2023-05-09 15:33:38 -04:00
Felipe Andrade
020bc66243 fix test 2023-05-09 11:33:38 -07:00
Felipe Andrade
b95f2a6a62 make tag earliest cacheable 2023-05-09 09:39:11 -07:00
Felipe Andrade
cc9f6022de proxyd/fix: eth2 block tags {safe, finalized} should be valid tag values and avoid cache 2023-05-09 09:39:11 -07:00
Felipe Andrade
d4b2693ffd ban / isbanned 2023-05-09 03:58:35 -07:00
Felipe Andrade
32064105c8 prevent direct access to backend state struct 2023-05-09 02:59:32 -07:00
Felipe Andrade
92b54553c8 proxyd/fix: use correct context for auth 2023-05-08 19:19:46 -07:00
OptimismBot
6302eddef8 Merge pull request #5620 from ethereum-optimism/felipe/log-level
proxyd/nit: adjust log level
2023-05-04 19:57:56 -04:00
mergify[bot]
f5a8f900d6 Merge branch 'develop' into felipe/log-level 2023-05-04 23:55:14 +00:00
OptimismBot
0d3740dfd6 Merge pull request #5619 from ethereum-optimism/felipe/skip-peer-count
proxyd: skip peer count config per backend
2023-05-04 19:40:13 -04:00
Felipe Andrade
5f4ead67a7 adjust log level 2023-05-04 16:40:11 -07:00
mergify[bot]
3e9d5468a8 Merge branch 'develop' into felipe/skip-peer-count 2023-05-04 23:36:30 +00:00
OptimismBot
e87a5d8dad Merge pull request #5618 from ethereum-optimism/felipe/rewrite-blockorhash
proxyd/fix: rewrite should support BlockNumberOrHash
2023-05-04 19:36:22 -04:00
Felipe Andrade
75dcfd9a7a proxyd/config: skip peer count check 2023-05-04 16:10:45 -07:00
Felipe Andrade
1d3970995e goimports 2023-05-04 15:36:37 -07:00
Felipe Andrade
538492a0e7 rewrite should support blockorhash 2023-05-04 15:33:08 -07:00
felipe-op
bb4a592d77 proxyd/fix: error rate tolerance (#5606) 2023-05-04 09:53:11 -07:00
OptimismBot
7a4a9b5c39 Merge pull request #5594 from ethereum-optimism/felipe/configs
proxyd: externalize configs
2023-05-04 08:25:45 -07:00
mergify[bot]
c9e2f5b28f Merge branch 'develop' into felipe/configs 2023-05-04 15:22:38 +00:00
felipe-op
7c9dd519e0 proxyd: re-write block tags to enforce consensus (#5586) 2023-05-04 08:21:48 -07:00
Felipe Andrade
d752c9bf9e externalize configs 2023-05-03 16:23:43 -07:00
Felipe Andrade
c2ba3b1c55 address comments 2023-04-28 11:51:05 -07:00
Felipe Andrade
58e3a35677 proxyd: round-robin lb for consensus group 2023-04-27 17:22:54 -07:00
Felipe Andrade
b7f559c4c2 fix http code for unhealthy backends 2023-04-27 12:10:30 -07:00
Felipe Andrade
f447404608 sliding window thread safe 2023-04-26 13:07:01 -07:00
Felipe Andrade
26f7d10e16 proxyd: integrate health checks 2023-04-26 12:51:42 -07:00
OptimismBot
ba17174da5 Merge pull request #5531 from ethereum-optimism/felipe/proxyd-sliding-window
proxyd: sliding window
2023-04-25 10:24:13 -07:00