Skip to content

Commit e923811

Browse files
authored
Merge pull request #1393 from ethereum-optimism/fix-main-lint
Fix broken lint
2 parents 0c2cf26 + 54b7e7b commit e923811

File tree

4 files changed

+105
-106
lines changed

4 files changed

+105
-106
lines changed

pages/app-developers/tools/build/faucets.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ The Superchain Faucet is a great place to start if you're looking for testnet ET
2929

3030
## Additional faucets
3131

32-
| Faucet Name | Supported Networks |
33-
|--------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
34-
| [Alchemy Faucet](https://sepoliafaucet.com) | Sepolia |
35-
| [Infura Faucet](https://www.infura.io/faucet/sepolia) | Sepolia |
36-
| [QuickNode Faucet](https://faucet.quicknode.com/optimism/) | Sepolia, OP Sepolia |
37-
| [Farcaster Frame Faucet by LearnWeb3](https://warpcast.com/haardikkk/0x28f4237d) | Sepolia, OP Sepolia |
38-
| [LearnWeb3 Web App Faucet](https://learnweb3.io/faucets) | Sepolia, OP Sepolia |
39-
| [Native USDC Faucet](https://faucet.circle.com/) | Sepolia, OP Sepolia |
40-
| [ETHGlobal Testnet Faucet](https://ethglobal.com/faucet) | Sepolia, OP Sepolia, Base Sepolia, Zora Sepolia, Holesky |
41-
| [Ethereum Ecosystem Faucets](https://www.ethereum-ecosystem.com/faucets) | Sepolia, OP Sepolia, Base Sepolia |
42-
| [thirdweb Sepolia Faucet](https://thirdweb.com/sepolia?utm_source=opdocs\&utm_medium=docs) | Sepolia |
43-
| [thirdweb OP Sepolia Faucet](https://thirdweb.com/op-sepolia-testnet?utm_source=opdocs\&utm_medium=docs) | OP Sepolia |
44-
| [Tenderly Unlimited Faucet](https://docs.tenderly.co/virtual-testnets/unlimited-faucet?mtm_campaign=ext-docs&mtm_kwd=optimism) | OP Sepolia, OP Mainnet, and [85+ other networks](https://docs.tenderly.co/supported-networks?mtm_campaign=ext-docs&mtm_kwd=optimism) |
32+
| Faucet Name | Supported Networks |
33+
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
34+
| [Alchemy Faucet](https://sepoliafaucet.com) | Sepolia |
35+
| [Infura Faucet](https://www.infura.io/faucet/sepolia) | Sepolia |
36+
| [QuickNode Faucet](https://faucet.quicknode.com/optimism/) | Sepolia, OP Sepolia |
37+
| [Farcaster Frame Faucet by LearnWeb3](https://warpcast.com/haardikkk/0x28f4237d) | Sepolia, OP Sepolia |
38+
| [LearnWeb3 Web App Faucet](https://learnweb3.io/faucets) | Sepolia, OP Sepolia |
39+
| [Native USDC Faucet](https://faucet.circle.com/) | Sepolia, OP Sepolia |
40+
| [ETHGlobal Testnet Faucet](https://ethglobal.com/faucet) | Sepolia, OP Sepolia, Base Sepolia, Zora Sepolia, Holesky |
41+
| [Ethereum Ecosystem Faucets](https://www.ethereum-ecosystem.com/faucets) | Sepolia, OP Sepolia, Base Sepolia |
42+
| [thirdweb Sepolia Faucet](https://thirdweb.com/sepolia?utm_source=opdocs\&utm_medium=docs) | Sepolia |
43+
| [thirdweb OP Sepolia Faucet](https://thirdweb.com/op-sepolia-testnet?utm_source=opdocs\&utm_medium=docs) | OP Sepolia |
44+
| [Tenderly Unlimited Faucet](https://docs.tenderly.co/virtual-testnets/unlimited-faucet?mtm_campaign=ext-docs\&mtm_kwd=optimism) | OP Sepolia, OP Mainnet, and [85+ other networks](https://docs.tenderly.co/supported-networks?mtm_campaign=ext-docs\&mtm_kwd=optimism) |
4545

4646
## Bridge from Sepolia
4747

pages/app-developers/transactions/parameters.mdx

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,27 @@ Note that, like Ethereum, the base fee is not explicitly defined within a transa
2828
Instead, the maximum base fee is determined as the difference between the `maxFeePerGas` and the `maxPriorityFeePerGas` fields of any given transaction.
2929

3030
<Steps>
31+
{<h3>Retrieve the latest block</h3>}
3132

32-
{<h3>Retrieve the latest block</h3>}
33+
Using the JSON-RPC API or your favorite Ethereum library, retrieve the latest block on OP Mainnet.
3334

34-
Using the JSON-RPC API or your favorite Ethereum library, retrieve the latest block on OP Mainnet.
35+
{<h3>Retrieve the base fee and gas used</h3>}
3536

36-
{<h3>Retrieve the base fee and gas used</h3>}
37+
From the block, retrieve the `baseFeePerGas` and `gasUsed` fields.
3738

38-
From the block, retrieve the `baseFeePerGas` and `gasUsed` fields.
39+
{<h3>Predict the next base fee</h3>}
3940

40-
{<h3>Predict the next base fee</h3>}
41+
OP Mainnet adjusts the base fee based on the amount of gas used in the previous block.
42+
If the previous block used more than 5m gas (of the 30m gas limit), then the base fee will increase by up to 10%.
43+
If the previous block used less than 5m gas, then the base fee will decrease by up to 10%.
44+
Refer to the [OP Mainnet EIP-1559 Parameters](/stack/differences#eip-1559-parameters) section for more details.
4145

42-
OP Mainnet adjusts the base fee based on the amount of gas used in the previous block.
43-
If the previous block used more than 5m gas (of the 30m gas limit), then the base fee will increase by up to 10%.
44-
If the previous block used less than 5m gas, then the base fee will decrease by up to 10%.
45-
Refer to the [OP Mainnet EIP-1559 Parameters](/stack/differences#eip-1559-parameters) section for more details.
46-
47-
{<h3>Select a base fee per gas</h3>}
48-
49-
Using the current base fee per gas and the amount of gas used in the previous block, you can predict the next base fee per gas.
50-
If you are highly sensitive to the base fee, you may want to select a base fee per gas that is either 10% higher or 10% lower than the previous base fee.
51-
However, you may run the risk that your transaction will not be included in a block quickly.
52-
If you are less sensitive to the base fee, you may wish to simply use a large multiple of the previous base fee (e.g. 2x).
46+
{<h3>Select a base fee per gas</h3>}
5347

48+
Using the current base fee per gas and the amount of gas used in the previous block, you can predict the next base fee per gas.
49+
If you are highly sensitive to the base fee, you may want to select a base fee per gas that is either 10% higher or 10% lower than the previous base fee.
50+
However, you may run the risk that your transaction will not be included in a block quickly.
51+
If you are less sensitive to the base fee, you may wish to simply use a large multiple of the previous base fee (e.g. 2x).
5452
</Steps>
5553

5654
## Selecting the priority fee
@@ -63,4 +61,4 @@ Many Ethereum libraries will provide a function to call this JSON-RPC method.
6361
You can also use the [`eth_feeHistory`](https://docs.alchemy.com/reference/eth-feehistory) JSON-RPC method to retrieve historical priority fee data.
6462
You can then use this data to predict a reasonable priority fee for your transaction.
6563

66-
Alternatively, you can rely on Tenderly's [`tenderly_gasPrice`](https://docs.tenderly.co/node/rpc-reference/optimism-mainnet/tenderly_gasPrice?mtm_campaign=ext-docs&mtm_kwd=optimism) to get real-time gas predictions with 3 levels of likelihood for transaction inclusion.
64+
Alternatively, you can rely on Tenderly's [`tenderly_gasPrice`](https://docs.tenderly.co/node/rpc-reference/optimism-mainnet/tenderly_gasPrice?mtm_campaign=ext-docs\&mtm_kwd=optimism) to get real-time gas predictions with 3 levels of likelihood for transaction inclusion.

pages/stack/interop/message-passing.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ sequenceDiagram
4949
* `_destination`: The chain ID of the destination blockchain.
5050
* `_target`: The address of the contract on that blockchain.
5151
* `_message`: The actual message.
52-
This message is provided to `_target` as calldata, which means it includes a function selector and the parameters for that function call.
52+
53+
This message is provided to `_target` as calldata, which means it includes a function selector and the parameters for that function call.
5354

5455
3. `L2ToL2CrossDomainMessenger` on the source chain verifies the message is legitimate:
5556
* The destination chain is one to which this chain can send messages.
@@ -98,7 +99,8 @@ sequenceDiagram
9899
* The destination chain ID is correct.
99100
* The target is neither `CrossL2Inbox` nor `L2ToL2CrossDomainMessenger`.
100101
* This message has not been relayed before.
101-
This is the reason we need the nonce value, to enable us to send multiple messages that would be otherwise identical.
102+
103+
This is the reason we need the nonce value, to enable us to send multiple messages that would be otherwise identical.
102104

103105
5. If everything checks out, `L2ToL2CrossDomainMessenger` calls the destination contract with the calldata provided in the message.
104106

0 commit comments

Comments
 (0)