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

docs: update shares specs #1880

Merged
merged 38 commits into from
Jun 16, 2023
Merged

docs: update shares specs #1880

merged 38 commits into from
Jun 16, 2023

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Jun 5, 2023

@rootulp rootulp added documentation Improvements or additions to documentation specs directly relevant to the specs labels Jun 5, 2023
@rootulp rootulp self-assigned this Jun 5, 2023
@github-actions
Copy link

github-actions bot commented Jun 5, 2023

PR Preview Action v1.4.4
🚀 Deployed preview to https://celestiaorg.github.io/celestia-app/pr-preview/pr-1880/
on branch gh-pages at 2023-06-16 21:55 UTC

@rootulp rootulp marked this pull request as ready for review June 5, 2023 20:47
@MSevey MSevey requested a review from a team June 5, 2023 20:53
@staheri14

This comment was marked as resolved.

evan-forbes
evan-forbes previously approved these changes Jun 6, 2023
Copy link
Member

@evan-forbes evan-forbes left a comment

Choose a reason for hiding this comment

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

overall really good!! I think we might be able to add a sentence or two in places that would help provide more context to readers less familar with the rest of celestia. besides that only had a few questions and mostly non-blocking discussions

will also take a second look after chewing on it, but am approving

specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Show resolved Hide resolved
@rootulp
Copy link
Collaborator Author

rootulp commented Jun 6, 2023

@staheri14 yep you can click this link https://celestiaorg.github.io/celestia-app/pr-preview/pr-1880/specs/shares.html which you can get to via

Screenshot 2023-06-06 at 12 10 15 PM

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2023

Codecov Report

Merging #1880 (202852f) into main (699113d) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    celestiaorg/celestia-app#1880      +/-   ##
==========================================
- Coverage   21.22%   21.21%   -0.02%     
==========================================
  Files         120      121       +1     
  Lines       13697    13704       +7     
==========================================
  Hits         2907     2907              
- Misses      10500    10509       +9     
+ Partials      290      288       -2     
Impacted Files Coverage Δ
pkg/shares/blob_share_commitment_rules.go 100.00% <ø> (ø)
pkg/shares/padding.go 52.08% <ø> (ø)
pkg/shares/share_splitting.go 48.14% <100.00%> (+6.21%) ⬆️
x/blob/types/payforblob.go 71.42% <100.00%> (ø)

... and 2 files with indirect coverage changes

Copy link
Contributor

@staheri14 staheri14 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your great work on this PR. I've added some comments and ideas about how we structure the spec and organize the content. Some of my suggestions aren't just for this PR—they'll apply to all our future specs too, since this is our first spec PR, it's ended up with all these comments.

specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Show resolved Hide resolved
specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Show resolved Hide resolved
specs/src/specs/shares.md Outdated Show resolved Hide resolved
specs/src/specs/shares.md Outdated Show resolved Hide resolved
evan-forbes
evan-forbes previously approved these changes Jun 15, 2023
@MSevey MSevey requested a review from a team June 15, 2023 20:26
@rootulp rootulp marked this pull request as draft June 15, 2023 20:27
@rootulp rootulp marked this pull request as ready for review June 15, 2023 21:29
cmwaters
cmwaters previously approved these changes Jun 16, 2023
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.

Just a question to help my understanding but otherwise looks good

specs/src/specs/shares.md Show resolved Hide resolved
staheri14
staheri14 previously approved these changes Jun 16, 2023
Copy link
Contributor

@staheri14 staheri14 left a comment

Choose a reason for hiding this comment

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

Thanks and LGTM!

@rootulp rootulp merged commit 647ba7f into main Jun 16, 2023
@rootulp rootulp deleted the rp/shares-specs branch June 16, 2023 22:37
evan-forbes pushed a commit that referenced this pull request Jul 3, 2023
* docs: extract shares page

* ignore generated .html files

* rename figures

* update diagrams

* update reserved bytes

* fix: broken links

* link to reserved namespace and x/blob

* extract common padding specs

* update parity section

* overview -> abstract

* add link to NMT spec

* link to block

* add Glossary

* clarify Celestia state

* move blob data to glossary

* nit: use may

* remove data withholding attack

* draft: overview

* nit: may -> MAY

* move terms up and fill out overview

* adopt more of template

* Improve share sequence term

* fill out share splitting

* fix links

* add note to clarify blob

* add references section

* Update specs/src/specs/shares.md

Co-authored-by: Sanaz Taheri <[email protected]>

* Update specs/src/specs/shares.md

Co-authored-by: Sanaz Taheri <[email protected]>

* add figure numbers

* clarify share sequence length

* blob -> transaction

* denote field in diagram

* remove duplicate portion of transaction shares

* clarify share size

* fix: lint b/c non-interactive => blob share commitment

---------

Co-authored-by: Sanaz Taheri <[email protected]>
evan-forbes pushed a commit that referenced this pull request Jul 3, 2023
* docs: extract shares page

* ignore generated .html files

* rename figures

* update diagrams

* update reserved bytes

* fix: broken links

* link to reserved namespace and x/blob

* extract common padding specs

* update parity section

* overview -> abstract

* add link to NMT spec

* link to block

* add Glossary

* clarify Celestia state

* move blob data to glossary

* nit: use may

* remove data withholding attack

* draft: overview

* nit: may -> MAY

* move terms up and fill out overview

* adopt more of template

* Improve share sequence term

* fill out share splitting

* fix links

* add note to clarify blob

* add references section

* Update specs/src/specs/shares.md

Co-authored-by: Sanaz Taheri <[email protected]>

* Update specs/src/specs/shares.md

Co-authored-by: Sanaz Taheri <[email protected]>

* add figure numbers

* clarify share sequence length

* blob -> transaction

* denote field in diagram

* remove duplicate portion of transaction shares

* clarify share size

* fix: lint b/c non-interactive => blob share commitment

---------

Co-authored-by: Sanaz Taheri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation specs directly relevant to the specs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

specs: pkg/shares
5 participants