Skip to content
Open
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
8 changes: 7 additions & 1 deletion setup/env-variables/backend-envs-chain-specific.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ Supported together with ENV setting `CHAIN_TYPE=optimism`
| `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). | Version: v6.10.0+ <br />Default: (empty) <br />Applications: Indexer |
| `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). | Version: v6.10.1+ <br />Default: (empty) <br />Applications: Indexer |
| `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). | Version: v6.10.1+ <br />Default: `25` <br />Applications: Indexer |
| `INDEXER_OPTIMISM_L2_ISTHMUS_TIMESTAMP` | Isthmus upgrade L2 block timestamp. Needed for operator fee determining. If set to `0`, the Isthmus is assumed to be active from genesis block. Implemented in [#13139](https://github.com/blockscout/blockscout/pull/13139). | Version: master <br />Default: (empty) <br />Applications: API, Indexer |
| `INDEXER_OPTIMISM_L2_INTEROP_START_BLOCK` | Defines a start block number for indexing interop messages (usually `0`). If not defined, the indexing is turned off. Implemented in [#11903](https://github.com/blockscout/blockscout/pull/11903). | Version: v8.0.0+ <br />Default: (empty) <br />Applications: Indexer |
| `INDEXER_OPTIMISM_L2_INTEROP_BLOCKS_CHUNK_SIZE` | Adjusts blocks chunk size when indexing failed relay transactions. Implemented in [#11903](https://github.com/blockscout/blockscout/pull/11903). | Version: v8.0.0+ <br />Default: `4` <br />Applications: Indexer |
| `INDEXER_OPTIMISM_INTEROP_PRIVATE_KEY` | 32-byte private key in form of `0x...` string. Required and used to `secp256k1` sign data being sent to `/api/v2/import/optimism/interop/` remote API endpoint. Implemented in [#11903](https://github.com/blockscout/blockscout/pull/11903). | Version: v8.0.0+ <br />Default: (empty) <br />Applications: API, Indexer |
Expand All @@ -189,7 +190,12 @@ Supported together with ENV setting `CHAIN_TYPE=optimism`
| `INDEXER_OPTIMISM_CHAINSCOUT_API_URL` | URL to Chainscout API to get instance info by chain ID. Must be omitted for local development. For production must be `https://chains.blockscout.com/api/chains/`. Implemented in [#11903](https://github.com/blockscout/blockscout/pull/11903). | Version: v8.0.0+ <br />Default: (empty) <br />Applications: API, Indexer |
| `INDEXER_OPTIMISM_CHAINSCOUT_FALLBACK_MAP` | Defines `chain_id -> instance_url` map, for example: `{"10": "https://optimism.blockscout.com/", "8453": "https://base.blockscout.com/"}`. Supports extended format like `{"123": {"api": "https://test.blockscout.com:4000/", "ui": "https://test.blockscout.com:3000/"}}` (when backend and frontend have different URLs). Quotes usually are escaped when defining in config file, e.g.: `INDEXER_OPTIMISM_CHAINSCOUT_FALLBACK_MAP="{\"420120000\":\"http://host.docker.internal:4100/\"}"`. Implemented in [#11903](https://github.com/blockscout/blockscout/pull/11903). | Version: v8.0.0+ <br />Default: (empty) <br />Applications: API, Indexer |
| `INDEXER_OPTIMISM_MULTICHAIN_BATCH_SIZE` | Max number of items sent to the Multichain service in one batch. Implemented in [#12387](https://github.com/blockscout/blockscout/pull/12387). | Version: v9.0.0\+ <br />Default: `100` <br />Applications: Indexer |
| `INDEXER_DISABLE_OPTIMISM_INTEROP_MULTICHAIN_EXPORT` | Disables exporting of interop messages to Multichain service. Implemented in [#13051](https://github.com/blockscout/blockscout/pull/13051). | Version: v9.1.0\+ <br />Default: `true` <br />Applications: Indexer |
| `INDEXER_DISABLE_OPTIMISM_INTEROP_MULTICHAIN_EXPORT` | Disables exporting of interop messages to Multichain service. Implemented in [#13051](https://github.com/blockscout/blockscout/pull/13051). | Version: v9.1.0\+ <br />Default: `true` <br />Applications: Indexer |
| `INDEXER_OPTIMISM_OPERATOR_FEE_QUEUE_BATCH_SIZE` | Batch size for OP operator fee fetcher. Defines max number of transactions handled per batch. Implemented in [#13139](https://github.com/blockscout/blockscout/pull/13139). | Version: master <br />Default: `100`<br />Applications: Indexer |
| `INDEXER_OPTIMISM_OPERATOR_FEE_QUEUE_CONCURRENCY` | Concurrency for OP operator fee fetcher. Implemented in [#13139](https://github.com/blockscout/blockscout/pull/13139). | Version: master <br />Default: `3`<br />Applications: Indexer |
| `INDEXER_OPTIMISM_OPERATOR_FEE_QUEUE_ENQUEUE_BUSY_WAITING_TIMEOUT` | Timeout before new attempt to append item to OP operator fee fetcher queue if it's full. [Time format](backend-env-variables.md#time-format). Implemented in [#13139](https://github.com/blockscout/blockscout/pull/13139). | Version: master <br />Default: `1s`<br />Applications: Indexer |
| `INDEXER_OPTIMISM_OPERATOR_FEE_QUEUE_MAX_QUEUE_SIZE` | Maximum size of OP operator fee fetcher queue. Implemented in [#13139](https://github.com/blockscout/blockscout/pull/13139). | Version: master <br />Default: `1000`<br />Applications: Indexer |
| `INDEXER_OPTIMISM_OPERATOR_FEE_QUEUE_INIT_QUERY_LIMIT` | Limit of the init query for processing the OP operator fee fetcher queue. Implemented in [#13139](https://github.com/blockscout/blockscout/pull/13139). | Version: master <br />Default: `1000`<br />Applications: Indexer |

## zkSync Rollup Management

Expand Down