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

Run estimate gas lazily in web3 tests #10093

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Run estimate gas lazily in web3 tests #10093

merged 1 commit into from
Jan 13, 2025

Conversation

steven-sheehy
Copy link
Member

@steven-sheehy steven-sheehy commented Jan 11, 2025

Description:

Run estimate gas lazily in web3 tests. Reduces the number of unnecessary estimate calls by 234 and the overall test time by 1 minute (from 4 to 3 min locally).

Related issue(s):

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@steven-sheehy steven-sheehy added enhancement Type: New feature test Test infrastructure, automated tests required, etc web3 Area: Web3 API labels Jan 11, 2025
@steven-sheehy steven-sheehy added this to the 0.122.0 milestone Jan 11, 2025
@steven-sheehy steven-sheehy self-assigned this Jan 11, 2025
@steven-sheehy steven-sheehy requested a review from a team as a code owner January 11, 2025 04:16
Copy link

codecov bot commented Jan 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.20%. Comparing base (c1fa7bc) to head (c2b3343).
Report is 9 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #10093      +/-   ##
============================================
- Coverage     92.21%   92.20%   -0.02%     
+ Complexity     7858     7856       -2     
============================================
  Files           956      956              
  Lines         32938    32938              
  Branches       4151     4151              
============================================
- Hits          30373    30369       -4     
- Misses         1588     1591       +3     
- Partials        977      978       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@bilyana-gospodinova bilyana-gospodinova left a comment

Choose a reason for hiding this comment

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

LGTM

@steven-sheehy steven-sheehy merged commit 736be02 into main Jan 13, 2025
36 checks passed
@steven-sheehy steven-sheehy deleted the lazy-estimate branch January 13, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature test Test infrastructure, automated tests required, etc web3 Area: Web3 API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants