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

fix(docs/adr): spelling #3704

Merged
merged 6 commits into from
Jul 19, 2024
Merged

fix(docs/adr): spelling #3704

merged 6 commits into from
Jul 19, 2024

Conversation

cratiu222
Copy link
Contributor

Hello
I found some spelling issues in your docs.
Glad I was helpful.

@cratiu222 cratiu222 requested review from liamsi and a team as code owners July 18, 2024 13:30
@cratiu222 cratiu222 requested review from evan-forbes and ninabarbakadze and removed request for a team July 18, 2024 13:30
Copy link
Contributor

coderabbitai bot commented Jul 18, 2024

Walkthrough

Walkthrough

The updates involve multiple architecture decision records (ADRs) addressing enhancements in validator set tracking, state usage reduction, non-interactive defaults handling, and network upgrades. Key changes include new message types (ValSet, ValSetConfirm, and MsgVersionChange), optimizations for transaction pruning, and detailed procedures for network version upgrades and downgrades, ensuring robustness in handling delays and bugs.

Changes

File Path Change Summary
docs/architecture/adr-002-qgb-valset.md Added ValSet and ValSetConfirm message types for validator set tracking.
docs/architecture/adr-005-qgb-reduce-state-usage.md Modified the description of QGB deployment and emphasized the significance of the separate settlement layer for slashing.
docs/architecture/adr-006-non-interactive-defaults.md Refined pruning process for transactions to enhance block creation efficiency.
docs/architecture/adr-018-network-upgrades.md Outlined the process for upgrading from v1 to v2, including state migrations, signaling mechanism, and handling upgrade uncertainties.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@celestia-bot celestia-bot requested a review from a team July 18, 2024 13:30
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (10)
docs/architecture/adr-005-qgb-reduce-state-usage.md (1)

55-55: Refine the phrase to avoid overuse of intensifiers.

Consider replacing "very important" with "important" to make the writing clearer.

- This might be the end goal of the QGB, but it will be very important to build at this stage.
+ This might be the end goal of the QGB, but it will be important to build at this stage.
Tools
LanguageTool

[style] ~55-~55: As an alternative to the over-used intensifier ‘very’, consider replacing this phrase.
Context: ...the end goal of the QGB, but it will be very important to build at this stage. Also, if this ...

(EN_WEAK_ADJECTIVE)

docs/architecture/adr-002-qgb-valset.md (1)

15-15: Correct the noun usage.

The word 'confirm' should be 'confirmations' to match the context.

- Please take a look at it to know how we will be handling the confirms.
+ Please take a look at it to know how we will be handling the confirmations.
Tools
LanguageTool

