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

cherry pick #880 - simple cache for eth_call #885

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

lukelee-sl
Copy link
Member

@lukelee-sl lukelee-sl commented Feb 7, 2023

Signed-off-by: lukelee-sl luke.lee@swirldslabs.com

Description:

Cherry pick #880 into release/0.17 branch in order to create a 0.17.1 version

@lukelee-sl lukelee-sl added enhancement New feature or request P1 process Build, test and deployment-process related tasks labels Feb 7, 2023
@lukelee-sl lukelee-sl self-assigned this Feb 7, 2023
@lukelee-sl lukelee-sl changed the base branch from main to release/0.17 February 7, 2023 22:43
georgi-l95 and others added 2 commits February 7, 2023 14:52
Adds a cache on eth_call request, based on `to` and `data` parameters for 200ms.

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Feb 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@codecov-commenter
Copy link

Codecov Report

Base: 73.85% // Head: 74.13% // Increases project coverage by +0.28% 🎉

Coverage data is based on head (6e1ba69) compared to base (4b10b0a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@               Coverage Diff                @@
##           release/0.17     #885      +/-   ##
================================================
+ Coverage         73.85%   74.13%   +0.28%     
================================================
  Files                29       29              
  Lines              1805     1817      +12     
  Branches            335      338       +3     
================================================
+ Hits               1333     1347      +14     
+ Misses              374      373       -1     
+ Partials             98       97       -1     
Impacted Files Coverage Δ
packages/relay/src/lib/eth.ts 82.84% <100.00%> (+0.71%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 process Build, test and deployment-process related tasks
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants