Add note about checksumed addresses in event object#643
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughA new informational tip was added to the "Additional Event Information" section of the documentation, clarifying that all addresses in the event object use the EIP-55 checksum format and suggesting the use of Changes
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
|
Closes #640 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
docs/HyperIndex/Guides/event-handlers.mdx (1)
203-203: Nit: refine phrasing for clarity
Consider replacing “returned in theeventobject” with “contained in theeventobject” or simply “in theeventobject” to improve readability:All addresses contained in the
eventobject, such as …🧰 Tools
🪛 LanguageTool
[grammar] ~203-~203: The usual collocation for “returned” is “to”, not “in”.
Context: ...mpty by default). :::tip All addresses returned in theeventobject, such as `event.tran...(RETURN_IN_THE)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/HyperIndex/Guides/event-handlers.mdx(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/HyperIndex/Guides/event-handlers.mdx
[grammar] ~203-~203: The usual collocation for “returned” is “to”, not “in”.
Context: ...mpty by default). :::tip All addresses returned in the event object, such as `event.tran...
(RETURN_IN_THE)
🔇 Additional comments (1)
docs/HyperIndex/Guides/event-handlers.mdx (1)
202-207: Helpful tip on checksumed addresses
This new:::tipblock clearly informs users thatevent.transaction.from,event.transaction.to, andevent.srcAddressuse the EIP-55 checksum format and guides them to apply.toLowerCase()when lowercase is needed. Great addition for clarity!🧰 Tools
🪛 LanguageTool
[grammar] ~203-~203: The usual collocation for “returned” is “to”, not “in”.
Context: ...mpty by default). :::tip All addresses returned in theeventobject, such as `event.tran...(RETURN_IN_THE)
Summary
Testing
yarn build(fails: package not present in lockfile)Summary by CodeRabbit
.toLowerCase()if lowercase addresses are needed.