Skip to content

Commit 0f1806c

Browse files
authored
Merge pull request #53 from blockscout/fi-celo-accounts
Add Celo Account envs
2 parents 1612512 + 20f7819 commit 0f1806c

File tree

2 files changed

+68
-62
lines changed

2 files changed

+68
-62
lines changed

setup/env-variables/backend-envs-chain-specific.mdx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,16 +264,20 @@ Supported together with setting `CHAIN_TYPE=celo`
264264

265265
</Info>
266266

267-
| Variable | Description | Parameters |
268-
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
267+
| Variable | Description | Parameters |
268+
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
269269
| `CELO_CORE_CONTRACTS` | JSON dictionary containing the addresses and metadata of core CELO network contracts. Read detailed description down below. Implemented in [#9713](https://github.com/blockscout/blockscout/pull/9713). | Version: v6.8.0+ <br />Default: (empty) <br />Applications: API, Indexer |
270-
| `CELO_L2_MIGRATION_BLOCK` | Specifies the block number at which Celo transitioned from L1 to L2, disabling legacy L1 mechanisms (e.g., L1 epochs, old precompiles) once the migration block is indexed. Implemented in [#11949](https://github.com/blockscout/blockscout/pull/11949). | Version: v8.0.0+ <br />Applications: API, Indexer |
270+
| `CELO_L2_MIGRATION_BLOCK` | Specifies the block number at which Celo transitioned from L1 to L2, disabling legacy L1 mechanisms (e.g., L1 epochs, old precompiles) once the migration block is indexed. Implemented in [#11949](https://github.com/blockscout/blockscout/pull/11949). | Version: v8.0.0+ <br />Applications: API, Indexer |
271271
| `INDEXER_DISABLE_CELO_EPOCH_FETCHER` | If set to `true`, the epoch rewards fetcher will not be started. However, epoch blocks pending to fetch will still be imported into the database. Implemented in [#9944](https://github.com/blockscout/blockscout/pull/9944). | Version: v6.8.0+ <br />Default: `false` <br />Applications: Indexer |
272272
| `INDEXER_DISABLE_CELO_VALIDATOR_GROUP_VOTES_FETCHER` | If set to `true`, the validator group votes fetcher will not be started. Implemented in [#10673](https://github.com/blockscout/blockscout/pull/10673). | Version: v6.9.0+ <br />Default: `false` <br />Applications: Indexer |
273273
| `INDEXER_CELO_VALIDATOR_GROUP_VOTES_BATCH_SIZE` | Specifies the block range size for the `eth_getLogs` request, determining the number of blocks included between `toBlock` and `fromBlock`. Implemented in [#9944](https://github.com/blockscout/blockscout/pull/9944). | Version: v6.8.0+ <br />Default: `200000` <br />Applications: Indexer |
274-
| `CELO_UNRELEASED_TREASURY_CONTRACT` | The address of the `CeloUnreleasedTreasury` core contract. Implemented in [#12373](https://github.com/blockscout/blockscout/pull/12373). | Version: v9.2.0+ <br />Default: (empty) <br />Applications: Indexer |
275-
| `CELO_VALIDATORS_CONTRACT` | The address of the `Validators` core contract. Implemented in [#12373](https://github.com/blockscout/blockscout/pull/12373). | Version: v9.2.0+ <br />Default: (empty) <br />Applications: Indexer |
276-
| `CELO_EPOCH_MANAGER_CONTRACT` | The address of the `EpochManager` core contract. Implemented in [#12373](https://github.com/blockscout/blockscout/pull/12373). | Version: v9.2.0+ <br />Default: (empty) <br />Applications: Indexer |
274+
| `CELO_UNRELEASED_TREASURY_CONTRACT` | The address of the `CeloUnreleasedTreasury` core contract. Implemented in [#12373](https://github.com/blockscout/blockscout/pull/12373). | Version: v9.2.0+ <br />Default: (empty) <br />Applications: Indexer |
275+
| `CELO_VALIDATORS_CONTRACT` | The address of the `Validators` core contract. Implemented in [#12373](https://github.com/blockscout/blockscout/pull/12373). | Version: v9.2.0+ <br />Default: (empty) <br />Applications: Indexer |
276+
| `CELO_EPOCH_MANAGER_CONTRACT` | The address of the `EpochManager` core contract. Implemented in [#12373](https://github.com/blockscout/blockscout/pull/12373). | Version: v9.2.0+ <br />Default: (empty) <br />Applications: Indexer |
277+
| `CELO_LOCKED_GOLD_CONTRACT` | The address of the `LockedGold` core contract. Implemented in [#12893](https://github.com/blockscout/blockscout/pull/12893). | Version: v9.2.0+ <br />Default: (empty)<br />Applications: Indexer |
278+
| `CELO_ACCOUNTS_CONTRACT` | The address of the `Accounts` core contract. Implemented in [#12893](https://github.com/blockscout/blockscout/pull/12893). | Version: v9.2.0+ <br />Default: (empty)<br />Applications: Indexer |
279+
| `INDEXER_CELO_ACCOUNTS_CONCURRENCY` | Sets the maximum number of concurrent requests for fetching Celo accounts. | Version: v9.2.0+ <br />Default: `1`<br />Applications: Indexer |
280+
| `INDEXER_CELO_ACCOUNTS_BATCH_SIZE` | Specifies the number of account addresses processed per batch during fetching. | Version: v9.2.0+ <br />Default: `100`<br />Applications: Indexer |
277281

278282
<Accordion title="Details on `CELO_CORE_CONTRACTS`">
279283
The CELO network includes several core contracts that are central to its operation. These core contracts manage various aspects of the Celo network, including its stablecoins, governance, identity, and more.
@@ -326,4 +330,4 @@ Supported together with setting `CHAIN_TYPE=blackfort`
326330

327331
| Variable | Description | Parameters |
328332
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
329-
| `BLACKFORT_VALIDATOR_API_URL` | Variable to define the URL of the Blackfort Validator API. Implemented in [#10744](https://github.com/blockscout/blockscout/pull/10744). | Version: v6.9.0+ <br />Default: (empty) <br />Applications: API, Indexer |
333+
| `BLACKFORT_VALIDATOR_API_URL` | Variable to define the URL of the Blackfort Validator API. Implemented in [#10744](https://github.com/blockscout/blockscout/pull/10744). | Version: v6.9.0+ <br />Default: (empty) <br />Applications: API, Indexer |

0 commit comments

Comments
 (0)