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 Typos in ADR-004 and ADR-012 Documentation Files #4079

Closed
wants to merge 3 commits into from

Conversation

Dimitrolito
Copy link

This pull request addresses several typos and minor corrections in the documentation files:

  • In adr-004-qgb-relayer-security.md, changed "up to date" to "up-to-date".
  • In adr-012-sequence-length-encoding.md, corrected "a uint32" and "a uint64" to "an uint32" and "an uint64", respectively.
  • Added a hyphen to "user friendly" to make it "user-friendly".

These updates improve clarity and grammatical accuracy in the documentation.

@Dimitrolito Dimitrolito requested review from liamsi and a team as code owners December 4, 2024 14:30
@Dimitrolito Dimitrolito requested review from staheri14 and rach-id and removed request for a team December 4, 2024 14:30
@celestia-bot celestia-bot requested a review from a team December 4, 2024 14:30
Copy link
Contributor

coderabbitai bot commented Dec 4, 2024

📝 Walkthrough

Walkthrough

The pull request includes updates to two documentation files: adr-004-qgb-relayer-security.md and adr-012-sequence-length-encoding.md. The changes in adr-004-qgb-relayer-security.md focus on improving clarity and structure regarding QGB relayer security, including the introduction of the AttestationRequestI interface and related methods and types. In adr-012-sequence-length-encoding.md, the decision to adopt a fixed length encoding for sequence lengths is documented, standardizing the approach across different share types.

Changes

File Path Change Summary
docs/architecture/adr-004-qgb-relayer-security.md Enhanced clarity and structure; added AttestationRequestI interface with methods Type() and GetNonce(), and new types and constants related to attestation.
docs/architecture/adr-012-sequence-length-encoding.md Updated decision to adopt Option D for encoding sequence lengths and reserved bytes as a 4-byte big endian uint32.

Possibly related PRs

  • docs: Rectify typographical inaccuracies #3675: This PR addresses typographical inaccuracies in various documentation files, similar to the main PR's focus on enhancing clarity and precision in the adr-004-qgb-relayer-security.md document.
  • docs: fix grammar #3681: This PR also focuses on fixing grammatical errors in documentation, aligning with the main PR's objective of improving the clarity of the adr-004-qgb-relayer-security.md document.
  • fix: typographical errors in multiple files  #4078: This PR corrects typographical errors across multiple files, which is directly related to the main PR's emphasis on enhancing the clarity and professionalism of the documentation in adr-004-qgb-relayer-security.md.

Suggested labels

external

Suggested reviewers

  • liamsi
  • ninabarbakadze
  • rootulp
  • evan-forbes

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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 using 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.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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.

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: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between e90888b and 5702d6f.

📒 Files selected for processing (2)
  • docs/architecture/adr-004-qgb-relayer-security.md (1 hunks)
  • docs/architecture/adr-012-sequence-length-encoding.md (1 hunks)
🔇 Additional comments (1)
docs/architecture/adr-004-qgb-relayer-security.md (1)

21-21: LGTM: Correct hyphenation of "up-to-date"

The hyphenation in "up-to-date" is grammatically correct when used as a predicate adjective.

Comment on lines +45 to +46
- 4 bytes is capable of storing an uint32. An uint32 can contain a max sequence length of 4,294,967,296 bytes. In other words, an uint32 works up until 4GiB blocks. To put this into context, this max sequence length is hit with 1024 byte share size and max square size of 2048.
- 8 bytes is capable of storing an uint64. An uint64 can contain a max sequence length of 18,446,744,073,709,551,615 bytes so pebibyte scale.
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Revert article usage before "uint32/uint64"

The change from "a uint32" to "an uint32" is incorrect. Articles should be chosen based on the pronunciation, not spelling. Since "uint32" is pronounced as "you-int-32" (starting with a consonant sound), it should use "a" rather than "an".

Please revert to:

  • "a uint32" (not "an uint32")
  • "a uint64" (not "an uint64")

Copy link
Member

Choose a reason for hiding this comment

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

@Dimitrolito coderabbitai is using a better model than you are

@evan-forbes
Copy link
Member

closing as these updates are incorrect

please review the changes suggested by whatever model you're using @Dimitrolito

@evan-forbes evan-forbes closed this Dec 4, 2024
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.

2 participants