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

chore: refactor stripCompactShares #1227

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Jan 12, 2023

This is a minor refactor that I extracted from a larger in-progress PR. Prior to this PR, implementation details for compact shares leaked out to the prove package. Instead of leaking these implementation details, we can use the RawData() method.

@rootulp rootulp self-assigned this Jan 12, 2023
@rootulp rootulp enabled auto-merge (squash) January 12, 2023 02:58
@rootulp rootulp added the chore optional label for items that follow the `chore` conventional commit label Jan 12, 2023
@MSevey MSevey requested review from a team and mojtaba-esk and removed request for a team January 12, 2023 02:58
@codecov-commenter
Copy link

Codecov Report

Merging #1227 (c72e9c1) into main (7ad3df7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1227   +/-   ##
=======================================
  Coverage   48.11%   48.11%           
=======================================
  Files          72       72           
  Lines        4086     4086           
=======================================
  Hits         1966     1966           
  Misses       1948     1948           
  Partials      172      172           

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

pkg/prove/proof_test.go Outdated Show resolved Hide resolved
@evan-forbes evan-forbes added this to the Incentivized Testnet milestone Jan 12, 2023
@rootulp rootulp disabled auto-merge January 12, 2023 14:36
@MSevey MSevey requested a review from a team January 12, 2023 14:36
@rootulp rootulp requested a review from cmwaters January 12, 2023 14:37
Copy link
Contributor

@cmwaters cmwaters left a comment

Choose a reason for hiding this comment

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

Looks good!

Some of these functions I think should actually be public because they could come in handy for some developers but we can think about that some other time

@rootulp rootulp merged commit 00123b4 into celestiaorg:main Jan 12, 2023
@rootulp rootulp deleted the rp/refactor-strip-compact-shares branch January 12, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore optional label for items that follow the `chore` conventional commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants