-
Notifications
You must be signed in to change notification settings - Fork 263
Fixed the OptimismPortal address #1369
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
Conversation
✅ Deploy Preview for docs-optimism ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThis pull request updates the Sequence Diagram(s)sequenceDiagram
participant User
participant GreetingSender
participant L2ToL2CrossDomainMessenger
participant Greeter
User->>GreetingSender: Initiate greeting message
GreetingSender->>L2ToL2CrossDomainMessenger: Relay cross-chain message
L2ToL2CrossDomainMessenger->>Greeter: Forward message for processing
Greeter->>Greeter: Execute setGreeting logic
Greeter->>Greeter: Emit event CrossDomainSetGreeting(sender, chainId, greeting)
sequenceDiagram
participant User
participant ManualRelayNode
participant Greeter
User->>ManualRelayNode: Trigger manual relay process
ManualRelayNode->>Greeter: Execute setGreeting transaction
Greeter->>Greeter: Log event CrossDomainSetGreeting(sender, chainId, greeting)
Possibly related PRs
Suggested reviewers
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
Documentation and Community
|
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
🧹 Nitpick comments (2)
pages/stack/interop/tutorials/message-passing.mdx (2)
579-582
: Parameterize hardcoded addresses in ETH sending commands.The commands use hardcoded addresses which could become outdated. Consider using environment variables or configuration files to store these addresses.
-cast send --rpc-url https://endpoints.omniatech.io/v1/eth/sepolia/public --private-key $PRIV_KEY --value 0.001ether 0x7385d89d38ab79984e7c84fab9ce5e6f4815468a -cast send --rpc-url https://endpoints.omniatech.io/v1/eth/sepolia/public --private-key $PRIV_KEY --value 0.001ether 0x55f5c4653dbcde7d1254f9c690a5d761b315500c +cast send --rpc-url https://endpoints.omniatech.io/v1/eth/sepolia/public --private-key $PRIV_KEY --value 0.001ether $CHAIN_A_BRIDGE +cast send --rpc-url https://endpoints.omniatech.io/v1/eth/sepolia/public --private-key $PRIV_KEY --value 0.001ether $CHAIN_B_BRIDGE
584-584
: Improve clarity of waiting instruction.The current instruction could be more specific about what users should look for.
-Wait a few minutes until you can see the ETH [on your explorer](https://sid.testnet.routescan.io/). +Wait approximately 5-10 minutes for the ETH to appear in your wallet balance [on the block explorer](https://sid.testnet.routescan.io/).
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
pages/stack/interop/tutorials/message-passing.mdx
(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.mdx`: "ALWAYS review Markdown content THOROUGHLY with ...
**/*.mdx
: "ALWAYS review Markdown content THOROUGHLY with the following criteria:
- Use proper nouns in place of personal pronouns like 'We' and 'Our' to maintain consistency in communal documentation.
- Avoid gender-specific language and use the imperative form.
- Monitor capitalization for emphasis. Avoid using all caps, italics, or bold for emphasis.
- Ensure proper nouns are capitalized in sentences.
- Apply the Oxford comma.
- Use proper title case for buttons, tab names, page names, and links. Sentence case should be used for body content and short phrases, even in links.
- Use correct spelling and grammar at all times (IMPORTANT).
- For H1, H2, and H3 headers:
- Use sentence case, capitalizing only the first word.
- Preserve the capitalization of proper nouns, technical terms, and acronyms as defined in the 'nouns.txt' file located in the root directory of the project.
- Do not automatically lowercase words that appear in the 'nouns.txt' file, regardless of their position in the header.
- Flag any headers that seem to inconsistently apply these rules for manual review.
- When reviewing capitalization, always refer to the 'nouns.txt' file for the correct capitalization of proper nouns and technical terms specific to the project.
"
pages/stack/interop/tutorials/message-passing.mdx
🔇 Additional comments (2)
pages/stack/interop/tutorials/message-passing.mdx (2)
13-13
: Review header capitalization for consistency.Headers should follow sentence case while preserving the capitalization of proper nouns and technical terms. For example:
- "Interop message passing tutorial" → "Interop Message Passing tutorial"
- "What you'll learn" → "What You'll Learn"
Please check nouns.txt in the root directory to confirm the correct capitalization of technical terms and proper nouns.
Also applies to: 15-15, 20-20, 26-26, 39-39, 41-41, 45-45, 52-52, 58-58, 83-83, 259-259, 364-364, 598-598, 613-613
554-557
:❓ Verification inconclusive
Verify contract addresses and explorer links.
The contract addresses provided in the table are critical for user interaction. These should be regularly verified to ensure they remain valid and accessible.
🏁 Script executed:
#!/bin/bash # Description: Verify contract addresses are accessible and contain the expected code # Check if the contracts are accessible for addr in "0x1A183FCf61053B7dcd2322BbE766f7E1946d3718" "0x9De9f84a4EB3616B44CF1d68cD1A9098Df6cB25f"; do # Get contract code length to verify it's not empty curl -s -X POST -H "Content-Type: application/json" \ --data "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getCode\",\"params\":[\"$addr\", \"latest\"],\"id\":1}" \ "https://sid.testnet.routescan.io" | jq -r '.result' doneLength of output: 775
Manual Verification Needed: Contract Addresses and Explorer Links
The table in
pages/stack/interop/tutorials/message-passing.mdx
provides critical contract information, but the verification script ran into JSON parsing errors (suggesting issues with the endpoint’s response format). Please manually verify the following:
- Ensure the contract at address
0x1A183FCf61053B7dcd2322BbE766f7E1946d3718
returns valid bytecode.- Confirm the contract at address
0x9De9f84a4EB3616B44CF1d68cD1A9098Df6cB25f
is deployed as expected.- Validate that the provided explorer links correctly direct users to the deployed contracts.
Description
One of the devnet OptimismPortal addresses was wrong.
Tests
N/A
Additional context
N/A
Metadata
N/A