[style] ~15-~15: To make your writing clearer, consider a more direct alternative.
Context: ...adr-005-qgb-reduce-state-usage`. Please take a look at it to know how we will be handl...

(TAKE_A_LOOK)


[grammar] ~15-~15: The word ‘confirm’ is not a noun. Did you mean “confirmations”?
Context: ... it to know how we will be handling the confirms. ## Detailed Design Since the QGB is ...

(PREPOSITION_VERB)

docs/architecture/adr-018-network-upgrades.md (6)

51-51: Add a comma for clarity.

Consider adding a comma after "two weeks" for better readability.

- If the community wished to push back the upgrade by two weeks there is the possibility that some nodes would not rerun the new binary thus we'd get a split between nodes running the old schedule and nodes running the new schedule.
+ If the community wished to push back the upgrade by two weeks, there is the possibility that some nodes would not rerun the new binary, thus we'd get a split between nodes running the old schedule and nodes running the new schedule.
Tools
LanguageTool

[typographical] ~51-~51: Consider adding a comma.
Context: ...ed to push back the upgrade by two weeks there is the possibility that some nodes woul...

(IF_THERE_COMMA)


[typographical] ~51-~51: The word “thus” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...that some nodes would not rerun the new binary thus we'd get a split between nodes running ...

(THUS_SENTENCE)


[style] ~51-~51: ‘emergency situations’ might be wordy. Consider a shorter alternative.
Context: ...s expected to be used in testing and in emergency situations only. Another example to keep in mind i...

(EN_WORDINESS_PREMIUM_EMERGENCY_SITUATIONS)


[uncategorized] ~51-~51: Possible missing comma found.
Context: .... If some of the validators are for the change they should have some way to continue p...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~51-~51: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ... continue participating in the network. Therefore we employ a range that nodes will attem...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[locale-violation] ~51-~51: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ... that nodes will attempt to upgrade and afterwards will continue on normally with the new ...

(AFTERWARDS_US)


[typographical] ~51-~51: Consider adding two commas here.
Context: ...continue on normally with the new binary however running the older version. - The system...

(HOWEVER_COMMA)


51-51: Refine the phrase for better readability.

The word "thus" should be separated from the sentence with a comma.

- ... would not rerun the new binary thus we'd get a split between nodes running the old schedule and nodes running the new schedule.
+ ... would not rerun the new binary, thus we'd get a split between nodes running the old schedule and nodes running the new schedule.
Tools
LanguageTool

[typographical] ~51-~51: Consider adding a comma.
Context: ...ed to push back the upgrade by two weeks there is the possibility that some nodes woul...

(IF_THERE_COMMA)


[typographical] ~51-~51: The word “thus” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...that some nodes would not rerun the new binary thus we'd get a split between nodes running ...

(THUS_SENTENCE)


[style] ~51-~51: ‘emergency situations’ might be wordy. Consider a shorter alternative.
Context: ...s expected to be used in testing and in emergency situations only. Another example to keep in mind i...

(EN_WORDINESS_PREMIUM_EMERGENCY_SITUATIONS)


[uncategorized] ~51-~51: Possible missing comma found.
Context: .... If some of the validators are for the change they should have some way to continue p...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~51-~51: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ... continue participating in the network. Therefore we employ a range that nodes will attem...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[locale-violation] ~51-~51: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ... that nodes will attempt to upgrade and afterwards will continue on normally with the new ...

(AFTERWARDS_US)


[typographical] ~51-~51: Consider adding two commas here.
Context: ...continue on normally with the new binary however running the older version. - The system...

(HOWEVER_COMMA)


51-51: Refine word choice for conciseness.

Consider replacing "emergency situations" with a shorter alternative.

- This is expected to be used in testing and in emergency situations only.
+ This is expected to be used in testing and emergencies only.
Tools
LanguageTool

[typographical] ~51-~51: Consider adding a comma.
Context: ...ed to push back the upgrade by two weeks there is the possibility that some nodes woul...

(IF_THERE_COMMA)


[typographical] ~51-~51: The word “thus” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...that some nodes would not rerun the new binary thus we'd get a split between nodes running ...

(THUS_SENTENCE)


[style] ~51-~51: ‘emergency situations’ might be wordy. Consider a shorter alternative.
Context: ...s expected to be used in testing and in emergency situations only. Another example to keep in mind i...

(EN_WORDINESS_PREMIUM_EMERGENCY_SITUATIONS)


[uncategorized] ~51-~51: Possible missing comma found.
Context: .... If some of the validators are for the change they should have some way to continue p...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~51-~51: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ... continue participating in the network. Therefore we employ a range that nodes will attem...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[locale-violation] ~51-~51: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ... that nodes will attempt to upgrade and afterwards will continue on normally with the new ...

(AFTERWARDS_US)


[typographical] ~51-~51: Consider adding two commas here.
Context: ...continue on normally with the new binary however running the older version. - The system...

(HOWEVER_COMMA)


51-51: Add a comma for clarity.

Consider adding a comma after "Therefore".

- Therefore we employ a range that nodes will attempt to upgrade and afterwards will continue on normally with the new binary however running the older version.
+ Therefore, we employ a range that nodes will attempt to upgrade and afterwards will continue on normally with the new binary, however running the older version.
Tools
LanguageTool

[typographical] ~51-~51: Consider adding a comma.
Context: ...ed to push back the upgrade by two weeks there is the possibility that some nodes woul...

(IF_THERE_COMMA)


[typographical] ~51-~51: The word “thus” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...that some nodes would not rerun the new binary thus we'd get a split between nodes running ...

(THUS_SENTENCE)


[style] ~51-~51: ‘emergency situations’ might be wordy. Consider a shorter alternative.
Context: ...s expected to be used in testing and in emergency situations only. Another example to keep in mind i...

(EN_WORDINESS_PREMIUM_EMERGENCY_SITUATIONS)


[uncategorized] ~51-~51: Possible missing comma found.
Context: .... If some of the validators are for the change they should have some way to continue p...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~51-~51: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ... continue participating in the network. Therefore we employ a range that nodes will attem...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[locale-violation] ~51-~51: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ... that nodes will attempt to upgrade and afterwards will continue on normally with the new ...

(AFTERWARDS_US)


[typographical] ~51-~51: Consider adding two commas here.
Context: ...continue on normally with the new binary however running the older version. - The system...

(HOWEVER_COMMA)


51-51: Use American English for consistency.

Replace "afterwards" with "afterward" to match American English usage.

- ... will attempt to upgrade and afterwards will continue on normally with the new binary however running the older version.
+ ... will attempt to upgrade and afterward will continue on normally with the new binary however running the older version.
Tools
LanguageTool

[typographical] ~51-~51: Consider adding a comma.
Context: ...ed to push back the upgrade by two weeks there is the possibility that some nodes woul...

(IF_THERE_COMMA)


[typographical] ~51-~51: The word “thus” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...that some nodes would not rerun the new binary thus we'd get a split between nodes running ...

(THUS_SENTENCE)


[style] ~51-~51: ‘emergency situations’ might be wordy. Consider a shorter alternative.
Context: ...s expected to be used in testing and in emergency situations only. Another example to keep in mind i...

(EN_WORDINESS_PREMIUM_EMERGENCY_SITUATIONS)


[uncategorized] ~51-~51: Possible missing comma found.
Context: .... If some of the validators are for the change they should have some way to continue p...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~51-~51: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ... continue participating in the network. Therefore we employ a range that nodes will attem...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[locale-violation] ~51-~51: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ... that nodes will attempt to upgrade and afterwards will continue on normally with the new ...

(AFTERWARDS_US)


[typographical] ~51-~51: Consider adding two commas here.
Context: ...continue on normally with the new binary however running the older version. - The system...

(HOWEVER_COMMA)


51-51: Add commas for clarity.

Consider adding commas around "however".

- ... will continue on normally with the new binary however running the older version.
+ ... will continue on normally with the new binary, however, running the older version.
Tools
LanguageTool

[typographical] ~51-~51: Consider adding a comma.
Context: ...ed to push back the upgrade by two weeks there is the possibility that some nodes woul...

(IF_THERE_COMMA)


[typographical] ~51-~51: The word “thus” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...that some nodes would not rerun the new binary thus we'd get a split between nodes running ...

(THUS_SENTENCE)


[style] ~51-~51: ‘emergency situations’ might be wordy. Consider a shorter alternative.
Context: ...s expected to be used in testing and in emergency situations only. Another example to keep in mind i...

(EN_WORDINESS_PREMIUM_EMERGENCY_SITUATIONS)


[uncategorized] ~51-~51: Possible missing comma found.
Context: .... If some of the validators are for the change they should have some way to continue p...

(AI_HYDRA_LEO_MISSING_COMMA)


[uncategorized] ~51-~51: A comma may be missing after the conjunctive/linking adverb ‘Therefore’.
Context: ... continue participating in the network. Therefore we employ a range that nodes will attem...

(SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA)


[locale-violation] ~51-~51: In American English, ‘afterward’ is the preferred variant. ‘Afterwards’ is more commonly used in British English and other dialects.
Context: ... that nodes will attempt to upgrade and afterwards will continue on normally with the new ...

(AFTERWARDS_US)


[typographical] ~51-~51: Consider adding two commas here.
Context: ...continue on normally with the new binary however running the older version. - The system...

(HOWEVER_COMMA)

docs/architecture/adr-006-non-interactive-defaults.md (2)

378-378: Remove unnecessary word for conciseness.

Consider removing "of" to be more concise.

- ... not only because we have to follow all of the constraints, but also because of our frequent reliance on variable length delimiters, and protobuf changing the amount of bytes used depending on the size of ints/uints.
+ ... not only because we have to follow all the constraints, but also because of our frequent reliance on variable length delimiters, and protobuf changing the amount of bytes used depending on the size of ints/uints.
Tools
LanguageTool

[style] ~378-~378: Consider removing “of” to be more concise
Context: ...cult not only because we have to follow all of the constraints, but also because of our fr...

(ALL_OF_THE)


[uncategorized] ~378-~378: ‘Amount of’ should usually only be used with uncountable or mass nouns. Consider using “number” if this is not the case.
Context: ...h delimiters, and protobuf changing the amount of bytes used depending on the size of ...

(AMOUNTOF_TO_NUMBEROF)


378-378: Use correct quantifier.

Replace "amount of" with "number of" for countable nouns.

- ... and protobuf changing the amount of bytes used depending on the size of ints/uints.
+ ... and protobuf changing the number of bytes used depending on the size of ints/uints.
Tools
LanguageTool

[style] ~378-~378: Consider removing “of” to be more concise
Context: ...cult not only because we have to follow all of the constraints, but also because of our fr...

(ALL_OF_THE)


[uncategorized] ~378-~378: ‘Amount of’ should usually only be used with uncountable or mass nouns. Consider using “number” if this is not the case.
Context: ...h delimiters, and protobuf changing the amount of bytes used depending on the size of ...

(AMOUNTOF_TO_NUMBEROF)

@celestia-bot celestia-bot requested a review from a team July 18, 2024 15:36
@rootulp rootulp changed the title Fix: spelling fix(adr): spelling Jul 18, 2024
@rootulp rootulp changed the title fix(adr): spelling fix(docs/adr): spelling Jul 18, 2024
@rootulp rootulp enabled auto-merge (squash) July 18, 2024 18:06
@rootulp rootulp removed the request for review from liamsi July 18, 2024 18:06
@rootulp rootulp merged commit 6d90d7b into celestiaorg:main Jul 19, 2024
34 checks passed
Copy link

gitpoap-bot bot commented Jul 19, 2024

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2024 Celestia Contributor:

GitPOAP: 2024 Celestia Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

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

Successfully merging this pull request may close these issues.

3 participants