-
Notifications
You must be signed in to change notification settings - Fork 36
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 and improve documentation #124
base: main
Are you sure you want to change the base?
Conversation
Added a link to discord for convenience Non -working link has been changed Fixed small ones
Consistent use of definitions in "EVM-HOOKS" Fixed functions with Snake_case on CamelCase (Ibcack, Ibctimeout) Improved comments Fixed all gaps after a colon in json Gaps added after commas in arrays Fixed grammatical errors in the comments
WalkthroughThe pull request introduces updates to the Release Notes for version 0.45.12 of the Initia project, including a revised bug reporting URL and enhanced security notification information with a Discord link. Additionally, formatting changes have been made for clarity across various sections. The README.md for the Changes
Poem
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this 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 and nitpick comments (2)
app/ibc-hooks/README.md (2)
37-38
: Grammar improvement neededThe sentence could be clearer:
-// callback id should be issued from the executor contract +// Callback ID should be issued by the executor contract
209-210
: Consider adding specific examples in the access listThe placeholder values ("...", "...") in the access list example could be more helpful if replaced with realistic examples.
- "address": "...", // contract address - "storage_keys": ["...", "..."] // storage keys of contract + "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", // contract address + "storage_keys": ["0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563", "0xb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6"] // storage keys of contract
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
.github/ISSUE_TEMPLATE/Release_notes.md
(3 hunks)app/ibc-hooks/README.md
(8 hunks)
🧰 Additional context used
🪛 Markdownlint (0.35.0)
.github/ISSUE_TEMPLATE/Release_notes.md
37-37: Expected: setext; Actual: atx
Heading style
(MD003, heading-style)
🪛 LanguageTool
app/ibc-hooks/README.md
[style] ~9-~9: The phrase “a variety of” may be wordy. To make your writing clearer, consider replacing it.
Context: ...olve token movement. This is useful for a variety of use cases. One of primary importance is...
(A_VARIETY_OF)
[style] ~10-~10: As an alternative to the over-used intensifier ‘extremely’, consider replacing this phrase.
Context: ...portance is cross-chain swaps, which is an extremely powerful primitive. The mechanism enabling this...
(EN_WEAK_ADJECTIVE)
[misspelling] ~13-~13: Use “an” instead of ‘a’ if the following word starts with a vowel sound, e.g. ‘an article’, ‘an hour’.
Context: ...field is of a particular form, executes a evm contract call. We now detail the `m...
(EN_A_VS_AN)
[style] ~136-~136: Consider removing “of” to be more concise
Context: ...acket as directed towards evm-hooks iff all of the following hold: - memo
is not blank ...
(ALL_OF_THE)
[uncategorized] ~139-~139: A period might be missing here.
Context: ...old: - memo
is not blank - memo
is valid JSON - memo
has at least one key, wit...
(AI_EN_LECTOR_MISSING_PUNCTUATION_PERIOD)
[uncategorized] ~140-~140: You might be missing the article “a” here.
Context: ...SON - memo
has at least one key, with name "evm"
If an ICS20 packet is not dire...
(AI_EN_LECTOR_MISSING_DETERMINER_A)
[grammar] ~150-~150: It seems that “to” is missing before the verb.
Context: ...IBC packet is cryptographically valid - Ensure the incoming IBC packet is not timed ou...
(MISSING_TO_BETWEEN_BE_AND_VB)
[uncategorized] ~179-~179: A comma might be missing here.
Context: ...out(uint64 callbackId) external; } ``` Also when a contract makes an IBC transfer r...
(AI_EN_LECTOR_MISSING_PUNCTUATION_COMMA)
[uncategorized] ~180-~180: You might be missing the article “the” here.
Context: ...uld provide async callback data through memo field. - `memo['evm']['async_callback'...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~182-~182: Loose punctuation mark.
Context: ... - memo['evm']['async_callback']['id']
: the async callback id is assigned from ...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~182-~182: You might be missing the article “an” here.
Context: ...contract. so later it will be passed as argument of ibcAck
and ibcTimeout
. - `memo['...
(AI_EN_LECTOR_MISSING_DETERMINER_AN)
[uncategorized] ~183-~183: Loose punctuation mark.
Context: ...vm']['async_callback']['contract_addr']`: The address of contract which defines t...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~183-~183: You might be missing the article “the” here.
Context: ...ack']['contract_addr']`: The address of contract which defines the callback function. #...
(AI_EN_LECTOR_MISSING_DETERMINER_THE)
[uncategorized] ~187-~187: Loose punctuation mark.
Context: ...ransfer using ERC20Wrapper src -> dst
: Execute the ERC20Wrapper contract to wr...
(UNLIKELY_OPENING_PUNCTUATION)
[uncategorized] ~189-~189: Loose punctuation mark.
Context: ...o wrap and do ibc-transfer dst -> src
: ibc-transfer and execute the ERC20Wrapp...
(UNLIKELY_OPENING_PUNCTUATION)
🔇 Additional comments (5)
.github/ISSUE_TEMPLATE/Release_notes.md (3)
13-13
: LGTM: Bug reporting URL updated correctly
The URL has been properly updated to reflect the new repository location.
15-15
: LGTM: Discord channel link added with proper formatting
The Discord channel link has been added with correct markdown formatting.
39-40
: LGTM: OS name capitalization fixes
Operating system names have been properly capitalized:
- "macOS" is the correct capitalization (not MacOS)
app/ibc-hooks/README.md (2)
5-7
: LGTM: Consistent terminology for "evm-hook"
The term has been standardized to use hyphenation consistently throughout the document.
170-176
: LGTM: Interface method names updated to camelCase
Method names have been properly updated to follow camelCase convention:
ibc_ack
→ibcAck
ibc_timeout
→ibcTimeout
README.md
ibc_ack
→ibcAck
ibc_timeout
→ibcTimeout
RELEASE_NOTES.md