Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/stack/design-principles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ Extensibility is a key design principle that unlocks the superpower of collabora

The OP Stack is a decentralized software stack that anyone can contribute to.
If you're interested in contributing to the OP Stack, check out [the Contributing section on our Community pages](https://community.optimism.io).
Of course, software that has impact for the Optimism Collective is eligible to receive [Retroactive Public Goods Funding](https://app.optimism.io/retropgf). Build for the OP Stack — get rewarded for writing great open source software. What's not to love?
Of course, software that has an impact for the Optimism Collective is eligible to receive [Retroactive Public Goods Funding](https://app.optimism.io/retropgf). Build for the OP Stack — get rewarded for writing great open source software. What's not to love?
2 changes: 1 addition & 1 deletion pages/stack/dev-net.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ cast send "<standard bridge address>" --private-key bcdf20249abf0ed6d944c0288fad
--value "<amount in ETH>ether" --rpc-url "http://127.0.0.1:<rpc port of el-1-geth-teku service>"
```

The output should looks like below:
The output should look like below:


```
Expand Down
4 changes: 2 additions & 2 deletions pages/stack/transactions/deposit-flow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ However, the L2 processing of the transaction is performed by the Optimism nodes
If there were no cost attached, an attacker could submit a transaction that had high execution costs on L2, and that way perform a denial of service attack.

To avoid this DoS vector, [`depositTransaction`](https://github.com/ethereum-optimism/optimism/blob/62c7f3b05a70027b30054d4c8974f44000606fb7/packages/contracts-bedrock/contracts/L1/OptimismPortal.sol#L422-L483), and the functions that call it, require a gas limit parameter.
[This gas limit is encoded into the \[\]`TransactionDeposited` event](https://github.com/ethereum-optimism/optimism/blob/62c7f3b05a70027b30054d4c8974f44000606fb7/packages/contracts-bedrock/contracts/L1/OptimismPortal.sol#L469-L477), and used as the gas limit for the user deposit transaction on L2.
[This gas limit is encoded into the `TransactionDeposited` event](https://github.com/ethereum-optimism/optimism/blob/62c7f3b05a70027b30054d4c8974f44000606fb7/packages/contracts-bedrock/contracts/L1/OptimismPortal.sol#L469-L477), and used as the gas limit for the user deposit transaction on L2.

This L2 gas is paid for by burning L1 gas [here](https://github.com/ethereum-optimism/optimism/blob/62c7f3b05a70027b30054d4c8974f44000606fb7/packages/contracts-bedrock/contracts/L1/ResourceMetering.sol#L162).

## Replaying messages

Deposits transactions can fail due to several reasons:
Deposit transactions can fail due to several reasons:

* Not enough gas provided.
* The state on L2 does not allow the transaction to be successful.
Expand Down
2 changes: 1 addition & 1 deletion pages/stack/transactions/fees.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Read more about the base fee in the [Ethereum.org documentation](https://ethereu
Just like on Ethereum, OP Mainnet transactions can specify a **priority fee**.
This priority fee is a price per unit of gas that is paid on top of the base fee.
For example, if the block base fee is 1 gwei and the transaction specifies a priority fee of 1 gwei, the total price per unit of gas is 2 gwei.
The priority fee(i.e. tip) is an optional component of the execution gas fee and can technically be set to 0.
The priority fee (i.e. tip) is an optional component of the execution gas fee and can technically be set to 0.
However, while EIP-1559 does not define a minimum priority fee, certain wallets and mempool implementations (like Geth) may enforce a minimum value. For instance, Geth typically defaults to a minimum priority fee of 1 gwei, but this can be configured to other values.

**The OP Mainnet sequencer will prioritize transactions with a higher priority fee** and execute them before any transactions with a lower priority fee.
Expand Down
2 changes: 1 addition & 1 deletion pages/superchain/superchain-registry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This configuration targets the Optimism Collective's highest bar for security, u
You can find more details in the [Standard Rollup Charter documentation](/superchain/blockspace-charter).

<Callout type="info">
We **strongly** recommend using the [op-deployer](/operators/chain-operators/tools/op-deployer) to deploy L1 contracts and generate the L2 genesis file that meet the configuration requirements outlined in the [Standard Rollup Charter](/superchain/blockspace-charter).
We **strongly** recommend using the [op-deployer](/operators/chain-operators/tools/op-deployer) to deploy L1 contracts and generate the L2 genesis file that meets the configuration requirements outlined in the [Standard Rollup Charter](/superchain/blockspace-charter).
</Callout>

## Joining the Registry
Expand Down