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

refactor: move rate limiter to zetaclient and add metrics #2110

Merged
merged 50 commits into from
May 7, 2024

Merge branch 'develop' into refactor-rate-limiter

ebc87ee
Select commit
Loading
Failed to load commit list.
Merged

refactor: move rate limiter to zetaclient and add metrics #2110

Merge branch 'develop' into refactor-rate-limiter
ebc87ee
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 7, 2024 in 0s

72.30% (+0.43%) compared to b460556

View this Pull Request on Codecov

72.30% (+0.43%) compared to b460556

Details

Codecov Report

Attention: Patch coverage is 84.19540% with 55 lines in your changes are missing coverage. Please review.

Project coverage is 72.30%. Comparing base (b460556) to head (ebc87ee).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2110      +/-   ##
===========================================
+ Coverage    71.87%   72.30%   +0.43%     
===========================================
  Files          245      247       +2     
  Lines        13730    13921     +191     
===========================================
+ Hits          9868    10066     +198     
+ Misses        3405     3394      -11     
- Partials       457      461       +4     
Files Coverage Δ
pkg/math/float.go 100.00% <100.00%> (ø)
x/crosschain/keeper/cctx_utils.go 100.00% <100.00%> (ø)
x/crosschain/keeper/rate_limiter_flags.go 100.00% <100.00%> (ø)
zetaclient/core_context/zeta_core_context.go 91.45% <100.00%> (+0.62%) ⬆️
zetaclient/metrics/metrics.go 75.00% <ø> (ø)
zetaclient/ratelimiter/rate_limiter.go 100.00% <100.00%> (ø)
x/crosschain/keeper/grpc_query_cctx_rate_limit.go 94.92% <95.55%> (-1.16%) ⬇️
x/crosschain/types/rate_limiter_flags.go 93.54% <90.90%> (-6.46%) ⬇️
zetaclient/zetabridge/query.go 67.27% <87.27%> (+0.93%) ⬆️
zetaclient/zetacore_observer.go 27.31% <42.85%> (+10.94%) ⬆️