Skip to content

Commit 0b8736c

Browse files
committed
fix merge conflict
2 parents 1dc12fb + 183d2c5 commit 0b8736c

File tree

9 files changed

+72
-77
lines changed

9 files changed

+72
-77
lines changed

pages/app-developers/starter-kit.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Here's a breakdown of what's under the hood:
4343
Next, you need to clone and navigate to the repo:
4444

4545
```sh
46-
git clone git@github.com:ethereum-optimism/superchainerc20-starter.git
46+
git clone https://github.com/ethereum-optimism/superchainerc20-starter.git
4747
cd superchainerc20-starter
4848
```
4949

@@ -72,6 +72,14 @@ Here's a breakdown of what's under the hood:
7272
```sh
7373
pnpm dev
7474
```
75+
76+
<details>
77+
78+
<summary>Sanity check</summary>
79+
80+
Browse to [the console](http://localhost:5173/), mint some tokens and transfer them.
81+
82+
</details>
7583
</Steps>
7684

7785
## Deploy SuperchainERC20s

pages/app-developers/tools/connect/rpc-providers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ GetBlock offers Pay-as-You-Go flexible pricing based on actual usage, suitable f
126126

127127
### Description and pricing
128128

129-
[QuickNode](https://www.quicknode.com/) offers access to hosted OP Mainnet (and testnet) nodes for free.
129+
[QuickNode](https://www.quicknode.com/chains/optimism) offers access to hosted OP Mainnet (and testnet) nodes for free.
130130
With the option to upgrade to a premium plan for additional features, we allow you to focus solely on optimizing your application while we manage the complex infrastructure.
131131

132132
### Supported networks

pages/app-developers/tutorials/bridging/standard-bridge-standard-token.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Set your L1 ERC-20 token address as an environment variable with the `export` co
8383

8484
{<h3>Deploy your L2 ERC-20 token</h3>}
8585

86-
You can now deploy our L2 ERC-20 token using the [`OptimismMintableERC20Factory`](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/universal/OptimismMintableERC20Factory.sol).
86+
You can now deploy your L2 ERC-20 token using the [`OptimismMintableERC20Factory`](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/universal/OptimismMintableERC20Factory.sol).
8787
Use the `cast` command to trigger the deployment function on the factory contract.
8888
This example command creates a token with the name "My Standard Demo Token" and the symbol "L2TKN".
8989
The resulting L2 ERC-20 token address is printed to the console.

pages/connect/contribute/stack-contribute.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To make your first contribution to the codebase, check out the [open issues](htt
2929

3030
<Callout type="warning">
3131
Only the software components included within the current release of the OP Stack codebase are considered in the scope of the OP Stack.
32-
Any usage of the OP Stack outside of the official, intended capabilities of the current release are considered [OP Stack Hacks](https://github.com/ethereum-optimism/developers/tree/main/hacks) — unofficial modifications that are useful for experimentation but could have unforeseen results, such as security vulnerabilities, and are likely to cause your chain to no longer be interoperable with the [Optimism Superchain](https://app.optimism.io/superchain/).
32+
Any usage of the OP Stack outside of the official, intended capabilities of the current release is considered [OP Stack Hacks](https://github.com/ethereum-optimism/developers/tree/main/hacks) — unofficial modifications that are useful for experimentation but could have unforeseen results, such as security vulnerabilities, and are likely to cause your chain to no longer be interoperable with the [Optimism Superchain](https://app.optimism.io/superchain/).
3333
Developer support for OP Stack Hacks is limited — when in doubt, stick to the capabilities of the current release!
3434
</Callout>
3535

pages/notices/holocene-changes.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ If you experience difficulty at any stage of this process, please reach out to [
2323
The Holocene upgrade for the Mainnet Superchain is scheduled for **Thu 9 Jan 2025 18:00:01 UTC**, [governance approval](https://vote.optimism.io/proposals/20127877429053636874064552098716749508236019236440427814457915785398876262515).
2424

2525
The Holocene upgrade for the Soneium Mainnet will be activated at **Mon Feb 03 at 09:00:00 UTC** (`1738573200`).
26-
The Holocene upgrade for the Mainnet Superchain is scheduled for **Thu 9 Jan 2025 18:00:01 UTC**, [governance approval](https://vote.optimism.io/proposals/20127877429053636874064552098716749508236019236440427814457915785398876262515).
2726
</Callout>
2827

2928
## What's included in Holocene

pages/notices/pectra-changes.mdx

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ Pectra contains a variety of EIPs, some of which apply to the OP Stack; others d
4444

4545
Node operators will need to upgrade to the respective releases before the activation dates.These following steps are necessary for every node operator:
4646

47-
4847
### Update to the latest release
4948

5049
<Callout type="warning">
@@ -53,42 +52,49 @@ Node operators will need to upgrade to the respective releases before the activa
5352

5453
* `op-node` at [`v1.11.0`](https://github.com/ethereum-optimism/optimism/releases/tag/op-node%2Fv1.11.0)
5554
* `op-geth` at [`v1.101500.0`](https://github.com/ethereum-optimism/op-geth/releases/tag/v1.101500.0)
56-
* `op-batcher` at [`v1.11.1`](https://github.com/ethereum-optimism/optimism/releases/tag/op-batcher%2Fv1.11.1)
5755
* `op-reth` at [`v1.1.5`](https://github.com/paradigmxyz/reth/releases/tag/v1.1.5) also includes L1 Pectra support.
5856

5957
## For chain operators
6058

61-
The following sections are how chain operators can prepare the first part of the OP Stack's Pectra L1 support. This ensures OP Stack chains do not break when the L1 Pectra upgrade activates.
59+
The following sections are how chain operators can prepare the first part of the OP Stack's Pectra L1 support. This ensures OP Stack chains do not break when the L1 Pectra upgrade activates. Every chain operator will need to:
60+
61+
<Steps>
62+
63+
### Update your node binaries
64+
65+
Follow the guidance outlined in the [Node Operator section](#update-to-the-latest-release) to update your nodes to the latest releases.
66+
67+
### Update your batcher
68+
69+
Then update your batcher to [`op-batcher/v1.11.1`](https://github.com/ethereum-optimism/optimism/releases/tag/op-batcher%2Fv1.11.1).
70+
71+
</Steps>
6272

63-
Every chain operator will need to first follow the guidance outlined in the [Node Operator section](#update-to-the-latest-release) to update your nodes to the latest releases.
6473

6574
## For fault proof enabled chains
6675

6776
<Callout type="info">
6877
The following instructions assume your chain is on the latest contract release `op-contracts/v1.8.0` and have Holocene activated.
6978
</Callout>
70-
71-
The following steps are to update your absolute prestate on your chain. **This is absolutely necessary for chains running permissionless fault proofs.** For chains running the Fault Proof System with permissioned games you can skip this section because games will not be played out and the absolute prestate is not used.
79+
80+
The following steps are to update your absolute prestate with new dispute game contracts. **This is absolutely necessary for chains running permissionless fault proofs.** For chains running the Fault Proof System with permissioned games you can skip this section because games will not be played out and the absolute prestate is not used.
7281

7382
The Pectra upgrade changes the derivation rules, permissionless fault proof chains need to upgrade the `op-program` version used in the fault proof system to support these changes. The `op-program` version used is specified via the `faultGameAbsolutePrestate` setting, deployed as part of `FaultDisputeGame` and `PermissionedDisputeGame` contracts.
7483

7584
<Steps>
76-
### Make sure the Superchain Registry is up to date
7785

78-
The new `op-program` release will pull the configurations from the [superchain-registry](https://github.com/ethereum-optimism/superchain-registry). This is important because the op-challenger uses the `op-program` and it needs to be aware of your chain's configuration. If your chain that not in the superchain-registry, please [open a PR to add your chain to the superchain-registry](https://github.com/ethereum-optimism/superchain-registry/blob/main/docs/ops.md#adding-a-chain).
86+
### Update your `op-challenger`
7987

80-
### Verify the new absolute prestate
88+
Update your `op-challenger` binary to [`op-challenger/v1.3.1`](https://github.com/ethereum-optimism/optimism/releases/tag/op-challenger%2Fv1.3.1).
8189

82-
<Callout type="info">
83-
The following is based on the [op-program/v1.5.0-rc.2](https://github.com/ethereum-optimism/optimism/tree/op-program/v1.5.0-rc.2) which will be included in the `op-challenger` release.
84-
</Callout>
90+
### Verify the new absolute prestate
8591

86-
You can use this new absolute prestate (`0x035ac388b5cb22acf52a2063cfde108d09b1888655d21f02f595f9c3ea6cbdcd`) for the following chains:
92+
The absolute prestate is generated with the [op-program/v1.5.0-rc.2](https://github.com/ethereum-optimism/optimism/tree/op-program/v1.5.0-rc.2). You can use this new absolute prestate (`0x035ac388b5cb22acf52a2063cfde108d09b1888655d21f02f595f9c3ea6cbdcd`) for the following chains:
8793

8894
* Sepolia: Base, OP, Metal, Mode, Zora, Ethernity, Unichain, Ink
8995
* Mainnet: Base, OP, Orderly, Lyra, Metal, Mode, Zora, Lisk, Ethernity, Binary, Ink, Unichain
9096

91-
You can verify this absolute prestate by running the following [command](https://github.com/ethereum-optimism/optimism/blob/3f18df1c8a502136bbe33f10ed1e29a26cd4678a/Makefile#L129-L131) in the root of the monorepo:
97+
You can verify this absolute prestate by running the following [command](https://github.com/ethereum-optimism/optimism/blob/3f18df1c8a502136bbe33f10ed1e29a26cd4678a/Makefile#L129-L131) in the root of the monorepo on the `op-program/v1.5.0-rc.2` tag:
9298

9399
```shell
94100
make reproducible-prestate
@@ -105,6 +111,12 @@ The Pectra upgrade changes the derivation rules, permissionless fault proof chai
105111
0x0379d61de1833af6766f07b4ed931d85b3f6282508bbcbf9f4637398d97b61c1
106112
```
107113

114+
### Upload your new preimage file
115+
116+
During the previous step, you also generated the preimage of the absolute prestate, which is basically the op-program serialized into a binary file. You'll find that new file at `optimism/op-program/bin/prestate.bin.gz`. Rename that file to have the absolute prestate hash as the filename so it looks like `0x035ac388b5cb22acf52a2063cfde108d09b1888655d21f02f595f9c3ea6cbdcd.bin.gz`.
117+
118+
Upload that file to where you're storing your other absolute preimage files. This should be the location where you're pointing your `--cannon-prestates-url` at. The `op-challenger` will grab this file and use it when it needs to challenge games.
119+
108120
### Deploy new dispute game contracts
109121

110122
You will then take the absolute prestate and deploy new `FaultDisputeGame` and `PermissionedDisputeGame` contracts with that value. You can reuse the [Holocene script](https://github.com/ethereum-optimism/optimism/tree/op-contracts/v1.8.0-rc.4/packages/contracts-bedrock/scripts/upgrades/holocene) to deploy the new contracts. The only change you will need to make is to update the `absolutePrestate` value in your [deploy-config](https://github.com/ethereum-optimism/optimism/blob/2073f4059bd806af3e8b76b820aa3fa0b42016d0/packages/contracts-bedrock/scripts/upgrades/holocene/README.md?plain=1#L53-L54). Alternatively we will be releasing an `OPPrestateUpdater` that can be used to deploy the new contracts.
@@ -113,13 +125,9 @@ The Pectra upgrade changes the derivation rules, permissionless fault proof chai
113125

114126
You will then need to update the `DisputeGameFactory` to point to the new `FaultDisputeGame` and `PermissionedDisputeGame` contracts by calling `DisputeGameFactory.setImplementation`. You can utilize this [template](https://github.com/ethereum-optimism/superchain-ops/tree/main/tasks/sep/fp-recovery/005-set-game-implementation) to generate the transaction and validation script for this step. Before executing, you will need to update your op-challenger.
115127

116-
### Update your op-challenger
117-
118-
Update your `op-challenger` to the new release version that will be provided soon and configure it to use the new absolute prestate.
119-
120128
### Execute the upgrade
121129

122-
Once your challenger is ready, you can execute the "Set Dispute Game Implementation" transaction. Please simulate and validate that the expected output prior to executing the transaction.
130+
Once your `op-challenger` is ready with the new preimage, you can execute the "Set Dispute Game Implementation" transaction. Please simulate and validate that the expected output prior to executing the transaction.
123131
</Steps>
124132

125133
## For OP Stack forks

pages/operators/chain-operators/deploy/genesis.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Once you have `genesis.json` and `rollup.json`:
8080
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network.
8181
You can also use the following inspect subcommands to get additional data:
8282

83-
````bash
83+
```bash
8484
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id> # outputs all L1 contract addresses for an L2 chain
8585
./bin/op-deployer inspect deploy-config --workdir .deployer <l2-chain-id> # outputs the deploy config for an L2 chain
8686
```
@@ -98,7 +98,7 @@ provided to the consensus client (op-node).
9898
</Callout>
9999

100100

101-
## Solidity script (Legacy)
101+
### Solidity script (Legacy)
102102

103103
You can also use the foundry script
104104
located in the monorepo to generate an "L2 state dump" and then pass this into the op-node genesis subcommand.

pages/stack/interop/tutorials/event-reads.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This contract relies on a **CREATE2** deployment to ensure a consistent address
3434
<Steps>
3535
### Intent to play
3636

37-
A game is uniquely identified by the chain it was started from with a unqiue nonce. This identifier is included in all event fields such that each player can uniquely reference it locally.
37+
A game is uniquely identified by the chain it was started from with a unique nonce. This identifier is included in all event fields such that each player can uniquely reference it locally.
3838

3939
To start a game, a player invokes `newGame` which broadcasts a `NewGame` event that any opponent **on any chain** can react to.
4040

@@ -86,7 +86,7 @@ This contract relies on a **CREATE2** deployment to ensure a consistent address
8686

8787
### Starting the game
8888

89-
As `AcceptedGame` events are emmited, the player must pick one opponent to play. The opponent's `AcceptedGame` event is used to instantiate the game and play the starting move via the `MovePlayed` event.
89+
As `AcceptedGame` events are emitted, the player must pick one opponent to play. The opponent's `AcceptedGame` event is used to instantiate the game and play the starting move via the `MovePlayed` event.
9090

9191
```solidity
9292
event MovePlayed(uint256 chainId, uint256 gameId, address player, uint8 _x, uint8 _y);
@@ -103,7 +103,7 @@ This contract relies on a **CREATE2** deployment to ensure a consistent address
103103
emit MovePlayed(chainId, gameId, game.player, _x, _y);
104104
```
105105

106-
The event fields contain the information required to perform the neccessary validation.
106+
The event fields contain the information required to perform the necessary validation.
107107

108108
* The game identifier for lookup
109109
* The caller is the appropriate player

0 commit comments

Comments
 (0)