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

refactor: chunk -> share #3240

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

rootulp
Copy link
Contributor

@rootulp rootulp commented Mar 5, 2024

Rename instances of chunk to share.

Motivation

The rsmt2d repo uses chunks and shares interchangeably and we increase readability if one term was used consistently. A few people have expressed favor for share over chunk because of it's broader usage in celestia-node and celestia-app.

See celestiaorg/rsmt2d#215

Note: There aren't occurrences of shard or buffer that need renaming in this repo. Shard is used frequently but it seems applicable to https://github.com/filecoin-project/dagstore/blob/master/docs/design.md#shards and not meant to refer to a share.

@rootulp rootulp self-assigned this Mar 5, 2024
@github-actions github-actions bot added the external Issues created by non node team members label Mar 5, 2024
@rootulp rootulp added the kind:refactor Attached to refactoring PRs label Mar 5, 2024
@rootulp rootulp changed the title refactor: rename chunk to share refactor: chunk -> share Mar 5, 2024
@rootulp rootulp marked this pull request as ready for review March 5, 2024 21:54
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.81%. Comparing base (c1ab9c5) to head (dac368d).
Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3240      +/-   ##
==========================================
- Coverage   52.08%   44.81%   -7.28%     
==========================================
  Files         183      265      +82     
  Lines       11594    14620    +3026     
==========================================
+ Hits         6039     6552     +513     
- Misses       5043     7315    +2272     
- Partials      512      753     +241     

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

@rootulp
Copy link
Contributor Author

rootulp commented Mar 6, 2024

This PR needs a docs codeowner approval because it touches docs/adr. cc: @adlerjohn @liamsi

Screenshot 2024-03-06 at 9 28 18 AM

Ref:

docs/adr @adlerjohn @liamsi

@rootulp rootulp enabled auto-merge March 6, 2024 14:29
@rootulp rootulp merged commit 0cb1b02 into celestiaorg:main Mar 6, 2024
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issues created by non node team members kind:refactor Attached to refactoring PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants