Skip to content

docs: update file's name (relaying intertop messages using cast #1617

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/interop/tutorials/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"transfer-superchainERC20": "Transferring a SuperchainERC20",
"custom-superchain-erc20": "Custom SuperchainERC20 tokens",
"bridge-crosschain-eth": "Bridging native cross-chain ETH transfers",
"relay-messages-cast": "Relaying interop messages using `cast`",
"relay-with-cast": "Relaying interop messages using `cast`",
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Align tutorial identifier with renamed file

The JSON key has been updated to "relay-with-cast" to match the renamed file relay-with-cast.mdx. Please verify that all references to the old "relay-messages-cast" identifier—in sidebars, links, import statements, or other configuration—have been updated to prevent broken navigation or build failures.

Run this script to confirm there are no remaining occurrences of the old key:


🏁 Script executed:

#!/bin/bash
# Search for any lingering references to the previous tutorial identifier
rg -n "relay-messages-cast"

Length of output: 137


Update redirect mapping for renamed tutorial

The search revealed a remaining reference in the redirects file that still points to the old identifier. Please update it so the redirect targets the new path.

• File: ​public/_redirects (line 190)
Current entry:

/stack/interop/tutorials/relay-messages-cast     /interop/tutorials/relay-messages-cast

Suggested update:

-/stack/interop/tutorials/relay-messages-cast     /interop/tutorials/relay-messages-cast
+/stack/interop/tutorials/relay-messages-cast     /interop/tutorials/relay-with-cast
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"relay-with-cast": "Relaying interop messages using `cast`",
-/stack/interop/tutorials/relay-messages-cast /interop/tutorials/relay-messages-cast
+/stack/interop/tutorials/relay-messages-cast /interop/tutorials/relay-with-cast
🤖 Prompt for AI Agents
In pages/interop/tutorials/_meta.json at line 7, the tutorial identifier was
changed from "relay-messages-cast" to "relay-with-cast" to match the renamed
file. To fix the issue, search the entire codebase for any remaining references
to the old identifier "relay-messages-cast" including sidebars, links, imports,
and configuration files, and update them to "relay-with-cast". Specifically,
update the redirect entry in public/_redirects at line 190 to point to the new
path "/interop/tutorials/relay-with-cast" instead of the old one.

"relay-messages-viem": "Relaying interop messages using `viem`",
"contract-calls": "Making crosschain contract calls (ping pong)",
"event-reads": "Making crosschain event reads (tic-tac-toe)",
Expand Down