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

getsummary and getsummaryAndState decoupling #786

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

otherview
Copy link
Member

Description

Small refactor around getsummary

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Go Version:
  • Hardware:
  • Docker Version:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • New and existing E2E tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have not added any vulnerable dependencies to my code

@otherview otherview requested a review from a team as a code owner July 10, 2024 15:32
@otherview otherview changed the base branch from fix-gas-estimation to master July 10, 2024 16:15
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 93.68421% with 6 lines in your changes missing coverage. Please review.

Project coverage is 62.65%. Comparing base (bfa83f3) to head (8acb364).
Report is 1 commits behind head on master.

Files Patch % Lines
api/utils/revisions.go 90.32% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #786      +/-   ##
==========================================
+ Coverage   62.57%   62.65%   +0.08%     
==========================================
  Files         199      199              
  Lines       18153    18196      +43     
==========================================
+ Hits        11359    11401      +42     
  Misses       5713     5713              
- Partials     1081     1082       +1     

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

@otherview otherview changed the base branch from master to fix-gas-estimation July 10, 2024 16:45
@libotony
Copy link
Member

LGTM, this will tidy API in revisions.go, thanks!

@libotony libotony merged commit f1b3c67 into fix-gas-estimation Jul 11, 2024
12 checks passed
@libotony libotony deleted the pedro/tweak-fix-gas-estimation branch July 11, 2024 02:25
otherview added a commit that referenced this pull request Jul 11, 2024
)

* fix: using the best block + 1 when estimating

* fix: update comment

* remove duplicate statement

* fix: update thor.yaml and change pending to next

* refactor: update query param name

* fix: use 'next' instead of pending

* chore: add unit tests

* fix: use next only if explicity defined

* fix: update unit tests

* new way for parsing revision next (#37)

* Update api/doc/thor.yaml

Co-authored-by: libotony <[email protected]>

* chore: update doc.yaml

* Update api/accounts/accounts_test.go

Co-authored-by: Darren Kelly <[email protected]>

* Update api/debug/debug_test.go

* getsummary and getsummaryAndState decoupling (#786)

* getsummary and getsummaryAndState decoupling

* restart build

* switch table tests to array

* chore: update thor.yaml and update e2e commit sha

* chore: update e2e commit sha

---------

Co-authored-by: libotony <[email protected]>
Co-authored-by: otherview <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants