Skip to content

Conversation

cpengilly
Copy link
Contributor

draft PR, merge only after eng approves

Copy link

netlify bot commented May 2, 2024

Deploy Preview for docs-optimism ready!

Name Link
🔨 Latest commit 872a566
🔍 Latest deploy log https://app.netlify.com/sites/docs-optimism/deploys/66579c52241b730008973468
😎 Deploy Preview https://deploy-preview-665--docs-optimism.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cpengilly cpengilly changed the title custom-gas-token page for chain ops custom-gas-token May 24, 2024
Copy link

@BlocksOnAChain BlocksOnAChain left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@K-Ho K-Ho marked this pull request as ready for review May 29, 2024 21:23
@K-Ho K-Ho requested a review from a team as a code owner May 29, 2024 21:23
@K-Ho K-Ho requested a review from a team May 29, 2024 21:23
Copy link
Contributor

coderabbitai bot commented May 29, 2024

Walkthrough

The recent changes introduced a new "Custom Gas Token" feature in the OP Stack, providing comprehensive guides for chain operators on deploying and managing chains with specific ERC-20 tokens as native gas tokens. Clarifications were made to existing tutorials, and new documentation files were added to detail the deployment, configuration, and benefits of using custom gas tokens. Additionally, updates were made to metadata files and a dictionary file to reflect these changes.

Changes

Files/Paths Change Summaries
pages/builders/app-developers/... Clarified tutorial scope to focus on bridging a new ERC-20 token to an OP Stack chain.
pages/builders/chain-operators/management/... Added a new entry for "Custom Gas Token" and provided a detailed guide for running a custom gas token chain.
pages/stack/protocol/_meta.json Added a new key-value pair "features": "Features".
pages/stack/protocol/features/_meta.json Introduced the "Custom Gas Token" feature.
pages/stack/protocol/features/custom-gas-token.mdx Explained the concept and implementation of Custom Gas Tokens in the OP Stack.
words.txt Added Allocs, TWAP, undercollateralized; removed leadup.

Recent Review Details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits Files that changed from the base of the PR and between bbcefd0 and 872a566.
Files selected for processing (7)
  • pages/builders/app-developers/tutorials/standard-bridge-custom-token.mdx (1 hunks)
  • pages/builders/chain-operators/management/_meta.json (1 hunks)
  • pages/builders/chain-operators/management/custom-gas-token.mdx (1 hunks)
  • pages/stack/protocol/_meta.json (1 hunks)
  • pages/stack/protocol/features/_meta.json (1 hunks)
  • pages/stack/protocol/features/custom-gas-token.mdx (1 hunks)
  • words.txt (3 hunks)
Files skipped from review due to trivial changes (3)
  • pages/builders/chain-operators/management/_meta.json
  • pages/stack/protocol/_meta.json
  • pages/stack/protocol/features/_meta.json
Additional Context Used
LanguageTool (103)
pages/builders/app-developers/tutorials/standard-bridge-custom-token.mdx (4)

Near line 16: It appears that a comma is missing.
Context: ...-dom-bridge-erc20). In this tutorial you'll learn how to bridge a custom ERC...
Rule ID: DURING_THAT_TIME_COMMA


Near line 31: Consider a shorter alternative to avoid wordiness.
Context: ... contract must implement this interface in order to be bridged using the Standard Bridge sy...
Rule ID: IN_ORDER_TO_PREMIUM


Near line 52: Consider a shorter alternative to avoid wordiness.
Context: ...d the OP Sepolia network to your wallet in order to follow this tutorial. You can use [this...
Rule ID: IN_ORDER_TO_PREMIUM


Near line 122: Consider an alternative for the overused word “exactly”.
Context: ...for the token you just created! This is exactly what this tutorial was meant to demonst...
Rule ID: EXACTLY_PRECISELY

pages/builders/chain-operators/management/custom-gas-token.mdx (5)

Near line 16: Possible missing comma found.
Context: ...o deposit an L1 native ERC20 token into L2 where that asset is minted as the nativ...
Rule ID: AI_HYDRA_LEO_MISSING_COMMA


Near line 21: This sentence should probably be started with a verb instead of the noun ‘Checkout’. If not, consider inserting a comma for better clarity.
Context: ...> ### Deploying Your Contracts * Checkout the [v2.0.0-beta.1 of the contracts](...
Rule ID: SENT_START_NN_DT


Near line 27: The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?
Context: ...s token! * Update the deploy config in `contracts-bedrock/deploy-con...
Rule ID: PREPOSITION_VERB


Near line 61: The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?
Context: ...G_PATH` is the path to the file for the deploy config used to deploy ### Generating...
Rule ID: PREPOSITION_VERB


Near line 83: The word ‘deploy’ is a verb. Did you mean the noun “deployment” (= release, placement)?
Context: ...G_PATHis the path to the file for the deploy config used to deploy * STATE_DUMP...
Rule ID: PREPOSITION_VERB

pages/stack/protocol/features/custom-gas-token.mdx (6)

Near line 20: Possible missing article found.
Context: ...eposit ETH from L1 into the L2 chain as native L2 token that can then be used to pay f...
Rule ID: AI_HYDRA_LEO_MISSING_A


Near line 49: Possible typo: you repeated a word
Context: ... token on an existing L2 OP Stack chain as as the custom gas token for an L3 OP Stack...
Rule ID: ENGLISH_WORD_REPEAT_RULE


Near line 83: ‘taking into account’ might be wordy. Consider a shorter alternative.
Context: ...s token does not have special logic for taking into account the exchange rate between the custom ga...
Rule ID: EN_WORDINESS_PREMIUM_TAKING_INTO_ACCOUNT


Near line 85: ‘take into account’ might be wordy. Consider a shorter alternative.
Context: ...This would enable an on chain oracle to take into account the exchange rate of the custom gas tok...
Rule ID: EN_WORDINESS_PREMIUM_TAKE_INTO_ACCOUNT


Near line 93: ‘exactly the same’ might be wordy. Consider a shorter alternative.
Context: ...frastructure that node operators run is exactly the same as any other OP Stack based chain. The ...
Rule ID: EN_WORDINESS_PREMIUM_EXACTLY_THE_SAME


Near line 93: This expression is usually spelled with a hyphen.
Context: ...run is exactly the same as any other OP Stack based chain. The differences are encapsulated...
Rule ID: BASED_HYPHEN

words.txt (88)

Near line 1: Možný preklep: zopakovali ste slovo
Context: ACCOUNTQUEUE accountqueue ACCOUNTSLOTS accountslots ADDI ADDIU AD...
Rule ID: WORD_REPEAT_RULE


Near line 2: Možný preklep: zopakovali ste slovo
Context: ACCOUNTQUEUE accountqueue ACCOUNTSLOTS accountslots ADDI ADDIU ADDU Allocs allocs ANDI Apew...
Rule ID: WORD_REPEAT_RULE


Near line 7: Možný preklep: zopakovali ste slovo
Context: ...COUNTSLOTS accountslots ADDI ADDIU ADDU Allocs allocs ANDI Apeworx Arweave authrpc Badgeholde...
Rule ID: WORD_REPEAT_RULE


Near line 20: Možný preklep: zopakovali ste slovo
Context: ...GTZ Biconomy birthdate BLEZ BLOBBASEFEE BLOBPOOL blobpool blocklists BLOCKLOGS blocklogs BLOCKPRO...
Rule ID: WORD_REPEAT_RULE


Near line 23: Možný preklep: zopakovali ste slovo
Context: ...LOBBASEFEE BLOBPOOL blobpool blocklists BLOCKLOGS blocklogs BLOCKPROFILERATE blockprofilerate Block...
Rule ID: WORD_REPEAT_RULE


Near line 25: Možný preklep: zopakovali ste slovo
Context: ...blobpool blocklists BLOCKLOGS blocklogs BLOCKPROFILERATE blockprofilerate Blockscout BLOOMFILTER bloomfilter BLTZ...
Rule ID: WORD_REPEAT_RULE


Near line 28: Možný preklep: zopakovali ste slovo
Context: ...PROFILERATE blockprofilerate Blockscout BLOOMFILTER bloomfilter BLTZ Bluesweep Bootcamp BOOTNODES Bootn...
Rule ID: WORD_REPEAT_RULE


Near line 33: Možný preklep: zopakovali ste slovo
Context: ...TER bloomfilter BLTZ Bluesweep Bootcamp BOOTNODES Bootnodes bootnodes bottlenecked Callouts callout...
Rule ID: WORD_REPEAT_RULE


Near line 37: Možný preklep: zopakovali ste slovo
Context: ...TNODES Bootnodes bootnodes bottlenecked Callouts callouts CCIP Celestia Chainlink Chainlink's cha...
Rule ID: WORD_REPEAT_RULE


Near line 41: Možný preklep: zopakovali ste slovo
Context: ...enecked Callouts callouts CCIP Celestia Chainlink Chainlink's chainlist chaosnet Clabby codebases c...
Rule ID: WORD_REPEAT_RULE


Near line 48: Možný preklep: zopakovali ste slovo
Context: ...haosnet Clabby codebases collateralized COMPUTEPENDINGBLOCK computependingblock confs corsdomain counterfactually Cross...
Rule ID: WORD_REPEAT_RULE


Near line 54: Možný preklep: zopakovali ste slovo
Context: ...s corsdomain counterfactually Crossmint DATACAP datacap DATADIR datadir Dencun derviation Devne...
Rule ID: WORD_REPEAT_RULE


Near line 56: Možný preklep: zopakovali ste slovo
Context: ...nterfactually Crossmint DATACAP datacap DATADIR datadir Dencun derviation Devnet devnet Devnode...
Rule ID: WORD_REPEAT_RULE


Near line 60: Možný preklep: zopakovali ste slovo
Context: ...tacap DATADIR datadir Dencun derviation Devnet devnet Devnode direnv DISABLETXPOOLGOSSIP disa...
Rule ID: WORD_REPEAT_RULE


Near line 64: Možný preklep: zopakovali ste slovo
Context: ...derviation Devnet devnet Devnode direnv DISABLETXPOOLGOSSIP disabletxpoolgossip Discv discv DIVU ENABLEDEPRECATEDPERSON...
Rule ID: WORD_REPEAT_RULE


Near line 66: Možný preklep: zopakovali ste slovo
Context: ...DISABLETXPOOLGOSSIP disabletxpoolgossip Discv discv DIVU ENABLEDEPRECATEDPERSONAL enabledep...
Rule ID: WORD_REPEAT_RULE


Near line 69: Možný preklep: zopakovali ste slovo
Context: ...IP disabletxpoolgossip Discv discv DIVU ENABLEDEPRECATEDPERSONAL enabledeprecatedpersonal Erigon erigon ETHERBASE etherbase ETHST...
Rule ID: WORD_REPEAT_RULE


Near line 71: Možný preklep: zopakovali ste slovo
Context: ...ECATEDPERSONAL enabledeprecatedpersonal Erigon erigon ETHERBASE etherbase ETHSTATS ethstats E...
Rule ID: WORD_REPEAT_RULE


Near line 73: Možný preklep: zopakovali ste slovo
Context: ... enabledeprecatedpersonal Erigon erigon ETHERBASE etherbase ETHSTATS ethstats EVMTIMEOUT evmtimeout...
Rule ID: WORD_REPEAT_RULE


Near line 75: Možný preklep: zopakovali ste slovo
Context: ...sonal Erigon erigon ETHERBASE etherbase ETHSTATS ethstats EVMTIMEOUT evmtimeout EXITWHENSYNCED ex...
Rule ID: WORD_REPEAT_RULE


Near line 77: Možný preklep: zopakovali ste slovo
Context: ...n ETHERBASE etherbase ETHSTATS ethstats EVMTIMEOUT evmtimeout EXITWHENSYNCED exitwhensynced EXTRADATA...
Rule ID: WORD_REPEAT_RULE


Near line 79: Možný preklep: zopakovali ste slovo
Context: ...ETHSTATS ethstats EVMTIMEOUT evmtimeout EXITWHENSYNCED exitwhensynced EXTRADATA extradata Farcaster Fastnode ...
Rule ID: WORD_REPEAT_RULE


Near line 81: Možný preklep: zopakovali ste slovo
Context: ...vmtimeout EXITWHENSYNCED exitwhensynced EXTRADATA extradata Farcaster Fastnode FDLIMIT fdlimit feat...
Rule ID: WORD_REPEAT_RULE


Near line 85: Možný preklep: zopakovali ste slovo
Context: ... EXTRADATA extradata Farcaster Fastnode FDLIMIT fdlimit featureset forkable forkchoice FPVM FPV...
Rule ID: WORD_REPEAT_RULE


Near line 93: Možný preklep: zopakovali ste slovo
Context: ...et forkable forkchoice FPVM FPVMs Funct GASCAP gascap gaslessly GCMODE gcmode gifs GLOBALQUEU...
Rule ID: WORD_REPEAT_RULE


Near line 96: Možný preklep: zopakovali ste slovo
Context: ...PVM FPVMs Funct GASCAP gascap gaslessly GCMODE gcmode gifs GLOBALQUEUE globalqueue GLOBALSLOT...
Rule ID: WORD_REPEAT_RULE


Near line 99: Možný preklep: zopakovali ste slovo
Context: ...CAP gascap gaslessly GCMODE gcmode gifs GLOBALQUEUE globalqueue GLOBALSLOTS globalslots gokzg growthepi...
Rule ID: WORD_REPEAT_RULE


Near line 101: Možný preklep: zopakovali ste slovo
Context: ...ODE gcmode gifs GLOBALQUEUE globalqueue GLOBALSLOTS globalslots gokzg growthepie hardfork hardforks HEA...
Rule ID: WORD_REPEAT_RULE


Near line 107: Možný preklep: zopakovali ste slovo
Context: ...ots gokzg growthepie hardfork hardforks HEALTHCHECK healthcheck heartbeating HISTORICALRPC historicalrp...
Rule ID: WORD_REPEAT_RULE


Near line 110: Možný preklep: zopakovali ste slovo
Context: ...ks HEALTHCHECK healthcheck heartbeating HISTORICALRPC historicalrpc HISTORICALRPCTIMEOUT historicalrpctimeo...
Rule ID: WORD_REPEAT_RULE


Near line 112: Možný preklep: zopakovali ste slovo
Context: ...eartbeating HISTORICALRPC historicalrpc HISTORICALRPCTIMEOUT historicalrpctimeout HOLESKY Holesky holesky IGNOREPRICE ign...
Rule ID: WORD_REPEAT_RULE


Near line 114: Možný preklep: zopakovali ste slovo
Context: ...STORICALRPCTIMEOUT historicalrpctimeout HOLESKY Holesky holesky IGNOREPRICE ignoreprice implici...
Rule ID: WORD_REPEAT_RULE


Near line 117: Možný preklep: zopakovali ste slovo
Context: ...ricalrpctimeout HOLESKY Holesky holesky IGNOREPRICE ignoreprice implicity Inator inator INFLUXDBV influ...
Rule ID: WORD_REPEAT_RULE


Near line 120: Možný preklep: zopakovali ste slovo
Context: ...lesky IGNOREPRICE ignoreprice implicity Inator inator INFLUXDBV influxdbv initcode IPCDISABLE...
Rule ID: WORD_REPEAT_RULE


Near line 122: Možný preklep: zopakovali ste slovo
Context: ...ICE ignoreprice implicity Inator inator INFLUXDBV influxdbv initcode IPCDISABLE ipcdisable ipcfile ...
Rule ID: WORD_REPEAT_RULE


Near line 125: Možný preklep: zopakovali ste slovo
Context: ...tor inator INFLUXDBV influxdbv initcode IPCDISABLE ipcdisable ipcfile IPCPATH ipcpath IPFS JALR JOURN...
Rule ID: WORD_REPEAT_RULE


Near line 128: Možný preklep: zopakovali ste slovo
Context: ... initcode IPCDISABLE ipcdisable ipcfile IPCPATH ipcpath IPFS JALR JOURNALREMOTES journalremotes...
Rule ID: WORD_REPEAT_RULE


Near line 132: Možný preklep: zopakovali ste slovo
Context: ...sable ipcfile IPCPATH ipcpath IPFS JALR JOURNALREMOTES journalremotes JSPATH jspath jwtsecret leveldb lightkd...
Rule ID: WORD_REPEAT_RULE


Near line 134: Možný preklep: zopakovali ste slovo
Context: ...IPFS JALR JOURNALREMOTES journalremotes JSPATH jspath jwtsecret leveldb lightkdf logfile logf...
Rule ID: WORD_REPEAT_RULE


Near line 141: Možný preklep: zopakovali ste slovo
Context: ...tsecret leveldb lightkdf logfile logfmt MAXAGE maxage MAXBACKUPS maxbackups MAXPEERS maxpeers...
Rule ID: WORD_REPEAT_RULE


Near line 143: Možný preklep: zopakovali ste slovo
Context: ...b lightkdf logfile logfmt MAXAGE maxage MAXBACKUPS maxbackups MAXPEERS maxpeers MAXPENDPEERS maxpendp...
Rule ID: WORD_REPEAT_RULE


Near line 145: Možný preklep: zopakovali ste slovo
Context: ...fmt MAXAGE maxage MAXBACKUPS maxbackups MAXPEERS maxpeers MAXPENDPEERS maxpendpeers MAXPRICE maxp...
Rule ID: WORD_REPEAT_RULE


Near line 147: Možný preklep: zopakovali ste slovo
Context: ...MAXBACKUPS maxbackups MAXPEERS maxpeers MAXPENDPEERS maxpendpeers MAXPRICE maxprice MCOPY MEMPROFILERATE ...
Rule ID: WORD_REPEAT_RULE


Near line 149: Možný preklep: zopakovali ste slovo
Context: ...EERS maxpeers MAXPENDPEERS maxpendpeers MAXPRICE maxprice MCOPY MEMPROFILERATE memprofilerate Mer...
Rule ID: WORD_REPEAT_RULE


Near line 152: Možný preklep: zopakovali ste slovo
Context: ...RS maxpendpeers MAXPRICE maxprice MCOPY MEMPROFILERATE memprofilerate Merkle merkle MFHI MFLO MINFREEDISK min...
Rule ID: WORD_REPEAT_RULE


Near line 154: Možný preklep: zopakovali ste slovo
Context: ...ice MCOPY MEMPROFILERATE memprofilerate Merkle merkle MFHI MFLO MINFREEDISK minfreedisk MINSU...
Rule ID: WORD_REPEAT_RULE


Near line 158: Možný preklep: zopakovali ste slovo
Context: ... memprofilerate Merkle merkle MFHI MFLO MINFREEDISK minfreedisk MINSUGGESTEDPRIORITYFEE minsuggestedpri...
Rule ID: WORD_REPEAT_RULE


Near line 160: Možný preklep: zopakovali ste slovo
Context: ...erkle MFHI MFLO MINFREEDISK minfreedisk MINSUGGESTEDPRIORITYFEE minsuggestedpriorityfee Mintable Mintplex MIPSEVM Moralis Mordo...
Rule ID: WORD_REPEAT_RULE


Near line 176: Možný preklep: zopakovali ste slovo
Context: ...LT multiaddr multisigs MULTU nethermind NETRESTRICT netrestrict NETWORKID networkid NEWPAYLOAD newpaylo...
Rule ID: WORD_REPEAT_RULE


Near line 178: Možný preklep: zopakovali ste slovo
Context: ...ULTU nethermind NETRESTRICT netrestrict NETWORKID networkid NEWPAYLOAD newpayload nextra NOCOMPACTI...
Rule ID: WORD_REPEAT_RULE


Near line 180: Možný preklep: zopakovali ste slovo
Context: ...ESTRICT netrestrict NETWORKID networkid NEWPAYLOAD newpayload nextra NOCOMPACTION nocompaction NODEKE...
Rule ID: WORD_REPEAT_RULE


Near line 183: Možný preklep: zopakovali ste slovo
Context: ... networkid NEWPAYLOAD newpayload nextra NOCOMPACTION nocompaction NODEKEY nodekey NODEKEYHEX nodekeyhex n...
Rule ID: WORD_REPEAT_RULE


Near line 185: Možný preklep: zopakovali ste slovo
Context: ...ayload nextra NOCOMPACTION nocompaction NODEKEY nodekey NODEKEYHEX nodekeyhex nodename NODISCOV...
Rule ID: WORD_REPEAT_RULE


Near line 187: Možný preklep: zopakovali ste slovo
Context: ...COMPACTION nocompaction NODEKEY nodekey NODEKEYHEX nodekeyhex nodename NODISCOVER nodiscover NOLOCALS...
Rule ID: WORD_REPEAT_RULE


Near line 190: Možný preklep: zopakovali ste slovo
Context: ... nodekey NODEKEYHEX nodekeyhex nodename NODISCOVER nodiscover NOLOCALS nolocals NOPREFETCH noprefetch...
Rule ID: WORD_REPEAT_RULE


Near line 192: Možný preklep: zopakovali ste slovo
Context: ...dekeyhex nodename NODISCOVER nodiscover NOLOCALS nolocals NOPREFETCH noprefetch NOPRUNING nopruni...
Rule ID: WORD_REPEAT_RULE


Near line 194: Možný preklep: zopakovali ste slovo
Context: ...NODISCOVER nodiscover NOLOCALS nolocals NOPREFETCH noprefetch NOPRUNING nopruning NOSYNCSERVE nosyncs...
Rule ID: WORD_REPEAT_RULE


Near line 196: Možný preklep: zopakovali ste slovo
Context: ...NOLOCALS nolocals NOPREFETCH noprefetch NOPRUNING nopruning NOSYNCSERVE nosyncserve Numba Offchain ...
Rule ID: WORD_REPEAT_RULE


Near line 198: Možný preklep: zopakovali ste slovo
Context: ...PREFETCH noprefetch NOPRUNING nopruning NOSYNCSERVE nosyncserve Numba Offchain offchain oplabs opnode's...
Rule ID: WORD_REPEAT_RULE


Near line 201: Možný preklep: zopakovali ste slovo
Context: ...nopruning NOSYNCSERVE nosyncserve Numba Offchain offchain oplabs opnode's Opti pausable pcscdpath...
Rule ID: WORD_REPEAT_RULE


Near line 208: Možný preklep: zopakovali ste slovo
Context: ...oplabs opnode's Opti pausable pcscdpath Peerstore peerstore peerstores Permissioned permissioned Pe...
Rule ID: WORD_REPEAT_RULE


Near line 211: Možný preklep: zopakovali ste slovo
Context: ...cscdpath Peerstore peerstore peerstores Permissioned permissioned Permissionless permissionless permissio...
Rule ID: WORD_REPEAT_RULE


Near line 213: Možný preklep: zopakovali ste slovo
Context: ...re peerstores Permissioned permissioned Permissionless permissionless permissionlessly Perps personhood Pimli...
Rule ID: WORD_REPEAT_RULE


Near line 221: Možný preklep: zopakovali ste slovo
Context: ...sly Perps personhood Pimlico POAP POAPs PPROF pprof preconfigured predeploy Predeployed pre...
Rule ID: WORD_REPEAT_RULE


Near line 225: Možný preklep: zopakovali ste slovo
Context: ...APs PPROF pprof preconfigured predeploy Predeployed predeployed predeploys Preimage PREIMAGES preimages...
Rule ID: WORD_REPEAT_RULE


Near line 229: Možný preklep: zopakovali ste slovo
Context: ...eployed predeployed predeploys Preimage PREIMAGES preimages Preinstalls preinstalls prestate PRICEB...
Rule ID: WORD_REPEAT_RULE


Near line 231: Možný preklep: zopakovali ste slovo
Context: ...predeploys Preimage PREIMAGES preimages Preinstalls preinstalls prestate PRICEBUMP pricebump PRICELIMIT...
Rule ID: WORD_REPEAT_RULE


Near line 234: Možný preklep: zopakovali ste slovo
Context: ...images Preinstalls preinstalls prestate PRICEBUMP pricebump PRICELIMIT pricelimit productionize pro...
Rule ID: WORD_REPEAT_RULE


Near line 236: Možný preklep: zopakovali ste slovo
Context: ...reinstalls prestate PRICEBUMP pricebump PRICELIMIT pricelimit productionize productionized Protip pro...
Rule ID: WORD_REPEAT_RULE


Near line 243: Možný preklep: zopakovali ste slovo
Context: ...uctionized Protip proxyd pseudorandomly Quicknode quicknode quickstarts RANDAO Regenesis regenesis ...
Rule ID: WORD_REPEAT_RULE


Near line 247: Možný preklep: zopakovali ste slovo
Context: ... Quicknode quicknode quickstarts RANDAO Regenesis regenesis REJOURNAL rejournal REMOTEDB remotedb r...
Rule ID: WORD_REPEAT_RULE


Near line 249: Možný preklep: zopakovali ste slovo
Context: ... quickstarts RANDAO Regenesis regenesis REJOURNAL rejournal REMOTEDB remotedb replayability reprove...
Rule ID: WORD_REPEAT_RULE


Near line 251: Možný preklep: zopakovali ste slovo
Context: ...Regenesis regenesis REJOURNAL rejournal REMOTEDB remotedb replayability reproven REQUIREDBLOCKS r...
Rule ID: WORD_REPEAT_RULE


Near line 255: Možný preklep: zopakovali ste slovo
Context: ...EMOTEDB remotedb replayability reproven REQUIREDBLOCKS requiredblocks Rollups rpckind RPCPREFIX rpcprefix RPG...
Rule ID: WORD_REPEAT_RULE


Near line 259: Možný preklep: zopakovali ste slovo
Context: ...EDBLOCKS requiredblocks Rollups rpckind RPCPREFIX rpcprefix RPGF SELFDESTRUCT seqnr SEQUENCERHTTP s...
Rule ID: WORD_REPEAT_RULE


Near line 264: Možný preklep: zopakovali ste slovo
Context: ...REFIX rpcprefix RPGF SELFDESTRUCT seqnr SEQUENCERHTTP sequencerhttp serv Shapella signup SLLV SLTI SLTIU SL...
Rule ID: WORD_REPEAT_RULE


Near line 280: Možný preklep: zopakovali ste slovo
Context: ...log soulbound soyboy spacebar SRAV SRLV Stablecoins stablecoins subcomponents subheaders SUBU SUPERCHAI...
Rule ID: WORD_REPEAT_RULE


Near line 285: Možný preklep: zopakovali ste slovo
Context: ...ablecoins subcomponents subheaders SUBU SUPERCHAIN Superchain superchain Superchain's Superchains SYN...
Rule ID: WORD_REPEAT_RULE


Near line 287: Možný preklep: zopakovali ste slovo
Context: ...s subheaders SUBU SUPERCHAIN Superchain superchain Superchain's Superchains SYNCMODE syncmode SYNCTAR...
Rule ID: WORD_REPEAT_RULE


Near line 290: Možný preklep: zopakovali ste slovo
Context: ...ain superchain Superchain's Superchains SYNCMODE syncmode SYNCTARGET synctarget syscalls therealb...
Rule ID: WORD_REPEAT_RULE


Near line 292: Možný preklep: zopakovali ste slovo
Context: ...erchain's Superchains SYNCMODE syncmode SYNCTARGET synctarget syscalls therealbytes threadcreate tili...
Rule ID: WORD_REPEAT_RULE


Near line 303: Možný preklep: zopakovali ste slovo
Context: ...ries trustlessly trustrpc TWAP txfeecap TXPOOL txpool undercollateralized Unprotect unsubmitt...
Rule ID: WORD_REPEAT_RULE


Near line 309: Možný preklep: zopakovali ste slovo
Context: ...llateralized Unprotect unsubmitted UPNP VERKLE verkle Vetoable VHOSTS vhosts Viem viem VMDEBU...
Rule ID: WORD_REPEAT_RULE


Near line 312: Možný preklep: zopakovali ste slovo
Context: ...unsubmitted UPNP VERKLE verkle Vetoable VHOSTS vhosts Viem viem VMDEBUG vmdebug VMODULE vmodu...
Rule ID: WORD_REPEAT_RULE


Near line 314: Možný preklep: zopakovali ste slovo
Context: ...NP VERKLE verkle Vetoable VHOSTS vhosts Viem viem VMDEBUG vmdebug VMODULE vmodule wagmi X...
Rule ID: WORD_REPEAT_RULE


Near line 316: Možný preklep: zopakovali ste slovo
Context: ...verkle Vetoable VHOSTS vhosts Viem viem VMDEBUG vmdebug VMODULE vmodule wagmi XORI xtensibility...
Rule ID: WORD_REPEAT_RULE


Near line 318: Možný preklep: zopakovali ste slovo
Context: ...VHOSTS vhosts Viem viem VMDEBUG vmdebug VMODULE vmodule wagmi XORI xtensibility ZKPs ZKVM Zora ...
Rule ID: WORD_REPEAT_RULE


Near line 325: Možný preklep: zopakovali ste slovo
Context: ...odule wagmi XORI xtensibility ZKPs ZKVM Zora zora
Rule ID: WORD_REPEAT_RULE

Path-based Instructions (3)
pages/stack/protocol/features/custom-gas-token.mdx (1)

Pattern **/*.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. Use bold for prominence instead of all caps or italics.
  • Ensure proper nouns are capitalized in sentences.
  • Apply the Oxford comma.
  • Use proper title case for headers, 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).
    "
pages/builders/app-developers/tutorials/standard-bridge-custom-token.mdx (1)

Pattern **/*.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. Use bold for prominence instead of all caps or italics.
  • Ensure proper nouns are capitalized in sentences.
  • Apply the Oxford comma.
  • Use proper title case for headers, 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).
    "
pages/builders/chain-operators/management/custom-gas-token.mdx (1)

Pattern **/*.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. Use bold for prominence instead of all caps or italics.
  • Ensure proper nouns are capitalized in sentences.
  • Apply the Oxford comma.
  • Use proper title case for headers, 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).
    "
Learnings (1)
pages/builders/app-developers/tutorials/standard-bridge-custom-token.mdx (3)
User: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2023-12-01T23:05:12.155Z
Learning: The user has expressed a desire for reviews on `.mdx` files, which are typically used for documentation in Markdown with embedded JSX. This preference should be remembered for future interactions.
User: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2023-12-01T23:09:27.659Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
User: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2023-12-01T23:09:27.659Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Additional comments not posted (3)
words.txt (3)

8-8: Added term "Allocs" to the vocabulary list.


302-302: Added term "TWAP" to the vocabulary list.


306-306: Added term "undercollateralized" to the vocabulary list.


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?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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 as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@K-Ho K-Ho merged commit dcf82d5 into main May 29, 2024
@K-Ho K-Ho deleted the custom-gas-token branch May 29, 2024 21:26
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 8

Outside diff range and nitpick comments (7)
pages/stack/protocol/features/custom-gas-token.mdx (3)

83-83: Consider using a more concise phrase.

"taking into account" could be replaced with "considering" for brevity.


85-85: Consider using a more concise phrase.

"take into account" could be replaced with "consider" for brevity.


93-93: Consider using a more concise phrase.

"exactly the same" could be replaced with "identical" for brevity.

pages/builders/app-developers/tutorials/standard-bridge-custom-token.mdx (4)

Line range hint 16-16: Add a comma for correct punctuation.

- In this tutorial you'll learn
+ In this tutorial, you'll learn

Line range hint 31-31: Consider using a more concise phrase.

"in order to" could be replaced with "to" for brevity.


Line range hint 52-52: Consider using a more concise phrase.

"in order to" could be replaced with "to" for brevity.


Line range hint 122-122: Consider using a more concise phrase.

"exactly" could be replaced with "precisely" for variety.


## Native Gas Tokens

By default, L2 OP Stack chains allow users to deposit ETH from L1 into the L2 chain as native L2 token that can then be used to pay for gas fees.
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider adding an article for clarity.

- as native L2 token
+ as the native L2 token

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.

Suggested change
By default, L2 OP Stack chains allow users to deposit ETH from L1 into the L2 chain as native L2 token that can then be used to pay for gas fees.
By default, L2 OP Stack chains allow users to deposit ETH from L1 into the L2 chain as the native L2 token that can then be used to pay for gas fees.

Chain operators get the following benefits by using custom gas tokens:

* can use an L1 ERC-20 token as the custom gas token for L2 OP Stack chain deployment
* can use an ERC-20 token on an existing L2 OP Stack chain as as the custom gas token for an L3 OP Stack chain deployment
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove duplicate word for correct grammar.

- as as the custom gas token
+ as the custom gas token

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.

Suggested change
* can use an ERC-20 token on an existing L2 OP Stack chain as as the custom gas token for an L3 OP Stack chain deployment
* can use an ERC-20 token on an existing L2 OP Stack chain as the custom gas token for an L3 OP Stack chain deployment


### Do node operators need to do anything?

There are no core changes to `op-geth` or `op-node` so the infrastructure that node operators run is exactly the same as any other OP Stack based chain. The differences are encapsulated in the smart contracts, so only the L1 contract deployments and L2 genesis generation need to be done in a particular way.
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a hyphen for correct spelling.

- OP Stack based chain
+ OP Stack-based chain

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.

Suggested change
There are no core changes to `op-geth` or `op-node` so the infrastructure that node operators run is exactly the same as any other OP Stack based chain. The differences are encapsulated in the smart contracts, so only the L1 contract deployments and L2 genesis generation need to be done in a particular way.
There are no core changes to `op-geth` or `op-node` so the infrastructure that node operators run is exactly the same as any other OP Stack-based chain. The differences are encapsulated in the smart contracts, so only the L1 contract deployments and L2 genesis generation need to be done in a particular way.

Be sure to check out this tag or you will not deploy a chain that uses custom gas token!
</Callout>

* Update the deploy config in `contracts-bedrock/deploy-config` with new fields: `useCustomGasToken` and `customGasTokenAddress`
Copy link
Contributor

Choose a reason for hiding this comment

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

Clarify the term usage.

- Update the deploy config
+ Update the deployment config

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.

Suggested change
* Update the deploy config in `contracts-bedrock/deploy-config` with new fields: `useCustomGasToken` and `customGasTokenAddress`
* Update the deployment config in `contracts-bedrock/deploy-config` with new fields: `useCustomGasToken` and `customGasTokenAddress`

</Callout>

This guide provides a walkthrough for chain operators who want to run a custom gas token chain. See the [Custom Gas Token Explainer](/stack/protocol/features/custom-gas-token) for a general overview of this OP Stack feature.
An OP Stack chain that uses the custom gas token feature enables an end user to deposit an L1 native ERC20 token into L2 where that asset is minted as the native L2 asset and can be used to pay for gas on L2.
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a comma for correct punctuation.

- an L1 native ERC20 token into L2 where
+ an L1 native ERC20 token into L2, where

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.

Suggested change
An OP Stack chain that uses the custom gas token feature enables an end user to deposit an L1 native ERC20 token into L2 where that asset is minted as the native L2 asset and can be used to pay for gas on L2.
An OP Stack chain that uses the custom gas token feature enables an end user to deposit an L1 native ERC20 token into L2, where that asset is minted as the native L2 asset and can be used to pay for gas on L2.

```

* `DEPLOYMENT_OUTFILE` is the path to the file at which the L1 contract deployment artifacts are written to after deployment. Foundry has filesystem restrictions for security, so make this file a child of the `deployments` directory. This file will contain key/value pairs of the names and addresses of the deployed contracts.
* `DEPLOY_CONFIG_PATH` is the path to the file for the deploy config used to deploy
Copy link
Contributor

Choose a reason for hiding this comment

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

Clarify the term usage.

- the deploy config used to deploy
+ the deployment config used to deploy

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.

Suggested change
* `DEPLOY_CONFIG_PATH` is the path to the file for the deploy config used to deploy
* `DEPLOY_CONFIG_PATH` is the path to the file for the deployment config used to deploy


* You have the L1 contracts artifact, specified with `DEPLOYMENT_OUTFILE`
* `CONTRACT_ADDRESSES_PATH` is the path to the deployment artifact from deploying the L1 contracts in the first step, aka `DEPLOYMENT_OUTFILE`
* `DEPLOY_CONFIG_PATH` is the path to the file for the deploy config used to deploy
Copy link
Contributor

Choose a reason for hiding this comment

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

Clarify the term usage.

- the deploy config used to deploy
+ the deployment config used to deploy

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.

Suggested change
* `DEPLOY_CONFIG_PATH` is the path to the file for the deploy config used to deploy
* `DEPLOY_CONFIG_PATH` is the path to the file for the deployment config used to deploy

<Steps>
### Deploying Your Contracts

* Checkout the [`v2.0.0-beta.1` of the contracts](https://github.com/ethereum-optimism/optimism/tree/op-contracts/v2.0.0-beta.1) and use the commit to deploy.
Copy link
Contributor

Choose a reason for hiding this comment

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

Clarify the sentence structure.

- Checkout the [`v2.0.0-beta.1` of the contracts](https://github.com/ethereum-optimism/optimism/tree/op-contracts/v2.0.0-beta.1) and use the commit to deploy.
+ Check out the [`v2.0.0-beta.1` of the contracts](https://github.com/ethereum-optimism/optimism/tree/op-contracts/v2.0.0-beta.1) and use the commit to deploy.

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.

Suggested change
* Checkout the [`v2.0.0-beta.1` of the contracts](https://github.com/ethereum-optimism/optimism/tree/op-contracts/v2.0.0-beta.1) and use the commit to deploy.
* Check out the [`v2.0.0-beta.1` of the contracts](https://github.com/ethereum-optimism/optimism/tree/op-contracts/v2.0.0-beta.1) and use the commit to deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants