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

Reduce the ECChain API surface by removing unused capability #832

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

masih
Copy link
Member

@masih masih commented Jan 16, 2025

The ECChain API offers a few functions that seem to only have been used in unit testing the functions themselves.

Remove them to reduce LOC, in favor of adding back later if ever anyone asked for it.

@masih masih requested a review from Kubuxu January 16, 2025 17:31
@masih masih enabled auto-merge January 16, 2025 17:31
@masih masih added this to the M2: Mainnet Passive Testing milestone Jan 16, 2025
@masih masih self-assigned this Jan 16, 2025
The `ECChain` API offers a few functions that seem to only have been
used in unit testing the functions themselves.

Remove them to reduce LOC, in favor of adding back later if ever anyone
asked for it.
@masih masih force-pushed the masih/chain-api-trim branch from 09a45ed to 56fb632 Compare January 16, 2025 17:44
@masih masih added this pull request to the merge queue Jan 16, 2025
Merged via the queue into main with commit 7e86edb Jan 16, 2025
12 checks passed
@masih masih deleted the masih/chain-api-trim branch January 16, 2025 18:12
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.32%. Comparing base (79a7008) to head (56fb632).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #832      +/-   ##
==========================================
- Coverage   67.49%   67.32%   -0.17%     
==========================================
  Files          84       84              
  Lines        8942     8915      -27     
==========================================
- Hits         6035     6002      -33     
- Misses       2380     2386       +6     
  Partials      527      527              
Files with missing lines Coverage Δ
gpbft/chain.go 90.19% <ø> (+2.31%) ⬆️

... and 4 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants