-
Notifications
You must be signed in to change notification settings - Fork 262
fix(interop): update outdated interop manual relay and viem tutorials #1569
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
This stack of pull requests is managed by Graphite. Learn more about stacking. |
✅ Deploy Preview for docs-optimism ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Warning Rate limit exceeded@tremarkley has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 8 minutes and 42 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe pull request updates several tutorials related to interop message relaying in a blockchain context. The modifications include improvements in text formatting and consistency, correction of function names (e.g., changing Sequence Diagram(s)sequenceDiagram
participant U as User
participant WA as Source Wallet (Chain A)
participant CA as Chain A Interop Contract
participant API_A as opChainAClient
participant WB as Destination Wallet (Chain B)
participant CB as Chain B Interop Contract
participant API_B as opChainBClient
U->>WA: Initiate ERC20 transfer (sendSuperchainERC20)
WA->>CA: Submit transaction on Source Chain
CA-->>WA: Emit transaction logs
WA->>API_A: Call getCrossDomainMessages(logs)
API_A-->>WA: Return cross-domain message details
WA->>WA: Build execution parameters (buildExecutingMessage)
WA->>WB: Forward relay message parameters
WB->>CB: Execute relayCrossDomainMessage(parameters)
CB-->>WB: Process relay and return confirmation
WB->>API_B: (Optionally) Check message status (getCrossDomainMessageStatus)
API_B-->>WB: Return message status
Assessment against linked issues
🪧 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 (3)
words.txt (3)
57-58
: Review of Bootnodes Variants
There are two consecutive updates for bootnodes: one changed to "Bootnodes" (line 57) and the very next to "BOOTNODES" (line 58). Please verify that both variants are intentionally maintained to differentiate contexts (for example, a proper noun versus an acronym) rather than being an oversight.
167-168
: Review of Holesky Variants
The file now lists two versions—"Holesky" (line 167) and "HOLESKY" (line 168). Confirm that both forms are required for distinct contexts. If these differences are not intentional, consider consolidating them to avoid potential confusion downstream.
392-393
: Review of Superchain Variants
Both "Superchain" (line 392) and "SUPERCHAIN" (line 393) are present. As with other duplicated terms, please double-check that these represent deliberate variants (such as a branding nuance vs. a specific technical flag) rather than an inconsistency.🧰 Tools
🪛 LanguageTool
[duplication] ~392-~392: Možný preklep: zopakovali ste slovo
Context: ...nd SUBU Sunnyside superchain Superchain SUPERCHAIN Superchain's superchainerc Superlend Superloans Su...(WORD_REPEAT_RULE)
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
pages/interop/tutorials/relay-messages-cast.mdx
(6 hunks)pages/interop/tutorials/relay-messages-viem.mdx
(4 hunks)public/tutorials/app_v2.mts
(2 hunks)public/tutorials/xfer-erc20.mts
(3 hunks)words.txt
(8 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.mdx`: "ALWAYS review Markdown content THOROUGHLY with the following criteria: - First, check the frontmatter section at the top of the file: 1. For regular pages, ensure AL...
**/*.mdx
: "ALWAYS review Markdown content THOROUGHLY with the following criteria:
- First, check the frontmatter section at the top of the file:
- For regular pages, ensure ALL these fields are present and not empty:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] personas: [non-empty array] categories: [non-empty array] content_type: [valid type] ---
- For landing pages (index.mdx or files with ), only these fields are required:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] ---
- If any required fields are missing or empty, comment:
'This file appears to be missing required metadata. Please check keywords.config.yaml for valid options and add the required fields manually. You can validate your changes by running:pnpm validate-metadata ```'
- 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/interop/tutorials/relay-messages-viem.mdx
pages/interop/tutorials/relay-messages-cast.mdx
🪛 LanguageTool
pages/interop/tutorials/relay-messages-cast.mdx
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...
(ARE_CD_NN)
words.txt
[duplication] ~2-~2: Možný preklep: zopakovali ste slovo
Context: accountqueue ACCOUNTQUEUE accountslots ACCOUNTSLOTS ACDC ADDI ADDIU ADDU airgap Allnodes al...
(WORD_REPEAT_RULE)
[duplication] ~11-~11: Možný preklep: zopakovali ste slovo
Context: ... ADDI ADDIU ADDU airgap Allnodes allocs alphanet Alphanet alphanets Alphanets altda ANDI Ankr Ape...
(WORD_REPEAT_RULE)
[duplication] ~13-~13: Možný preklep: zopakovali ste slovo
Context: ...irgap Allnodes allocs alphanet Alphanet alphanets Alphanets altda ANDI Ankr Apeworx Arweave authrpc...
(WORD_REPEAT_RULE)
[duplication] ~21-~21: Možný preklep: zopakovali ste slovo
Context: ...altda ANDI Ankr Apeworx Arweave authrpc autorelay Autorelay autorelayer basefee betanet Betanet bet...
(WORD_REPEAT_RULE)
[duplication] ~25-~25: Možný preklep: zopakovali ste slovo
Context: ...autorelay Autorelay autorelayer basefee betanet Betanet betanets Betanets BGEZ BGTZ Biconomy BL...
(WORD_REPEAT_RULE)
[duplication] ~27-~27: Možný preklep: zopakovali ste slovo
Context: ...lay autorelayer basefee betanet Betanet betanets Betanets BGEZ BGTZ Biconomy BLEZ blobpool BLOBPO...
(WORD_REPEAT_RULE)
[duplication] ~33-~33: Možný preklep: zopakovali ste slovo
Context: ...tanets Betanets BGEZ BGTZ Biconomy BLEZ blobpool BLOBPOOL blobspace Blockdaemon Blockdaemon's blo...
(WORD_REPEAT_RULE)
[duplication] ~36-~36: Možný preklep: zopakovali ste slovo
Context: ...conomy BLEZ blobpool BLOBPOOL blobspace Blockdaemon Blockdaemon's blockhash blocklists blocklogs BLOCKL...
(WORD_REPEAT_RULE)
[duplication] ~40-~40: Možný preklep: zopakovali ste slovo
Context: ...emon Blockdaemon's blockhash blocklists blocklogs BLOCKLOGS blockprofilerate BLOCKPROFILERATE Block...
(WORD_REPEAT_RULE)
[duplication] ~42-~42: Možný preklep: zopakovali ste slovo
Context: ...lockhash blocklists blocklogs BLOCKLOGS blockprofilerate BLOCKPROFILERATE Blockscout blockspace Blockspace blockt...
(WORD_REPEAT_RULE)
[duplication] ~45-~45: Možný preklep: zopakovali ste slovo
Context: ...profilerate BLOCKPROFILERATE Blockscout blockspace Blockspace blocktime blocktimes Blocktimes bloomfi...
(WORD_REPEAT_RULE)
[duplication] ~48-~48: Možný preklep: zopakovali ste slovo
Context: ...ckscout blockspace Blockspace blocktime blocktimes Blocktimes bloomfilter BLOOMFILTER BLTZ Bootcamp b...
(WORD_REPEAT_RULE)
[duplication] ~50-~50: Možný preklep: zopakovali ste slovo
Context: ...ckspace blocktime blocktimes Blocktimes bloomfilter BLOOMFILTER BLTZ Bootcamp bootnode bootnodes Bootno...
(WORD_REPEAT_RULE)
[duplication] ~55-~55: Možný preklep: zopakovali ste slovo
Context: ...lter BLOOMFILTER BLTZ Bootcamp bootnode bootnodes Bootnodes BOOTNODES bottlenecked brotli Brotli ca...
(WORD_REPEAT_RULE)
[duplication] ~59-~59: Možný preklep: zopakovali ste slovo
Context: ...tnodes Bootnodes BOOTNODES bottlenecked brotli Brotli callouts Callouts CCIP Celestia Celesti...
(WORD_REPEAT_RULE)
[duplication] ~61-~61: Možný preklep: zopakovali ste slovo
Context: ...es BOOTNODES bottlenecked brotli Brotli callouts Callouts CCIP Celestia Celestia's chainid Chainl...
(WORD_REPEAT_RULE)
[duplication] ~78-~78: Možný preklep: zopakovali ste slovo
Context: ...alized Collateralized compr Comprensive computependingblock COMPUTEPENDINGBLOCK confs Consen corsdomain counterfactuall...
(WORD_REPEAT_RULE)
[duplication] ~84-~84: Možný preklep: zopakovali ste slovo
Context: ...onfs Consen corsdomain counterfactually crosschain Crosschain Crossmint Dapphub daserver datacap DATA...
(WORD_REPEAT_RULE)
[duplication] ~89-~89: Možný preklep: zopakovali ste slovo
Context: ...n Crosschain Crossmint Dapphub daserver datacap DATACAP datadir DATADIR devnet Devnet devnets D...
(WORD_REPEAT_RULE)
[duplication] ~91-~91: Možný preklep: zopakovali ste slovo
Context: ...ssmint Dapphub daserver datacap DATACAP datadir DATADIR devnet Devnet devnets Devnets Devs dire...
(WORD_REPEAT_RULE)
[duplication] ~93-~93: Možný preklep: zopakovali ste slovo
Context: ...aserver datacap DATACAP datadir DATADIR devnet Devnet devnets Devnets Devs direnv disabletxpo...
(WORD_REPEAT_RULE)
[duplication] ~95-~95: Možný preklep: zopakovali ste slovo
Context: ...p DATACAP datadir DATADIR devnet Devnet devnets Devnets Devs direnv disabletxpoolgossip DISABLE...
(WORD_REPEAT_RULE)
[duplication] ~99-~99: Možný preklep: zopakovali ste slovo
Context: ...vnet Devnet devnets Devnets Devs direnv disabletxpoolgossip DISABLETXPOOLGOSSIP discv Discv DIVU Drand dripcheck Drippi...
(WORD_REPEAT_RULE)
[duplication] ~101-~101: Možný preklep: zopakovali ste slovo
Context: ...disabletxpoolgossip DISABLETXPOOLGOSSIP discv Discv DIVU Drand dripcheck Drippie Eigen EIPs...
(WORD_REPEAT_RULE)
[duplication] ~109-~109: Možný preklep: zopakovali ste slovo
Context: ...DIVU Drand dripcheck Drippie Eigen EIPs enabledeprecatedpersonal ENABLEDEPRECATEDPERSONAL enginekind erigon Erigon etherbase ETHE...
(WORD_REPEAT_RULE)
[duplication] ~112-~112: Možný preklep: zopakovali ste slovo
Context: ...nal ENABLEDEPRECATEDPERSONAL enginekind erigon Erigon etherbase ETHERBASE Ethernity Ethernow ...
(WORD_REPEAT_RULE)
[duplication] ~114-~114: Možný preklep: zopakovali ste slovo
Context: ...ECATEDPERSONAL enginekind erigon Erigon etherbase ETHERBASE Ethernity Ethernow ethstats ETHSTATS ev...
(WORD_REPEAT_RULE)
[duplication] ~118-~118: Možný preklep: zopakovali ste slovo
Context: ... etherbase ETHERBASE Ethernity Ethernow ethstats ETHSTATS evmtimeout EVMTIMEOUT excercise executa...
(WORD_REPEAT_RULE)
[duplication] ~120-~120: Možný preklep: zopakovali ste slovo
Context: ...SE Ethernity Ethernow ethstats ETHSTATS evmtimeout EVMTIMEOUT excercise executability exfiltrate exit...
(WORD_REPEAT_RULE)
[duplication] ~125-~125: Možný preklep: zopakovali ste slovo
Context: ...EOUT excercise executability exfiltrate exitwhensynced EXITWHENSYNCED extradata EXTRADATA Farcaster Faultproo...
(WORD_REPEAT_RULE)
[duplication] ~127-~127: Možný preklep: zopakovali ste slovo
Context: ...xfiltrate exitwhensynced EXITWHENSYNCED extradata EXTRADATA Farcaster Faultproof fdlimit FDLIMIT Fl...
(WORD_REPEAT_RULE)
[duplication] ~131-~131: Možný preklep: zopakovali ste slovo
Context: ...xtradata EXTRADATA Farcaster Faultproof fdlimit FDLIMIT Flashblocks Flashbots forkable forkchoi...
(WORD_REPEAT_RULE)
[duplication] ~146-~146: Možný preklep: zopakovali ste slovo
Context: ... Funct gameplay gascap GASCAP gaslessly gcmode GCMODE Gelato gifs globalqueue GLOBALQUEUE glo...
(WORD_REPEAT_RULE)
[duplication] ~150-~150: Možný preklep: zopakovali ste slovo
Context: ...CAP gaslessly gcmode GCMODE Gelato gifs globalqueue GLOBALQUEUE globalslots GLOBALSLOTS gokzg growthepi...
(WORD_REPEAT_RULE)
[duplication] ~152-~152: Možný preklep: zopakovali ste slovo
Context: ...ODE Gelato gifs globalqueue GLOBALQUEUE globalslots GLOBALSLOTS gokzg growthepie hardfork hardforks hea...
(WORD_REPEAT_RULE)
[duplication] ~158-~158: Možný preklep: zopakovali ste slovo
Context: ...OTS gokzg growthepie hardfork hardforks healthcheck HEALTHCHECK healthchecks historicalrpc HISTORICALRP...
(WORD_REPEAT_RULE)
[duplication] ~161-~161: Možný preklep: zopakovali ste slovo
Context: ...ks healthcheck HEALTHCHECK healthchecks historicalrpc HISTORICALRPC historicalrpctimeout HISTORICALRPCTIMEO...
(WORD_REPEAT_RULE)
[duplication] ~163-~163: Možný preklep: zopakovali ste slovo
Context: ...ealthchecks historicalrpc HISTORICALRPC historicalrpctimeout HISTORICALRPCTIMEOUT holesky Holesky HOLESKY IERC ignorepric...
(WORD_REPEAT_RULE)
[duplication] ~165-~165: Možný preklep: zopakovali ste slovo
Context: ...storicalrpctimeout HISTORICALRPCTIMEOUT holesky Holesky HOLESKY IERC ignoreprice IGNOREPRICE Im...
(WORD_REPEAT_RULE)
[duplication] ~169-~169: Možný preklep: zopakovali ste slovo
Context: ...RPCTIMEOUT holesky Holesky HOLESKY IERC ignoreprice IGNOREPRICE Immunefi inator Inator influxdbv INFLUX...
(WORD_REPEAT_RULE)
[duplication] ~172-~172: Možný preklep: zopakovali ste slovo
Context: ...Y IERC ignoreprice IGNOREPRICE Immunefi inator Inator influxdbv INFLUXDBV initcode ipcdisable...
(WORD_REPEAT_RULE)
[duplication] ~174-~174: Možný preklep: zopakovali ste slovo
Context: ...rice IGNOREPRICE Immunefi inator Inator influxdbv INFLUXDBV initcode ipcdisable IPCDISABLE ipcfile ...
(WORD_REPEAT_RULE)
[duplication] ~177-~177: Možný preklep: zopakovali ste slovo
Context: ...tor Inator influxdbv INFLUXDBV initcode ipcdisable IPCDISABLE ipcfile ipcpath IPCPATH IPFS Isthumus J...
(WORD_REPEAT_RULE)
[duplication] ~180-~180: Možný preklep: zopakovali ste slovo
Context: ... initcode ipcdisable IPCDISABLE ipcfile ipcpath IPCPATH IPFS Isthumus JALR journalremotes JOURN...
(WORD_REPEAT_RULE)
[duplication] ~185-~185: Možný preklep: zopakovali ste slovo
Context: ...file ipcpath IPCPATH IPFS Isthumus JALR journalremotes JOURNALREMOTES jspath JSPATH jwtsecret Keccak leveldb ...
(WORD_REPEAT_RULE)
[duplication] ~187-~187: Možný preklep: zopakovali ste slovo
Context: ...umus JALR journalremotes JOURNALREMOTES jspath JSPATH jwtsecret Keccak leveldb lightkdf Lisk ...
(WORD_REPEAT_RULE)
[duplication] ~196-~196: Možný preklep: zopakovali ste slovo
Context: ...ak leveldb lightkdf Lisk logfile logfmt maxage MAXAGE maxbackups MAXBACKUPS maxpeers MAXPEERS...
(WORD_REPEAT_RULE)
[duplication] ~198-~198: Možný preklep: zopakovali ste slovo
Context: ...htkdf Lisk logfile logfmt maxage MAXAGE maxbackups MAXBACKUPS maxpeers MAXPEERS maxpendpeers MAXPENDP...
(WORD_REPEAT_RULE)
[duplication] ~200-~200: Možný preklep: zopakovali ste slovo
Context: ...fmt maxage MAXAGE maxbackups MAXBACKUPS maxpeers MAXPEERS maxpendpeers MAXPENDPEERS maxprice MAXP...
(WORD_REPEAT_RULE)
[duplication] ~202-~202: Možný preklep: zopakovali ste slovo
Context: ...maxbackups MAXBACKUPS maxpeers MAXPEERS maxpendpeers MAXPENDPEERS maxprice MAXPRICE memprofilerate MEMPRO...
(WORD_REPEAT_RULE)
[duplication] ~204-~204: Možný preklep: zopakovali ste slovo
Context: ...eers MAXPEERS maxpendpeers MAXPENDPEERS maxprice MAXPRICE memprofilerate MEMPROFILERATE merkle Me...
(WORD_REPEAT_RULE)
[duplication] ~206-~206: Možný preklep: zopakovali ste slovo
Context: ...endpeers MAXPENDPEERS maxprice MAXPRICE memprofilerate MEMPROFILERATE merkle Merkle MFHI MFLO Mgas Minato min...
(WORD_REPEAT_RULE)
[duplication] ~208-~208: Možný preklep: zopakovali ste slovo
Context: ... MAXPRICE memprofilerate MEMPROFILERATE merkle Merkle MFHI MFLO Mgas Minato minfreedisk MINFR...
(WORD_REPEAT_RULE)
[duplication] ~214-~214: Možný preklep: zopakovali ste slovo
Context: ...ATE merkle Merkle MFHI MFLO Mgas Minato minfreedisk MINFREEDISK minsuggestedpriorityfee MINSUGGESTEDPRI...
(WORD_REPEAT_RULE)
[duplication] ~216-~216: Možný preklep: zopakovali ste slovo
Context: ...FLO Mgas Minato minfreedisk MINFREEDISK minsuggestedpriorityfee MINSUGGESTEDPRIORITYFEE Mintable Mintplex MIPSEVM Mitigations m...
(WORD_REPEAT_RULE)
[duplication] ~222-~222: Možný preklep: zopakovali ste slovo
Context: ...E Mintable Mintplex MIPSEVM Mitigations monitorism Monitorism Moralis Mordor mountpoint MOVN MOVZ MTH...
(WORD_REPEAT_RULE)
[duplication] ~239-~239: Možný preklep: zopakovali ste slovo
Context: ... multiclient multisigs MULTU nethermind netrestrict NETRESTRICT networkid NETWORKID newpayload NEWPAYLO...
(WORD_REPEAT_RULE)
[duplication] ~241-~241: Možný preklep: zopakovali ste slovo
Context: ...ULTU nethermind netrestrict NETRESTRICT networkid NETWORKID newpayload NEWPAYLOAD nextra nocompacti...
(WORD_REPEAT_RULE)
[duplication] ~243-~243: Možný preklep: zopakovali ste slovo
Context: ...estrict NETRESTRICT networkid NETWORKID newpayload NEWPAYLOAD nextra nocompaction NOCOMPACTION nodeke...
(WORD_REPEAT_RULE)
[duplication] ~246-~246: Možný preklep: zopakovali ste slovo
Context: ... NETWORKID newpayload NEWPAYLOAD nextra nocompaction NOCOMPACTION nodekey NODEKEY nodekeyhex NODEKEYHEX n...
(WORD_REPEAT_RULE)
[duplication] ~248-~248: Možný preklep: zopakovali ste slovo
Context: ...AYLOAD nextra nocompaction NOCOMPACTION nodekey NODEKEY nodekeyhex NODEKEYHEX nodename nodiscov...
(WORD_REPEAT_RULE)
[duplication] ~250-~250: Možný preklep: zopakovali ste slovo
Context: ...compaction NOCOMPACTION nodekey NODEKEY nodekeyhex NODEKEYHEX nodename nodiscover NODISCOVER nolocals...
(WORD_REPEAT_RULE)
[duplication] ~253-~253: Možný preklep: zopakovali ste slovo
Context: ... NODEKEY nodekeyhex NODEKEYHEX nodename nodiscover NODISCOVER nolocals NOLOCALS noprefetch NOPREFETCH...
(WORD_REPEAT_RULE)
[duplication] ~255-~255: Možný preklep: zopakovali ste slovo
Context: ...DEKEYHEX nodename nodiscover NODISCOVER nolocals NOLOCALS noprefetch NOPREFETCH nopruning NOPRUNI...
(WORD_REPEAT_RULE)
[duplication] ~257-~257: Možný preklep: zopakovali ste slovo
Context: ...nodiscover NODISCOVER nolocals NOLOCALS noprefetch NOPREFETCH nopruning NOPRUNING nosyncserve NOSYNCS...
(WORD_REPEAT_RULE)
[duplication] ~259-~259: Možný preklep: zopakovali ste slovo
Context: ...nolocals NOLOCALS noprefetch NOPREFETCH nopruning NOPRUNING nosyncserve NOSYNCSERVE Numba offchain ...
(WORD_REPEAT_RULE)
[duplication] ~261-~261: Možný preklep: zopakovali ste slovo
Context: ...prefetch NOPREFETCH nopruning NOPRUNING nosyncserve NOSYNCSERVE Numba offchain Offchain opchaina opchai...
(WORD_REPEAT_RULE)
[duplication] ~264-~264: Možný preklep: zopakovali ste slovo
Context: ...NOPRUNING nosyncserve NOSYNCSERVE Numba offchain Offchain opchaina opchainb OPCM Openfort oplabs ...
(WORD_REPEAT_RULE)
[duplication] ~278-~278: Možný preklep: zopakovali ste slovo
Context: ...bility pcscdpath pectra Pectra Pectra's peerstore Peerstore peerstores permissioned Permissioned pe...
(WORD_REPEAT_RULE)
[duplication] ~281-~281: Možný preklep: zopakovali ste slovo
Context: ...Pectra's peerstore Peerstore peerstores permissioned Permissioned permissionless Permissionless permissio...
(WORD_REPEAT_RULE)
[duplication] ~283-~283: Možný preklep: zopakovali ste slovo
Context: ...re peerstores permissioned Permissioned permissionless Permissionless permissionlessly Perps Peta Pimlico POA...
(WORD_REPEAT_RULE)
[duplication] ~291-~291: Možný preklep: zopakovali ste slovo
Context: ...ionlessly Perps Peta Pimlico POAP POAPs pprof PPROF precommitments Precommitments preconfig...
(WORD_REPEAT_RULE)
[duplication] ~293-~293: Možný preklep: zopakovali ste slovo
Context: ...rps Peta Pimlico POAP POAPs pprof PPROF precommitments Precommitments preconfigured predeploy predeployed Pre...
(WORD_REPEAT_RULE)
[duplication] ~297-~297: Možný preklep: zopakovali ste slovo
Context: ... Precommitments preconfigured predeploy predeployed Predeployed predeploys Predeploys prefunded preimag...
(WORD_REPEAT_RULE)
[duplication] ~299-~299: Možný preklep: zopakovali ste slovo
Context: ...gured predeploy predeployed Predeployed predeploys Predeploys prefunded preimage Preimage preimages P...
(WORD_REPEAT_RULE)
[duplication] ~302-~302: Možný preklep: zopakovali ste slovo
Context: ...eployed predeploys Predeploys prefunded preimage Preimage preimages PREIMAGES preinstall preinsta...
(WORD_REPEAT_RULE)
[duplication] ~304-~304: Možný preklep: zopakovali ste slovo
Context: ... Predeploys prefunded preimage Preimage preimages PREIMAGES preinstall preinstalls Preinstalls pres...
(WORD_REPEAT_RULE)
[duplication] ~307-~307: Možný preklep: zopakovali ste slovo
Context: ...Preimage preimages PREIMAGES preinstall preinstalls Preinstalls prestate Prestate prestates PREVRANDAO ...
(WORD_REPEAT_RULE)
[duplication] ~309-~309: Možný preklep: zopakovali ste slovo
Context: ...AGES preinstall preinstalls Preinstalls prestate Prestate prestates PREVRANDAO pricebump PRICEBUM...
(WORD_REPEAT_RULE)
[duplication] ~313-~313: Možný preklep: zopakovali ste slovo
Context: ... prestate Prestate prestates PREVRANDAO pricebump PRICEBUMP pricelimit PRICELIMIT productionize pro...
(WORD_REPEAT_RULE)
[duplication] ~315-~315: Možný preklep: zopakovali ste slovo
Context: ...restates PREVRANDAO pricebump PRICEBUMP pricelimit PRICELIMIT productionize productionized Protip Pro...
(WORD_REPEAT_RULE)
[duplication] ~321-~321: Možný preklep: zopakovali ste slovo
Context: ...uctionize productionized Protip Proxied proxyd Proxyd Pyth Pyth's QRNG quicknode Quicknode qu...
(WORD_REPEAT_RULE)
[duplication] ~323-~323: Možný preklep: zopakovali ste slovo
Context: ...uctionized Protip Proxied proxyd Proxyd Pyth Pyth's QRNG quicknode Quicknode quickstarts ...
(WORD_REPEAT_RULE)
[duplication] ~326-~326: Možný preklep: zopakovali ste slovo
Context: ... Proxied proxyd Proxyd Pyth Pyth's QRNG quicknode Quicknode quickstarts rebalancing regenesis Regen...
(WORD_REPEAT_RULE)
[duplication] ~330-~330: Možný preklep: zopakovali ste slovo
Context: ...knode Quicknode quickstarts rebalancing regenesis Regenesis Reimagine rejournal REJOURNAL remotedb ...
(WORD_REPEAT_RULE)
[duplication] ~333-~333: Možný preklep: zopakovali ste slovo
Context: ...balancing regenesis Regenesis Reimagine rejournal REJOURNAL remotedb REMOTEDB Reown Reown's replaya...
(WORD_REPEAT_RULE)
[duplication] ~335-~335: Možný preklep: zopakovali ste slovo
Context: ...Regenesis Reimagine rejournal REJOURNAL remotedb REMOTEDB Reown Reown's replayability replayor re...
(WORD_REPEAT_RULE)
[duplication] ~337-~337: Možný preklep: zopakovali ste slovo
Context: ...e rejournal REJOURNAL remotedb REMOTEDB Reown Reown's replayability replayor reposts reprov...
(WORD_REPEAT_RULE)
[duplication] ~343-~343: Možný preklep: zopakovali ste slovo
Context: ...replayability replayor reposts reproven requiredblocks REQUIREDBLOCKS rollouts rollups Rollups Routescan rpck...
(WORD_REPEAT_RULE)
[duplication] ~346-~346: Možný preklep: zopakovali ste slovo
Context: ... requiredblocks REQUIREDBLOCKS rollouts rollups Rollups Routescan rpckind rpcprefix RPCPREFIX r...
(WORD_REPEAT_RULE)
[duplication] ~350-~350: Možný preklep: zopakovali ste slovo
Context: ...louts rollups Rollups Routescan rpckind rpcprefix RPCPREFIX rpcs RPGF runbooks Runbooks RWAs safedb...
(WORD_REPEAT_RULE)
[duplication] ~354-~354: Možný preklep: zopakovali ste slovo
Context: ...n rpckind rpcprefix RPCPREFIX rpcs RPGF runbooks Runbooks RWAs safedb Schnorr sepolia Sepolia SEP...
(WORD_REPEAT_RULE)
[duplication] ~359-~359: Možný preklep: zopakovali ste slovo
Context: ...F runbooks Runbooks RWAs safedb Schnorr sepolia Sepolia SEPOLIA seqnr sequencerhttp SEQUENCERHT...
(WORD_REPEAT_RULE)
[duplication] ~363-~363: Možný preklep: zopakovali ste slovo
Context: ...b Schnorr sepolia Sepolia SEPOLIA seqnr sequencerhttp SEQUENCERHTTP serv signup SLLV SLTI SLTIU SLTU smartc...
(WORD_REPEAT_RULE)
[duplication] ~381-~381: Možný preklep: zopakovali ste slovo
Context: ...olana Soneium soyboy Spearbit SRAV SRLV stablecoins Stablecoins statefulset subcomponents subgame subhe...
(WORD_REPEAT_RULE)
[duplication] ~390-~390: Možný preklep: zopakovali ste slovo
Context: ...ame subheaders subsecond SUBU Sunnyside superchain Superchain SUPERCHAIN Superchain's superchainerc S...
(WORD_REPEAT_RULE)
[duplication] ~392-~392: Možný preklep: zopakovali ste slovo
Context: ...nd SUBU Sunnyside superchain Superchain SUPERCHAIN Superchain's superchainerc Superlend Superloans Su...
(WORD_REPEAT_RULE)
[duplication] ~398-~398: Možný preklep: zopakovali ste slovo
Context: ...chainerc Superlend Superloans Superscan supersim Supersim syncmode SYNCMODE synctarget SYNCTARGET...
(WORD_REPEAT_RULE)
[duplication] ~400-~400: Možný preklep: zopakovali ste slovo
Context: ... Superloans Superscan supersim Supersim syncmode SYNCMODE synctarget SYNCTARGET syscalls thirdweb...
(WORD_REPEAT_RULE)
[duplication] ~402-~402: Možný preklep: zopakovali ste slovo
Context: ...can supersim Supersim syncmode SYNCMODE synctarget SYNCTARGET syscalls thirdweb threadcreate timeseri...
(WORD_REPEAT_RULE)
[duplication] ~430-~430: Možný preklep: zopakovali ste slovo
Context: ...ubmitted UPNP upstreaming verkle VERKLE vhosts VHOSTS viem Viem viem's Viem's vmdebug VMDEBUG...
(WORD_REPEAT_RULE)
[duplication] ~432-~432: Možný preklep: zopakovali ste slovo
Context: ...upstreaming verkle VERKLE vhosts VHOSTS viem Viem viem's Viem's vmdebug VMDEBUG vmodule V...
(WORD_REPEAT_RULE)
[duplication] ~436-~436: Možný preklep: zopakovali ste slovo
Context: ...E vhosts VHOSTS viem Viem viem's Viem's vmdebug VMDEBUG vmodule VMODULE xlarge XORI ZKPs ZKVM z...
(WORD_REPEAT_RULE)
[duplication] ~438-~438: Možný preklep: zopakovali ste slovo
Context: ...viem Viem viem's Viem's vmdebug VMDEBUG vmodule VMODULE xlarge XORI ZKPs ZKVM zora Zora
(WORD_REPEAT_RULE)
[duplication] ~444-~444: Možný preklep: zopakovali ste slovo
Context: ...G vmodule VMODULE xlarge XORI ZKPs ZKVM zora Zora
(WORD_REPEAT_RULE)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Redirect rules - docs-optimism
- GitHub Check: Header rules - docs-optimism
- GitHub Check: Pages changed - docs-optimism
🔇 Additional comments (22)
public/tutorials/xfer-erc20.mts (4)
10-11
: Removed redundant import and updated import statement.The code correctly removes the unused
createInteropSentL2ToL2Messages
import while retaining the necessary imports from@eth-optimism/viem
.
78-78
: Improved numerical handling with BigInt conversion.Converting the amount to BigInt is the correct approach for handling token amounts in blockchain applications, as it ensures precision for large numbers and prevents potential overflow issues.
88-94
: Updated to a more streamlined cross-domain message retrieval approach.The code now uses a more direct method of obtaining cross-domain messages by:
- Retrieving messages directly from transaction logs with
getCrossDomainMessages
- Extracting the first message from the returned array
- Using
buildExecutingMessage
to construct the parameters needed for relayingThis approach is more efficient and aligns with current best practices for handling interop messages.
96-96
: Updated relay method to use the new API.The code now correctly uses
relayCrossDomainMessage
with the properly constructed parameters, which is consistent with the updated cross-domain messaging workflow.public/tutorials/app_v2.mts (3)
10-11
: Streamlined imports for cross-domain messaging.The code correctly removes the unused import while maintaining the necessary functionality with
walletActionsL2
andpublicActionsL2
.
57-64
: Updated cross-domain message handling workflow.The implementation now follows the improved pattern for interop message handling:
- Retrieving sent messages from transaction logs with
getCrossDomainMessages
- Accessing the first message from the array
- Building execution parameters with
buildExecutingMessage
- Relaying the message with
relayCrossDomainMessage
This provides a more direct and maintainable approach to cross-domain message handling.
66-68
: Improved code formatting for consistency.The updated code maintains consistent formatting for the
waitForTransactionReceipt
call, making the code more readable.pages/interop/tutorials/relay-messages-cast.mdx (6)
27-28
: Improved formatting in Callout component.The text is now properly indented for better readability and consistency.
33-33
: Fixed URL encoding in documentation links.The URL parameter is now properly encoded with an escaped ampersand (
\&
), ensuring the link functions correctly when rendered.
50-50
: Corrected function name from 'sentERC20' to 'sendERC20'.This correction accurately reflects the actual function name used in the contract, improving the tutorial's accuracy.
104-114
: Updated command and example output for getting logs.The command and example output have been updated with the correct RPC command and current log format, improving the tutorial's accuracy with up-to-date information.
169-232
: Added comprehensive section on access list construction.This new section provides valuable information on:
- The purpose of access lists for relay messages
- Two methods to construct access lists using admin RPC methods
- Example commands and expected outputs
This addition significantly improves the tutorial by explaining a critical step in the relay process that was previously missing.
🧰 Tools
🪛 LanguageTool
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...(ARE_CD_NN)
261-265
: Updated relay message command to include access list parameter.The command now includes the required access list parameter, which is essential for the transaction execution. This update ensures the tutorial reflects the current requirements for relaying messages.
pages/interop/tutorials/relay-messages-viem.mdx (8)
122-127
: Updated ERC20 sending method to use the interop API.The code now uses
opChainAClient.interop.sendSuperchainERC20
with a cleaner parameter structure instead of directly calling the contract. This provides a more abstracted and user-friendly approach for sending tokens across chains.However, there's an inconsistency in the variable names:
- Line 123 uses
SUPERSIM_SUPERC20_ADDRESS
but the defined constant isL2_NATIVE_SUPERCHAINERC20_ADDRESS
(line 75)- Line 125 uses
AMOUNT_TO_SEND
which isn't defined in this snippet- Line 124 uses
testAccount.address
but the defined account isaccount
(line 79)Please verify these variable names for consistency with the actual implementation.
133-136
: Updated approach for retrieving and processing cross-domain messages.The code now uses a more streamlined approach for handling cross-domain messages:
- Uses
getCrossDomainMessages
to retrieve messages from transaction logs- Extracts the first message for processing
- Builds execution parameters using
buildExecutingMessage
However, there's an inconsistency in line 135 where
publicClientA
is used but the defined client isopChainAClient
.Please verify this variable name for consistency with the actual implementation.
148-148
: Updated relay message method.The code now uses
relayCrossDomainMessage
with the parameters built in the previous step, providing a more direct approach to message relaying.
154-157
: Added message status verification.The code now includes a crucial check to verify if the message was successfully relayed using
getCrossDomainMessageStatus
. This improves error handling and ensures the cross-chain operation completed successfully.
245-251
: Updated ERC20 sending implementation in full code snippet.The full code snippet has been updated to use the improved
sendSuperchainERC20
method, but contains the same variable inconsistencies as noted in the earlier comment.Please verify the variable names
SUPERSIM_SUPERC20_ADDRESS
,AMOUNT_TO_SEND
, andtestAccount
for consistency with the rest of the code.
257-259
: Updated message processing in full code snippet.The full code snippet correctly implements the improved message processing workflow, but contains the same
publicClientA
inconsistency noted earlier.Please verify this variable name for consistency with the actual implementation.
268-268
: Updated relay method in full code snippet.The full code snippet correctly implements the updated relay method using
relayCrossDomainMessage
.
274-276
: Added message status verification in full code snippet.The full code snippet includes the important check for message relay status, enhancing the reliability of the code example.
words.txt (1)
2-446
: Overall Capitalization Standardization Review
The changes in this file apply a comprehensive update to the capitalization of nearly every term in the list. For example, entries such as "accountqueue" and "accountslots" are now updated to "ACCOUNTQUEUE" and "ACCOUNTSLOTS" respectively; similarly, singular/plural terms like "alphanet" and "alphanets" have been standardized to "Alphanet" and "Alphanets". Such updates extend throughout the file—from "betanet" → "Betanet" and "Betanets" to many entries in the later portions (e.g., "datacap" → "DATACAP", "etherbase" → "ETHERBASE", "ethstats" → "ETHSTATS", etc.).These modifications appear to be driven by a need for consistency with the updated manual relay and viem tutorials as well as for clarity and correctness in technical documentation. The file now includes a mix of full-uppercase, title-case, and sometimes two different variants (for instance, "Bootnodes" alongside "BOOTNODES", or "Holesky" alongside "HOLESKY") to likely serve different contexts in usage.
Static analysis tools flagged many duplication warnings. In this list context, these are most likely false positives due to intentional repetitions (providing both title-case and all-uppercase variants, for example) rather than genuine errors.
I recommend verifying that these standardized terms match the corresponding usage in the tutorials and documentation so that the visual language remains consistent across the codebase and user guides.
🧰 Tools
🪛 LanguageTool
[duplication] ~2-~2: Možný preklep: zopakovali ste slovo
Context: accountqueue ACCOUNTQUEUE accountslots ACCOUNTSLOTS ACDC ADDI ADDIU ADDU airgap Allnodes al...(WORD_REPEAT_RULE)
[duplication] ~11-~11: Možný preklep: zopakovali ste slovo
Context: ... ADDI ADDIU ADDU airgap Allnodes allocs alphanet Alphanet alphanets Alphanets altda ANDI Ankr Ape...(WORD_REPEAT_RULE)
[duplication] ~13-~13: Možný preklep: zopakovali ste slovo
Context: ...irgap Allnodes allocs alphanet Alphanet alphanets Alphanets altda ANDI Ankr Apeworx Arweave authrpc...(WORD_REPEAT_RULE)
[duplication] ~21-~21: Možný preklep: zopakovali ste slovo
Context: ...altda ANDI Ankr Apeworx Arweave authrpc autorelay Autorelay autorelayer basefee betanet Betanet bet...(WORD_REPEAT_RULE)
[duplication] ~25-~25: Možný preklep: zopakovali ste slovo
Context: ...autorelay Autorelay autorelayer basefee betanet Betanet betanets Betanets BGEZ BGTZ Biconomy BL...(WORD_REPEAT_RULE)
[duplication] ~27-~27: Možný preklep: zopakovali ste slovo
Context: ...lay autorelayer basefee betanet Betanet betanets Betanets BGEZ BGTZ Biconomy BLEZ blobpool BLOBPO...(WORD_REPEAT_RULE)
[duplication] ~33-~33: Možný preklep: zopakovali ste slovo
Context: ...tanets Betanets BGEZ BGTZ Biconomy BLEZ blobpool BLOBPOOL blobspace Blockdaemon Blockdaemon's blo...(WORD_REPEAT_RULE)
[duplication] ~36-~36: Možný preklep: zopakovali ste slovo
Context: ...conomy BLEZ blobpool BLOBPOOL blobspace Blockdaemon Blockdaemon's blockhash blocklists blocklogs BLOCKL...(WORD_REPEAT_RULE)
[duplication] ~40-~40: Možný preklep: zopakovali ste slovo
Context: ...emon Blockdaemon's blockhash blocklists blocklogs BLOCKLOGS blockprofilerate BLOCKPROFILERATE Block...(WORD_REPEAT_RULE)
[duplication] ~42-~42: Možný preklep: zopakovali ste slovo
Context: ...lockhash blocklists blocklogs BLOCKLOGS blockprofilerate BLOCKPROFILERATE Blockscout blockspace Blockspace blockt...(WORD_REPEAT_RULE)
[duplication] ~45-~45: Možný preklep: zopakovali ste slovo
Context: ...profilerate BLOCKPROFILERATE Blockscout blockspace Blockspace blocktime blocktimes Blocktimes bloomfi...(WORD_REPEAT_RULE)
[duplication] ~48-~48: Možný preklep: zopakovali ste slovo
Context: ...ckscout blockspace Blockspace blocktime blocktimes Blocktimes bloomfilter BLOOMFILTER BLTZ Bootcamp b...(WORD_REPEAT_RULE)
[duplication] ~50-~50: Možný preklep: zopakovali ste slovo
Context: ...ckspace blocktime blocktimes Blocktimes bloomfilter BLOOMFILTER BLTZ Bootcamp bootnode bootnodes Bootno...(WORD_REPEAT_RULE)
[duplication] ~55-~55: Možný preklep: zopakovali ste slovo
Context: ...lter BLOOMFILTER BLTZ Bootcamp bootnode bootnodes Bootnodes BOOTNODES bottlenecked brotli Brotli ca...(WORD_REPEAT_RULE)
[duplication] ~59-~59: Možný preklep: zopakovali ste slovo
Context: ...tnodes Bootnodes BOOTNODES bottlenecked brotli Brotli callouts Callouts CCIP Celestia Celesti...(WORD_REPEAT_RULE)
[duplication] ~61-~61: Možný preklep: zopakovali ste slovo
Context: ...es BOOTNODES bottlenecked brotli Brotli callouts Callouts CCIP Celestia Celestia's chainid Chainl...(WORD_REPEAT_RULE)
[duplication] ~64-~64: Možný preklep: zopakovali ste slovo
Context: ...ed brotli Brotli callouts Callouts CCIP Celestia Celestia's chainid Chainlink chainlist Chainstac...(WORD_REPEAT_RULE)
[duplication] ~74-~74: Možný preklep: zopakovali ste slovo
Context: ...ck chaosnet Chugsplash Clabby codebases collateralized Collateralized compr Comprensive computependingblock C...(WORD_REPEAT_RULE)
[duplication] ~78-~78: Možný preklep: zopakovali ste slovo
Context: ...alized Collateralized compr Comprensive computependingblock COMPUTEPENDINGBLOCK confs Consen corsdomain counterfactuall...(WORD_REPEAT_RULE)
[duplication] ~84-~84: Možný preklep: zopakovali ste slovo
Context: ...onfs Consen corsdomain counterfactually crosschain Crosschain Crossmint Dapphub daserver datacap DATA...(WORD_REPEAT_RULE)
[duplication] ~89-~89: Možný preklep: zopakovali ste slovo
Context: ...n Crosschain Crossmint Dapphub daserver datacap DATACAP datadir DATADIR devnet Devnet devnets D...(WORD_REPEAT_RULE)
[duplication] ~91-~91: Možný preklep: zopakovali ste slovo
Context: ...ssmint Dapphub daserver datacap DATACAP datadir DATADIR devnet Devnet devnets Devnets Devs dire...(WORD_REPEAT_RULE)
[duplication] ~93-~93: Možný preklep: zopakovali ste slovo
Context: ...aserver datacap DATACAP datadir DATADIR devnet Devnet devnets Devnets Devs direnv disabletxpo...(WORD_REPEAT_RULE)
[duplication] ~95-~95: Možný preklep: zopakovali ste slovo
Context: ...p DATACAP datadir DATADIR devnet Devnet devnets Devnets Devs direnv disabletxpoolgossip DISABLE...(WORD_REPEAT_RULE)
[duplication] ~99-~99: Možný preklep: zopakovali ste slovo
Context: ...vnet Devnet devnets Devnets Devs direnv disabletxpoolgossip DISABLETXPOOLGOSSIP discv Discv DIVU Drand dripcheck Drippi...(WORD_REPEAT_RULE)
[duplication] ~101-~101: Možný preklep: zopakovali ste slovo
Context: ...disabletxpoolgossip DISABLETXPOOLGOSSIP discv Discv DIVU Drand dripcheck Drippie Eigen EIPs...(WORD_REPEAT_RULE)
[duplication] ~109-~109: Možný preklep: zopakovali ste slovo
Context: ...DIVU Drand dripcheck Drippie Eigen EIPs enabledeprecatedpersonal ENABLEDEPRECATEDPERSONAL enginekind erigon Erigon etherbase ETHE...(WORD_REPEAT_RULE)
[duplication] ~112-~112: Možný preklep: zopakovali ste slovo
Context: ...nal ENABLEDEPRECATEDPERSONAL enginekind erigon Erigon etherbase ETHERBASE Ethernity Ethernow ...(WORD_REPEAT_RULE)
[duplication] ~114-~114: Možný preklep: zopakovali ste slovo
Context: ...ECATEDPERSONAL enginekind erigon Erigon etherbase ETHERBASE Ethernity Ethernow ethstats ETHSTATS ev...(WORD_REPEAT_RULE)
[duplication] ~118-~118: Možný preklep: zopakovali ste slovo
Context: ... etherbase ETHERBASE Ethernity Ethernow ethstats ETHSTATS evmtimeout EVMTIMEOUT excercise executa...(WORD_REPEAT_RULE)
[duplication] ~120-~120: Možný preklep: zopakovali ste slovo
Context: ...SE Ethernity Ethernow ethstats ETHSTATS evmtimeout EVMTIMEOUT excercise executability exfiltrate exit...(WORD_REPEAT_RULE)
[duplication] ~125-~125: Možný preklep: zopakovali ste slovo
Context: ...EOUT excercise executability exfiltrate exitwhensynced EXITWHENSYNCED extradata EXTRADATA Farcaster Faultproo...(WORD_REPEAT_RULE)
[duplication] ~127-~127: Možný preklep: zopakovali ste slovo
Context: ...xfiltrate exitwhensynced EXITWHENSYNCED extradata EXTRADATA Farcaster Faultproof fdlimit FDLIMIT Fl...(WORD_REPEAT_RULE)
[duplication] ~131-~131: Možný preklep: zopakovali ste slovo
Context: ...xtradata EXTRADATA Farcaster Faultproof fdlimit FDLIMIT Flashblocks Flashbots forkable forkchoi...(WORD_REPEAT_RULE)
[duplication] ~143-~143: Možný preklep: zopakovali ste slovo
Context: ...s Fraxtal funcationality Funct gameplay gascap GASCAP gaslessly gcmode GCMODE Gelato gifs glo...(WORD_REPEAT_RULE)
[duplication] ~146-~146: Možný preklep: zopakovali ste slovo
Context: ... Funct gameplay gascap GASCAP gaslessly gcmode GCMODE Gelato gifs globalqueue GLOBALQUEUE glo...(WORD_REPEAT_RULE)
[duplication] ~150-~150: Možný preklep: zopakovali ste slovo
Context: ...CAP gaslessly gcmode GCMODE Gelato gifs globalqueue GLOBALQUEUE globalslots GLOBALSLOTS gokzg growthepi...(WORD_REPEAT_RULE)
[duplication] ~152-~152: Možný preklep: zopakovali ste slovo
Context: ...ODE Gelato gifs globalqueue GLOBALQUEUE globalslots GLOBALSLOTS gokzg growthepie hardfork hardforks hea...(WORD_REPEAT_RULE)
[duplication] ~158-~158: Možný preklep: zopakovali ste slovo
Context: ...OTS gokzg growthepie hardfork hardforks healthcheck HEALTHCHECK healthchecks historicalrpc HISTORICALRP...(WORD_REPEAT_RULE)
[duplication] ~161-~161: Možný preklep: zopakovali ste slovo
Context: ...ks healthcheck HEALTHCHECK healthchecks historicalrpc HISTORICALRPC historicalrpctimeout HISTORICALRPCTIMEO...(WORD_REPEAT_RULE)
[duplication] ~163-~163: Možný preklep: zopakovali ste slovo
Context: ...ealthchecks historicalrpc HISTORICALRPC historicalrpctimeout HISTORICALRPCTIMEOUT holesky Holesky HOLESKY IERC ignorepric...(WORD_REPEAT_RULE)
[duplication] ~165-~165: Možný preklep: zopakovali ste slovo
Context: ...storicalrpctimeout HISTORICALRPCTIMEOUT holesky Holesky HOLESKY IERC ignoreprice IGNOREPRICE Im...(WORD_REPEAT_RULE)
[duplication] ~169-~169: Možný preklep: zopakovali ste slovo
Context: ...RPCTIMEOUT holesky Holesky HOLESKY IERC ignoreprice IGNOREPRICE Immunefi inator Inator influxdbv INFLUX...(WORD_REPEAT_RULE)
[duplication] ~172-~172: Možný preklep: zopakovali ste slovo
Context: ...Y IERC ignoreprice IGNOREPRICE Immunefi inator Inator influxdbv INFLUXDBV initcode ipcdisable...(WORD_REPEAT_RULE)
[duplication] ~174-~174: Možný preklep: zopakovali ste slovo
Context: ...rice IGNOREPRICE Immunefi inator Inator influxdbv INFLUXDBV initcode ipcdisable IPCDISABLE ipcfile ...(WORD_REPEAT_RULE)
[duplication] ~177-~177: Možný preklep: zopakovali ste slovo
Context: ...tor Inator influxdbv INFLUXDBV initcode ipcdisable IPCDISABLE ipcfile ipcpath IPCPATH IPFS Isthumus J...(WORD_REPEAT_RULE)
[duplication] ~180-~180: Možný preklep: zopakovali ste slovo
Context: ... initcode ipcdisable IPCDISABLE ipcfile ipcpath IPCPATH IPFS Isthumus JALR journalremotes JOURN...(WORD_REPEAT_RULE)
[duplication] ~185-~185: Možný preklep: zopakovali ste slovo
Context: ...file ipcpath IPCPATH IPFS Isthumus JALR journalremotes JOURNALREMOTES jspath JSPATH jwtsecret Keccak leveldb ...(WORD_REPEAT_RULE)
[duplication] ~187-~187: Možný preklep: zopakovali ste slovo
Context: ...umus JALR journalremotes JOURNALREMOTES jspath JSPATH jwtsecret Keccak leveldb lightkdf Lisk ...(WORD_REPEAT_RULE)
[duplication] ~196-~196: Možný preklep: zopakovali ste slovo
Context: ...ak leveldb lightkdf Lisk logfile logfmt maxage MAXAGE maxbackups MAXBACKUPS maxpeers MAXPEERS...(WORD_REPEAT_RULE)
[duplication] ~198-~198: Možný preklep: zopakovali ste slovo
Context: ...htkdf Lisk logfile logfmt maxage MAXAGE maxbackups MAXBACKUPS maxpeers MAXPEERS maxpendpeers MAXPENDP...(WORD_REPEAT_RULE)
[duplication] ~200-~200: Možný preklep: zopakovali ste slovo
Context: ...fmt maxage MAXAGE maxbackups MAXBACKUPS maxpeers MAXPEERS maxpendpeers MAXPENDPEERS maxprice MAXP...(WORD_REPEAT_RULE)
[duplication] ~202-~202: Možný preklep: zopakovali ste slovo
Context: ...maxbackups MAXBACKUPS maxpeers MAXPEERS maxpendpeers MAXPENDPEERS maxprice MAXPRICE memprofilerate MEMPRO...(WORD_REPEAT_RULE)
[duplication] ~204-~204: Možný preklep: zopakovali ste slovo
Context: ...eers MAXPEERS maxpendpeers MAXPENDPEERS maxprice MAXPRICE memprofilerate MEMPROFILERATE merkle Me...(WORD_REPEAT_RULE)
[duplication] ~206-~206: Možný preklep: zopakovali ste slovo
Context: ...endpeers MAXPENDPEERS maxprice MAXPRICE memprofilerate MEMPROFILERATE merkle Merkle MFHI MFLO Mgas Minato min...(WORD_REPEAT_RULE)
[duplication] ~208-~208: Možný preklep: zopakovali ste slovo
Context: ... MAXPRICE memprofilerate MEMPROFILERATE merkle Merkle MFHI MFLO Mgas Minato minfreedisk MINFR...(WORD_REPEAT_RULE)
[duplication] ~214-~214: Možný preklep: zopakovali ste slovo
Context: ...ATE merkle Merkle MFHI MFLO Mgas Minato minfreedisk MINFREEDISK minsuggestedpriorityfee MINSUGGESTEDPRI...(WORD_REPEAT_RULE)
[duplication] ~216-~216: Možný preklep: zopakovali ste slovo
Context: ...FLO Mgas Minato minfreedisk MINFREEDISK minsuggestedpriorityfee MINSUGGESTEDPRIORITYFEE Mintable Mintplex MIPSEVM Mitigations m...(WORD_REPEAT_RULE)
[duplication] ~222-~222: Možný preklep: zopakovali ste slovo
Context: ...E Mintable Mintplex MIPSEVM Mitigations monitorism Monitorism Moralis Mordor mountpoint MOVN MOVZ MTH...(WORD_REPEAT_RULE)
[duplication] ~233-~233: Možný preklep: zopakovali ste slovo
Context: ...oint MOVN MOVZ MTHI MTLO MULT multiaddr multichain Multichain multiclient multisigs MULTU nethermind ...(WORD_REPEAT_RULE)
[duplication] ~239-~239: Možný preklep: zopakovali ste slovo
Context: ... multiclient multisigs MULTU nethermind netrestrict NETRESTRICT networkid NETWORKID newpayload NEWPAYLO...(WORD_REPEAT_RULE)
[duplication] ~241-~241: Možný preklep: zopakovali ste slovo
Context: ...ULTU nethermind netrestrict NETRESTRICT networkid NETWORKID newpayload NEWPAYLOAD nextra nocompacti...(WORD_REPEAT_RULE)
[duplication] ~243-~243: Možný preklep: zopakovali ste slovo
Context: ...estrict NETRESTRICT networkid NETWORKID newpayload NEWPAYLOAD nextra nocompaction NOCOMPACTION nodeke...(WORD_REPEAT_RULE)
[duplication] ~246-~246: Možný preklep: zopakovali ste slovo
Context: ... NETWORKID newpayload NEWPAYLOAD nextra nocompaction NOCOMPACTION nodekey NODEKEY nodekeyhex NODEKEYHEX n...(WORD_REPEAT_RULE)
[duplication] ~248-~248: Možný preklep: zopakovali ste slovo
Context: ...AYLOAD nextra nocompaction NOCOMPACTION nodekey NODEKEY nodekeyhex NODEKEYHEX nodename nodiscov...(WORD_REPEAT_RULE)
[duplication] ~250-~250: Možný preklep: zopakovali ste slovo
Context: ...compaction NOCOMPACTION nodekey NODEKEY nodekeyhex NODEKEYHEX nodename nodiscover NODISCOVER nolocals...(WORD_REPEAT_RULE)
[duplication] ~253-~253: Možný preklep: zopakovali ste slovo
Context: ... NODEKEY nodekeyhex NODEKEYHEX nodename nodiscover NODISCOVER nolocals NOLOCALS noprefetch NOPREFETCH...(WORD_REPEAT_RULE)
[duplication] ~255-~255: Možný preklep: zopakovali ste slovo
Context: ...DEKEYHEX nodename nodiscover NODISCOVER nolocals NOLOCALS noprefetch NOPREFETCH nopruning NOPRUNI...(WORD_REPEAT_RULE)
[duplication] ~257-~257: Možný preklep: zopakovali ste slovo
Context: ...nodiscover NODISCOVER nolocals NOLOCALS noprefetch NOPREFETCH nopruning NOPRUNING nosyncserve NOSYNCS...(WORD_REPEAT_RULE)
[duplication] ~259-~259: Možný preklep: zopakovali ste slovo
Context: ...nolocals NOLOCALS noprefetch NOPREFETCH nopruning NOPRUNING nosyncserve NOSYNCSERVE Numba offchain ...(WORD_REPEAT_RULE)
[duplication] ~261-~261: Možný preklep: zopakovali ste slovo
Context: ...prefetch NOPREFETCH nopruning NOPRUNING nosyncserve NOSYNCSERVE Numba offchain Offchain opchaina opchai...(WORD_REPEAT_RULE)
[duplication] ~264-~264: Možný preklep: zopakovali ste slovo
Context: ...NOPRUNING nosyncserve NOSYNCSERVE Numba offchain Offchain opchaina opchainb OPCM Openfort oplabs ...(WORD_REPEAT_RULE)
[duplication] ~275-~275: Možný preklep: zopakovali ste slovo
Context: ... opnode's opstack Pausability pcscdpath pectra Pectra Pectra's peerstore Peerstore peerstores...(WORD_REPEAT_RULE)
[duplication] ~278-~278: Možný preklep: zopakovali ste slovo
Context: ...bility pcscdpath pectra Pectra Pectra's peerstore Peerstore peerstores permissioned Permissioned pe...(WORD_REPEAT_RULE)
[duplication] ~281-~281: Možný preklep: zopakovali ste slovo
Context: ...Pectra's peerstore Peerstore peerstores permissioned Permissioned permissionless Permissionless permissio...(WORD_REPEAT_RULE)
[duplication] ~283-~283: Možný preklep: zopakovali ste slovo
Context: ...re peerstores permissioned Permissioned permissionless Permissionless permissionlessly Perps Peta Pimlico POA...(WORD_REPEAT_RULE)
[duplication] ~291-~291: Možný preklep: zopakovali ste slovo
Context: ...ionlessly Perps Peta Pimlico POAP POAPs pprof PPROF precommitments Precommitments preconfig...(WORD_REPEAT_RULE)
[duplication] ~293-~293: Možný preklep: zopakovali ste slovo
Context: ...rps Peta Pimlico POAP POAPs pprof PPROF precommitments Precommitments preconfigured predeploy predeployed Pre...(WORD_REPEAT_RULE)
[duplication] ~297-~297: Možný preklep: zopakovali ste slovo
Context: ... Precommitments preconfigured predeploy predeployed Predeployed predeploys Predeploys prefunded preimag...(WORD_REPEAT_RULE)
[duplication] ~299-~299: Možný preklep: zopakovali ste slovo
Context: ...gured predeploy predeployed Predeployed predeploys Predeploys prefunded preimage Preimage preimages P...(WORD_REPEAT_RULE)
[duplication] ~302-~302: Možný preklep: zopakovali ste slovo
Context: ...eployed predeploys Predeploys prefunded preimage Preimage preimages PREIMAGES preinstall preinsta...(WORD_REPEAT_RULE)
[duplication] ~304-~304: Možný preklep: zopakovali ste slovo
Context: ... Predeploys prefunded preimage Preimage preimages PREIMAGES preinstall preinstalls Preinstalls pres...(WORD_REPEAT_RULE)
[duplication] ~307-~307: Možný preklep: zopakovali ste slovo
Context: ...Preimage preimages PREIMAGES preinstall preinstalls Preinstalls prestate Prestate prestates PREVRANDAO ...(WORD_REPEAT_RULE)
[duplication] ~309-~309: Možný preklep: zopakovali ste slovo
Context: ...AGES preinstall preinstalls Preinstalls prestate Prestate prestates PREVRANDAO pricebump PRICEBUM...(WORD_REPEAT_RULE)
[duplication] ~313-~313: Možný preklep: zopakovali ste slovo
Context: ... prestate Prestate prestates PREVRANDAO pricebump PRICEBUMP pricelimit PRICELIMIT productionize pro...(WORD_REPEAT_RULE)
[duplication] ~315-~315: Možný preklep: zopakovali ste slovo
Context: ...restates PREVRANDAO pricebump PRICEBUMP pricelimit PRICELIMIT productionize productionized Protip Pro...(WORD_REPEAT_RULE)
[duplication] ~321-~321: Možný preklep: zopakovali ste slovo
Context: ...uctionize productionized Protip Proxied proxyd Proxyd Pyth Pyth's QRNG quicknode Quicknode qu...(WORD_REPEAT_RULE)
[duplication] ~323-~323: Možný preklep: zopakovali ste slovo
Context: ...uctionized Protip Proxied proxyd Proxyd Pyth Pyth's QRNG quicknode Quicknode quickstarts ...(WORD_REPEAT_RULE)
[duplication] ~326-~326: Možný preklep: zopakovali ste slovo
Context: ... Proxied proxyd Proxyd Pyth Pyth's QRNG quicknode Quicknode quickstarts rebalancing regenesis Regen...(WORD_REPEAT_RULE)
[duplication] ~330-~330: Možný preklep: zopakovali ste slovo
Context: ...knode Quicknode quickstarts rebalancing regenesis Regenesis Reimagine rejournal REJOURNAL remotedb ...(WORD_REPEAT_RULE)
[duplication] ~333-~333: Možný preklep: zopakovali ste slovo
Context: ...balancing regenesis Regenesis Reimagine rejournal REJOURNAL remotedb REMOTEDB Reown Reown's replaya...(WORD_REPEAT_RULE)
[duplication] ~335-~335: Možný preklep: zopakovali ste slovo
Context: ...Regenesis Reimagine rejournal REJOURNAL remotedb REMOTEDB Reown Reown's replayability replayor re...(WORD_REPEAT_RULE)
[duplication] ~337-~337: Možný preklep: zopakovali ste slovo
Context: ...e rejournal REJOURNAL remotedb REMOTEDB Reown Reown's replayability replayor reposts reprov...(WORD_REPEAT_RULE)
[duplication] ~343-~343: Možný preklep: zopakovali ste slovo
Context: ...replayability replayor reposts reproven requiredblocks REQUIREDBLOCKS rollouts rollups Rollups Routescan rpck...(WORD_REPEAT_RULE)
[duplication] ~346-~346: Možný preklep: zopakovali ste slovo
Context: ... requiredblocks REQUIREDBLOCKS rollouts rollups Rollups Routescan rpckind rpcprefix RPCPREFIX r...(WORD_REPEAT_RULE)
[duplication] ~350-~350: Možný preklep: zopakovali ste slovo
Context: ...louts rollups Rollups Routescan rpckind rpcprefix RPCPREFIX rpcs RPGF runbooks Runbooks RWAs safedb...(WORD_REPEAT_RULE)
[duplication] ~354-~354: Možný preklep: zopakovali ste slovo
Context: ...n rpckind rpcprefix RPCPREFIX rpcs RPGF runbooks Runbooks RWAs safedb Schnorr sepolia Sepolia SEP...(WORD_REPEAT_RULE)
[duplication] ~359-~359: Možný preklep: zopakovali ste slovo
Context: ...F runbooks Runbooks RWAs safedb Schnorr sepolia Sepolia SEPOLIA seqnr sequencerhttp SEQUENCERHT...(WORD_REPEAT_RULE)
[duplication] ~363-~363: Možný preklep: zopakovali ste slovo
Context: ...b Schnorr sepolia Sepolia SEPOLIA seqnr sequencerhttp SEQUENCERHTTP serv signup SLLV SLTI SLTIU SLTU smartc...(WORD_REPEAT_RULE)
[duplication] ~373-~373: Možný preklep: zopakovali ste slovo
Context: ...V SLTI SLTIU SLTU smartcard snapshotlog snapsync Snapsync Solana Soneium soyboy Spearbit SRAV SRL...(WORD_REPEAT_RULE)
[duplication] ~381-~381: Možný preklep: zopakovali ste slovo
Context: ...olana Soneium soyboy Spearbit SRAV SRLV stablecoins Stablecoins statefulset subcomponents subgame subhe...(WORD_REPEAT_RULE)
[duplication] ~390-~390: Možný preklep: zopakovali ste slovo
Context: ...ame subheaders subsecond SUBU Sunnyside superchain Superchain SUPERCHAIN Superchain's superchainerc S...(WORD_REPEAT_RULE)
[duplication] ~392-~392: Možný preklep: zopakovali ste slovo
Context: ...nd SUBU Sunnyside superchain Superchain SUPERCHAIN Superchain's superchainerc Superlend Superloans Su...(WORD_REPEAT_RULE)
[duplication] ~398-~398: Možný preklep: zopakovali ste slovo
Context: ...chainerc Superlend Superloans Superscan supersim Supersim syncmode SYNCMODE synctarget SYNCTARGET...(WORD_REPEAT_RULE)
[duplication] ~400-~400: Možný preklep: zopakovali ste slovo
Context: ... Superloans Superscan supersim Supersim syncmode SYNCMODE synctarget SYNCTARGET syscalls thirdweb...(WORD_REPEAT_RULE)
[duplication] ~402-~402: Možný preklep: zopakovali ste slovo
Context: ...can supersim Supersim syncmode SYNCMODE synctarget SYNCTARGET syscalls thirdweb threadcreate timeseri...(WORD_REPEAT_RULE)
[duplication] ~415-~415: Možný preklep: zopakovali ste slovo
Context: ...essly trustrpc Twei txfeecap txmgr txns txpool TXPOOL txproxy txproxyd uncensorable uncounter...(WORD_REPEAT_RULE)
[duplication] ~428-~428: Možný preklep: zopakovali ste slovo
Context: ... Unprotect unsubmitted UPNP upstreaming verkle VERKLE vhosts VHOSTS viem Viem viem's Viem's v...(WORD_REPEAT_RULE)
[duplication] ~430-~430: Možný preklep: zopakovali ste slovo
Context: ...ubmitted UPNP upstreaming verkle VERKLE vhosts VHOSTS viem Viem viem's Viem's vmdebug VMDEBUG...(WORD_REPEAT_RULE)
[duplication] ~432-~432: Možný preklep: zopakovali ste slovo
Context: ...upstreaming verkle VERKLE vhosts VHOSTS viem Viem viem's Viem's vmdebug VMDEBUG vmodule V...(WORD_REPEAT_RULE)
[duplication] ~436-~436: Možný preklep: zopakovali ste slovo
Context: ...E vhosts VHOSTS viem Viem viem's Viem's vmdebug VMDEBUG vmodule VMODULE xlarge XORI ZKPs ZKVM z...(WORD_REPEAT_RULE)
[duplication] ~438-~438: Možný preklep: zopakovali ste slovo
Context: ...viem Viem viem's Viem's vmdebug VMDEBUG vmodule VMODULE xlarge XORI ZKPs ZKVM zora Zora(WORD_REPEAT_RULE)
[duplication] ~444-~444: Možný preklep: zopakovali ste slovo
Context: ...G vmodule VMODULE xlarge XORI ZKPs ZKVM zora Zora(WORD_REPEAT_RULE)
81045ba
to
6360ce4
Compare
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: 2
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
pages/interop/tutorials/relay-messages-cast.mdx
(6 hunks)pages/interop/tutorials/relay-messages-viem.mdx
(4 hunks)public/tutorials/app_v2.mts
(2 hunks)public/tutorials/transfer-eth.mts
(2 hunks)public/tutorials/xfer-erc20.mts
(3 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
- public/tutorials/app_v2.mts
- public/tutorials/xfer-erc20.mts
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.mdx`: "ALWAYS review Markdown content THOROUGHLY with the following criteria: - First, check the frontmatter section at the top of the file: 1. For regular pages, ensure AL...
**/*.mdx
: "ALWAYS review Markdown content THOROUGHLY with the following criteria:
- First, check the frontmatter section at the top of the file:
- For regular pages, ensure ALL these fields are present and not empty:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] personas: [non-empty array] categories: [non-empty array] content_type: [valid type] ---
- For landing pages (index.mdx or files with ), only these fields are required:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] ---
- If any required fields are missing or empty, comment:
'This file appears to be missing required metadata. Please check keywords.config.yaml for valid options and add the required fields manually. You can validate your changes by running:pnpm validate-metadata ```'
- 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/interop/tutorials/relay-messages-viem.mdx
pages/interop/tutorials/relay-messages-cast.mdx
🪛 LanguageTool
pages/interop/tutorials/relay-messages-cast.mdx
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...
(ARE_CD_NN)
🔇 Additional comments (15)
public/tutorials/transfer-eth.mts (3)
49-53
: Variable name improvement for clarity.Changing from
wethOnSource
toethBridgeOnSource
better reflects that this is the Superchain ETH Bridge contract, not a WETH token contract. This improves code readability.
86-92
: Improved message retrieval approach.The updated code uses a more streamlined approach to retrieve cross-domain messages directly from transaction logs, replacing the previous
createInteropSentL2ToL2Messages
function. This approach is more direct and aligns with the updated interop messaging paradigm.
94-96
: Standardized relay message implementation.The updated relay message implementation uses the unified
relayCrossDomainMessage
method which provides a more consistent API for relaying messages across the Superchain.pages/interop/tutorials/relay-messages-viem.mdx (6)
122-127
: Updated API usage for sending ERC20 tokens.The code now uses the dedicated
interop.sendSuperchainERC20
method instead of directly calling contract functions, providing a more streamlined and type-safe API for cross-chain token transfers.
148-148
: Standardized relay message implementation.The updated relay message implementation uses the unified
relayCrossDomainMessage
method, providing a more consistent API across different message types.
154-156
: Improved message status verification.The code now uses
getCrossDomainMessageStatus
to directly check message status rather than decoding the relay receipt, providing a more straightforward way to verify successful message relaying.
245-251
: Updated API usage for sending ERC20 tokens in full code snippet.The full code snippet correctly implements the updated method for sending ERC20 tokens using the
interop.sendSuperchainERC20
method.
268-268
: Updated standardized relay message implementation in full code snippet.The full code snippet correctly uses the new relay message implementation.
274-276
: Improved message status verification in full code snippet.The full code snippet correctly implements the new approach for verifying message status.
pages/interop/tutorials/relay-messages-cast.mdx (6)
27-28
: Improved text formatting and readability.The added indentation in the Callout component improves the readability of the text while preserving its meaning.
33-33
: Fixed URL encoding in link.The ampersand in the query parameter is now properly escaped (
\&
), ensuring correct parsing of the URL.
50-50
: Corrected function name.Changed
sentERC20
tosendERC20
, which is the correct function name for the bridge operation.
104-124
: Updated log output to reflect current implementation.The sample output now shows current values for blockHash, blockNumber, data, and logIndex, making the tutorial more accurate.
168-232
: Added detailed access list construction guidance.The new section on constructing access lists is a valuable addition that explains two methods for retrieving the required access list:
- Using
admin_getAccessListByMsgHash
with the message hash- Using
admin_getAccessListForIdentifier
with the message identifier and payloadThis addition improves the completeness of the tutorial.
There's a minor grammar issue in line 170: "There are two admin RPC methods" should be "There are two admin RPC methods".
🧰 Tools
🪛 LanguageTool
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...(ARE_CD_NN)
261-265
: Updated relay command to include access list parameter.The updated command for
relayMessage
now includes the necessary access list parameter, which is required for the transaction to execute correctly on the destination chain.
a3a6e39
to
7ab26c8
Compare
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 (3)
pages/interop/tutorials/relay-messages-viem.mdx (2)
133-136
: Message Construction EnhancementUsing
getCrossDomainMessages
followed bybuildExecutingMessage
is a clear update to the message construction process. As an optional improvement, consider adding a check to confirm thatsentMessages
is not empty before accessing its first element. This would prevent potential runtime errors if no messages are returned.
154-157
: Status Check ImprovementWhen checking the relay status, consider using the strict equality operator (
!==
instead of!=
) to avoid type coercion issues. Also, it might be beneficial to add error handling in case the status retrieval fails or returns an unexpected value.pages/interop/tutorials/relay-messages-cast.mdx (1)
168-172
: Grammatical Improvement for Access List SectionIn the "Construct the access list for the message" section, the sentence ending around line 169 appears to have a trailing "and" that disrupts clarity. Consider revising it as follows:
-An access list must be passed along with the relay message tx. There are two admin RPC methods that can be used to construct the access list: `admin_getAccessListByMsgHash` and `admin_getAccessListForIdentifier` and. +An access list must be passed along with the relay message tx. There are two admin RPC methods that can be used to construct the access list: `admin_getAccessListByMsgHash` and `admin_getAccessListForIdentifier`.🧰 Tools
🪛 LanguageTool
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...(ARE_CD_NN)
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
pages/interop/tutorials/bridge-crosschain-eth.mdx
(1 hunks)pages/interop/tutorials/relay-messages-cast.mdx
(6 hunks)pages/interop/tutorials/relay-messages-viem.mdx
(4 hunks)public/tutorials/transfer-eth.mts
(2 hunks)
✅ Files skipped from review due to trivial changes (1)
- pages/interop/tutorials/bridge-crosschain-eth.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
- public/tutorials/transfer-eth.mts
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.mdx`: "ALWAYS review Markdown content THOROUGHLY with the following criteria: - First, check the frontmatter section at the top of the file: 1. For regular pages, ensure AL...
**/*.mdx
: "ALWAYS review Markdown content THOROUGHLY with the following criteria:
- First, check the frontmatter section at the top of the file:
- For regular pages, ensure ALL these fields are present and not empty:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] personas: [non-empty array] categories: [non-empty array] content_type: [valid type] ---
- For landing pages (index.mdx or files with ), only these fields are required:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] ---
- If any required fields are missing or empty, comment:
'This file appears to be missing required metadata. Please check keywords.config.yaml for valid options and add the required fields manually. You can validate your changes by running:pnpm validate-metadata ```'
- 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/interop/tutorials/relay-messages-viem.mdx
pages/interop/tutorials/relay-messages-cast.mdx
🪛 LanguageTool
pages/interop/tutorials/relay-messages-cast.mdx
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...
(ARE_CD_NN)
🔇 Additional comments (7)
pages/interop/tutorials/relay-messages-viem.mdx (3)
1-21
: Frontmatter and Metadata CheckThe frontmatter includes all the required fields with non‐empty values. The metadata is complete and correctly structured.
121-127
: New Send Transaction CallThe tutorial now uses the new method
opChainAClient.interop.sendSuperchainERC20
with parameters (tokenAddress
,to
,amount
, andchainId
). Please verify that the variablesSUPERSIM_SUPERC20_ADDRESS
,testAccount
, andAMOUNT_TO_SEND
are defined or explained elsewhere in the tutorial to avoid confusion.
148-148
: Relay Message CallThe call to
opChainBClient.interop.relayCrossDomainMessage
appears correct and aligns with the new relay approach. No concerns here.pages/interop/tutorials/relay-messages-cast.mdx (4)
1-21
: Frontmatter and Metadata CheckThe frontmatter in this file is complete and correctly structured, including all required fields (title, description, lang, content_type, topic, personas, and categories).
26-29
: Callout Component UpdateThe updated text within the
<Callout>
component is clear and informative. The message now neatly informs users about the production-readiness of the SuperchainERC20 standard and the active development status of the OP Stack interoperability upgrade.
33-33
: Introduction and URL EncodingThe introductory sentence now includes a properly encoded URL (using
\&
for query parameters), which should help avoid parsing issues in some environments. Verify that all linked URLs resolve as expected.
261-266
: Relay Message Transaction UpdateThe updated relay message transaction now includes an
--access-list
parameter, which is essential for the transaction execution. Please ensure that the JSON provided in the--access-list
argument is valid and exactly matches the expected format of your RPC endpoint.
c2ea5fe
to
a21101b
Compare
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 (6)
pages/interop/tutorials/relay-messages-cast.mdx (6)
131-133
: Placeholder reminder: Replace the block hashThe command now uses a placeholder (
0xREPLACE_WITH_CORRECT_BLOCKHASH
). Ensure that the instructions clearly advise users to substitute this placeholder with the actual block hash. A brief note on how to obtain the correct block hash would improve clarity.
159-164
: Updated message payload exampleThe concatenated payload now reflects the new expected format, with each segment clearly delineated. Consider reformatting the long payload (e.g., breaking it into multiple lines or using inline comments) to improve readability for users.
168-174
: Clarify instructions for constructing the access listThis section does an excellent job detailing the two RPC methods available for obtaining the access list. However, the sentence on line 169 ends with an extraneous "and" that should be removed for clarity. Also, ensure it is clear how to extract the message hash from the logs.
🧰 Tools
🪛 LanguageTool
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...(ARE_CD_NN)
261-268
: Updated relayMessage command with access list parameterThe updated
cast send
command now includes the access list parameter, which aligns with the new relay requirements. All parameters, including the new access list, are clearly provided. For enhanced readability, consider splitting long command lines into shorter segments or adding inline comments explaining each part.
170-170
: Typographical note on admin RPC methodsA static analysis hint flagged a potential grammar issue near line 170. While "admin_getAccessListByMsgHash" and "admin_getAccessListForIdentifier" are correct RPC method names, ensure that the descriptive sentence does not include an accidental trailing "and" after listing the methods.
🧰 Tools
🪛 LanguageTool
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...(ARE_CD_NN)
35-35
: Style update for instructional toneThe phrase "We'll perform the SuperchainERC20 interop transfer…" uses a personal pronoun. For documentation consistency, consider revising it to an imperative form (e.g., "Perform the SuperchainERC20 interop transfer…") to maintain a formal and direct instructional tone.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
pages/interop/tutorials/bridge-crosschain-eth.mdx
(1 hunks)pages/interop/tutorials/relay-messages-cast.mdx
(4 hunks)pages/interop/tutorials/relay-messages-viem.mdx
(4 hunks)public/tutorials/transfer-eth.mts
(2 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
- pages/interop/tutorials/bridge-crosschain-eth.mdx
- public/tutorials/transfer-eth.mts
- pages/interop/tutorials/relay-messages-viem.mdx
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.mdx`: "ALWAYS review Markdown content THOROUGHLY with the following criteria: - First, check the frontmatter section at the top of the file: 1. For regular pages, ensure AL...
**/*.mdx
: "ALWAYS review Markdown content THOROUGHLY with the following criteria:
- First, check the frontmatter section at the top of the file:
- For regular pages, ensure ALL these fields are present and not empty:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] personas: [non-empty array] categories: [non-empty array] content_type: [valid type] ---
- For landing pages (index.mdx or files with ), only these fields are required:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] ---
- If any required fields are missing or empty, comment:
'This file appears to be missing required metadata. Please check keywords.config.yaml for valid options and add the required fields manually. You can validate your changes by running:pnpm validate-metadata ```'
- 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/interop/tutorials/relay-messages-cast.mdx
🪛 LanguageTool
pages/interop/tutorials/relay-messages-cast.mdx
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...
(ARE_CD_NN)
🔇 Additional comments (5)
pages/interop/tutorials/relay-messages-cast.mdx (5)
1-21
: Frontmatter VerificationThe frontmatter contains all required fields (title, description, lang, content_type, topic, personas, categories, is_imported_content). The metadata appears complete and correct.
50-50
: Function name correction tosendERC20
The update correctly revises the function name from
sentERC20
tosendERC20
, aligning with the intended updates. Ensure that any references in related documentation or tutorials are updated accordingly.
103-105
: Command syntax standardization for retrieving logsThe updated
cast logs
command is now presented clearly without extraneous prefixes. Confirm that the RPC URL and address parameters remain correct for the target network.
176-178
: Example command usingadmin_getAccessListByMsgHash
The command to retrieve the access list using the message hash is clearly presented. Please verify that the RPC URL (
http://localhost:8420
) is correct and appropriate for the intended network environment.
182-215
: Detailed example for access list retrieval via identifierThe multi-line JSON command for
admin_getAccessListForIdentifier
is comprehensive and well structured. It clearly demonstrates the expected input and output. Ensure that users retain the formatting when copying the command in different shell environments.
a21101b
to
d587ca4
Compare
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 (1)
pages/interop/tutorials/relay-messages-cast.mdx (1)
168-172
: Improve access list construction description
There is a minor grammatical issue at the end of the sentence on line 169:"There are two admin RPC methods that can be used to construct the access list:
admin_getAccessListByMsgHash
andadmin_getAccessListForIdentifier
and."Please remove the trailing "and" for clarity. For example:
- An access list must be passed along with the relay message tx. There are two admin RPC methods that can be used to construct the access list: `admin_getAccessListByMsgHash` and `admin_getAccessListForIdentifier` and. + An access list must be passed along with the relay message tx. There are two admin RPC methods that can be used to construct the access list: `admin_getAccessListByMsgHash` and `admin_getAccessListForIdentifier`.🧰 Tools
🪛 LanguageTool
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...(ARE_CD_NN)
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
pages/interop/tutorials/bridge-crosschain-eth.mdx
(2 hunks)pages/interop/tutorials/relay-messages-cast.mdx
(4 hunks)pages/interop/tutorials/relay-messages-viem.mdx
(4 hunks)public/tutorials/transfer-eth.mts
(2 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
- pages/interop/tutorials/bridge-crosschain-eth.mdx
- pages/interop/tutorials/relay-messages-viem.mdx
- public/tutorials/transfer-eth.mts
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.mdx`: "ALWAYS review Markdown content THOROUGHLY with the following criteria: - First, check the frontmatter section at the top of the file: 1. For regular pages, ensure AL...
**/*.mdx
: "ALWAYS review Markdown content THOROUGHLY with the following criteria:
- First, check the frontmatter section at the top of the file:
- For regular pages, ensure ALL these fields are present and not empty:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] personas: [non-empty array] categories: [non-empty array] content_type: [valid type] ---
- For landing pages (index.mdx or files with ), only these fields are required:
--- title: [non-empty] lang: [non-empty] description: [non-empty] topic: [non-empty] ---
- If any required fields are missing or empty, comment:
'This file appears to be missing required metadata. Please check keywords.config.yaml for valid options and add the required fields manually. You can validate your changes by running:pnpm validate-metadata ```'
- 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/interop/tutorials/relay-messages-cast.mdx
🪛 LanguageTool
pages/interop/tutorials/relay-messages-cast.mdx
[grammar] ~170-~170: Did you mean “admins”?
Context: ...ith the relay message tx. There are two admin RPC methods that can be used to constru...
(ARE_CD_NN)
🔇 Additional comments (7)
pages/interop/tutorials/relay-messages-cast.mdx (7)
1-21
: Frontmatter metadata is complete and well-formatted
The frontmatter includes all required fields (title, lang, description, topic, personas, categories, content_type) with appropriate non-empty values. No changes are needed here.
50-50
: Corrected function name usage
The change to usesendERC20
instead of the outdatedsentERC20
correctly reflects the updated method signature.
101-107
: Updated log retrieval command and sample output
Thecast logs
command has been updated (removing any extraneous prefixes) and the sample output now shows the new log details. This improves clarity for users retrieving logs from theL2ToL2CrossDomainMessenger
contract.
131-133
: Clear placeholder usage for block hash
The command using0xREPLACE_WITH_CORRECT_BLOCKHASH
clearly indicates that users must replace the placeholder with the actual block hash. This is appropriate for tutorial guidance.
159-164
: Accurate message payload formatting
The sample output illustrating the concatenated payload (topics and data) reflects the updated message structure accurately. This ensures users can correctly form the message identifier payload.
176-195
: Clear instructions for retrieving the access list (admin_getAccessListByMsgHash)
The segment detailing how to calladmin_getAccessListByMsgHash
is well-organized. The command and the accompanying sample output clearly demonstrate the expected structure of the access list, matching the tutorial’s updated procedure.
261-268
: Updated relayMessage transaction command
The final command now appropriately includes the--access-list
parameter alongside the relay message call. This update correctly reflects the new parameters required byL2ToL2CrossDomainMessenger.relayMessage
and is clearly presented.
d587ca4
to
ce2f006
Compare
ce2f006
to
bda418b
Compare
Closes ethereum-optimism/ecosystem#698
This PR updates the interop relay tutorials to account for the new way that interop messages must be manually relayed. I also noticed that many of the tutorial examples were based on the old version of the viem library, so I updated the tutorials to use the new actions.