Skip to content

Commit

Permalink
fix(wallet-guide, wallet-dev): Change "network" to "chain"
Browse files Browse the repository at this point in the history
  • Loading branch information
qbzzt committed Jun 28, 2023
1 parent cae224a commit 35f6dcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/docs/developers/bedrock/wallet-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ If not, use [`eth_getBlockByNumber`](https://docs.alchemy.com/reference/eth-getb

## Transaction fees

In OP Mainnet (and most other OP Stack networks) transaction fees include both an [L1 data fee](../build/transaction-fees.md#estimating-the-l1-data-fee) and an [L2 execution fee](../build/transaction-fees.md#the-l2-execution-fee).
In OP Mainnet (and most other OP Stack chain) transaction fees include both an [L1 data fee](../build/transaction-fees.md#estimating-the-l1-data-fee) and an [L2 execution fee](../build/transaction-fees.md#the-l2-execution-fee).
To display the entire estimated cost of a transaction to your users we recommend you [use the SDK](https://github.com/ethereum-optimism/optimism-tutorial/tree/main/sdk-estimate-gas).

In Bedrock we support [EIP 1559](https://eips.ethereum.org/EIPS/eip-1559).
Expand All @@ -46,7 +46,7 @@ Therefore, the L2 execution fee is composed of two components: a fixed (per-bloc

### Base fee

[The EIP 1559 parameters](./differences.md#eip-1559) have different values in OP Mainnet (and most other OP Stack networks) than those on L1 Ethereum.
[The EIP 1559 parameters](./differences.md#eip-1559) have different values in OP Mainnet (and most other OP Stack chain) than those on L1 Ethereum.
As a result, in every block the base fee can be between 98% and 110% of the previous value.
As blocks are produced every two seconds, the base fee can be between 54% and 1,745% of the value a minute earlier.
If it takes the user fourteen seconds to approve the transaction in the wallet, the base fee can almost double in that time.
Expand Down
6 changes: 3 additions & 3 deletions src/docs/guides/wallet-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lang: en-US

## Overview

This guide is intended for wallet developers who want to give their users the ability to send transactions on OP Mainnet (most other OP Stack networks behave similarly).
This guide is intended for wallet developers who want to give their users the ability to send transactions on OP Mainnet (most other OP Stack chains behave similarly).
OP Mainnet generally behaves like any other EVM-based chain with the exception of minor discrepancies related to [transaction fees](#transaction-fees).
These fee discrepancies are an inherent result of the fact that OP Mainnet is a Layer 2 blockchain network that must publish transaction data to Ethereum.

Expand Down Expand Up @@ -50,7 +50,7 @@ Transactions are considered "Sequencer Confirmed" as soon as their transaction r

In OP Mainnet transaction fees include both an [L1 data fee](../developers/build/transaction-fees.md#estimating-the-l1-data-fee) and an [L2 execution fee](../developers/build/transaction-fees.md#the-l2-execution-fee).
To display the entire estimated cost of a transaction to your users we recommend you [use the SDK](https://github.com/ethereum-optimism/optimism-tutorial/tree/main/sdk-estimate-gas).
We **highly recommend** displaying fees on OP Mainnet (and any other OP Stack that uses the same mechanism) as one unified fee to minimize user confusion.
We **highly recommend** displaying fees on OP Mainnet (and any other OP Stack chain that uses the same mechanism) as one unified fee to minimize user confusion.


In Bedrock we support [EIP 1559](https://eips.ethereum.org/EIPS/eip-1559).
Expand All @@ -59,7 +59,7 @@ Therefore, the L2 execution fee is composed of two components: a fixed (per-bloc

### Base fee

[The EIP 1559 parameters](../developers/bedrock/differences.md#eip-1559) have different values in OP Mainnet (and many other OP Stack networks) than those on L1 Ethereum.
[The EIP 1559 parameters](../developers/bedrock/differences.md#eip-1559) have different values in OP Mainnet (and many other OP Stack chains) than those on L1 Ethereum.
As a result, in every block the base fee can be between 98% and 110% of the previous value.
As blocks are produced every two seconds, the base fee can be between 54% and 1,745% of the value a minute earlier.
If it takes the user fourteen seconds to approve the transaction in the wallet, the base fee can almost double in that time.
Expand Down

0 comments on commit 35f6dcd

Please sign in to comment.