Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Envs for OP Holocene upgrade #351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions setup/env-variables/backend-env-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ _**Note**_**: Before release 5.1.2, all environment variables of time format sup
| `CUSTOM_CONTRACT_ADDRESSES_${tag_name}` | Specify addresses for some label. More info in [#6316](https://github.com/blockscout/blockscout/pull/6316) | <p>Version: v5.0.0+<br>Default: (empty)<br>Applications: API</p> |
| `SESSION_COOKIE_DOMAIN` | Value of this env will be added to domain of session cookie. Implemented in [#6544](https://github.com/blockscout/blockscout/pull/6544) | <p>Version: v5.0.0+<br>Default: (empty)<br>Applications: API</p> |
| `DECODE_NOT_A_CONTRACT_CALLS` | Allows decoding of contract calls directed to addresses which are not contracts. Implemented in [#6541](https://github.com/blockscout/blockscout/pull/6541) | <p>Needs Recompile: ☑️<br>Version: v5.1.0+<br>Default: <code>false</code><br>Applications: API</p> |
| `EIP_1559_ELASTICITY_MULTIPLIER` | EIP-1559 elasticity multiplier. Implemented in [#7253](https://github.com/blockscout/blockscout/pull/7253) | <p>Version: v5.1.3+<br>Default: <code>2</code><br>Applications: API</p> |
| `EIP_1559_BASE_FEE_MAX_CHANGE_DENOMINATOR` | EIP-1559 base fee max change denominator. Implemented in [#9202](https://github.com/blockscout/blockscout/pull/9202) | <p>Version: v6.2.0+<br>Default: <code>8</code><br>Applications: API</p> |
| `EIP_1559_ELASTICITY_MULTIPLIER` | EIP-1559 elasticity multiplier. See also `INDEXER_OPTIMISM_L2_HOLOCENE_TIMESTAMP`. Implemented in [#7253](https://github.com/blockscout/blockscout/pull/7253) | <p>Version: v5.1.3+<br>Default: <code>2</code><br>Applications: API</p> |
| `EIP_1559_BASE_FEE_MAX_CHANGE_DENOMINATOR` | EIP-1559 base fee max change denominator. See also `INDEXER_OPTIMISM_L2_HOLOCENE_TIMESTAMP`. Implemented in [#9202](https://github.com/blockscout/blockscout/pull/9202) | <p>Version: v6.2.0+<br>Default: <code>8</code><br>Applications: API</p> |
| `TOKEN_INSTANCE_OWNER_MIGRATION_CONCURRENCY` | Concurrency of new fields backfiller implemented in [#8386](https://github.com/blockscout/blockscout/pull/8386) | <p>Version: v5.3.0+<br>Default: <code>5</code><br>Applications: API, Indexer</p> |
| `TOKEN_INSTANCE_OWNER_MIGRATION_BATCH_SIZE` | Batch size of new fields backfiller implemented in [#8386](https://github.com/blockscout/blockscout/pull/8386) | <p>Version: v5.3.0+<br>Default: <code>50</code><br>Applications: API, Indexer</p> |
| `TOKEN_INSTANCE_OWNER_MIGRATION_ENABLED` | Enable of backfiller from [#8386](https://github.com/blockscout/blockscout/pull/8386) implemented in [#8752](https://github.com/blockscout/blockscout/pull/8752) | <p>Version: v5.3.2+<br>Default: <code>false</code><br>Applications: API, Indexer</p> |
Expand Down
2 changes: 2 additions & 0 deletions setup/env-variables/backend-envs-chain-specific.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ Supported together with ENV setting `CHAIN_TYPE=optimism`
| `INDEXER_OPTIMISM_L1_START_BLOCK` | Optional. The number of L1 block from which the logs (events) scanning should start by the indexer. Used as a fallback number (when it cannot be read from the `SystemConfig` contract). Implemented in [#11073](https://github.com/blockscout/blockscout/pull/11073). | <p>Version: master<br>Default: (empty)<br>Applications: Indexer</p> |
| `INDEXER_OPTIMISM_L1_BATCH_INBOX` | Optional. The inbox address to index transaction batches on L1. Used as a fallback address (when it cannot be read from the `SystemConfig` contract). Implemented in [#11073](https://github.com/blockscout/blockscout/pull/11073). | <p>Version: master<br>Default: (empty)<br>Applications: Indexer</p> |
| `INDEXER_OPTIMISM_L1_BATCH_SUBMITTER` | Optional. The batch submitter address to index transaction batches on L1. Used as a fallback address (when it cannot be read from the `SystemConfig` contract). Implemented in [#11073](https://github.com/blockscout/blockscout/pull/11073). | <p>Version: master<br>Default: (empty)<br>Applications: Indexer</p> |
| `INDEXER_OPTIMISM_L2_HOLOCENE_TIMESTAMP` | Holocene upgrade L2 block timestamp. If not defined, EIP-1559's denominator and multiplier are taken from `EIP_1559_BASE_FEE_MAX_CHANGE_DENOMINATOR` and `EIP_1559_ELASTICITY_MULTIPLIER` envs correspondingly. Implemented in [#11355](https://github.com/blockscout/blockscout/pull/11355). | <p>Version: master<br>Default: (empty)<br>Applications: Indexer</p> |
| `INDEXER_OPTIMISM_L2_HOLOCENE_BLOCKS_CHUNK_SIZE` | Max number of blocks in `eth_getBlockByNumber` batch request. Implemented in [#11355](https://github.com/blockscout/blockscout/pull/11355). | <p>Version: master<br>Default: <code>25</code><br>Applications: Indexer</p> |


## <mark style="background-color:yellow;">zkSync Rollup Management</mark>
Expand Down
1 change: 1 addition & 0 deletions setup/information-and-settings/sharelock.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Note that this should always be enforced because as long as there is one DB tran
| Explorer.Chain.Optimism.FrameSequenceBlob | op\_frame\_sequence\_blobs | \[asc: :id\] |
| Explorer.Chain.Optimism.WithdrawalEvent | op\_withdrawal\_events | \[asc: :withdrawal\_hash, asc: :l1\_event\_type\] |
| Explorer.Chain.Optimism.Withdrawal | op\_withdrawals | \[asc: :msg\_nonce\] |
| Explorer.Chain.Optimism.EIP1559ConfigUpdate | op\_eip1559\_config\_updates | \[asc: :l2\_block\_number\] |
| Explorer.Chain.Address.TokenBalance | address\_token\_balances | \[asc: :address\_hash, asc: :token\_contract\_address\_hash, asc: :block\_number\] |
| Explorer.Chain.Address.CurrentTokenBalance | address\_current\_token\_balances | \[asc: :address\_hash, asc: :token\_contract\_address\_hash\] |
| Explorer.Chain.Scroll.Batch | scroll\_batches | \[asc: number\] |
Expand Down