You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`rpc_url`|`Option<Url>`|`ESPRESSO_SEQUENCER_L1_PROVIDER`| Automatically launched Avil node if not provided. | The JSON-RPC endpoint of the L1. If not provided, an Avil node will be launched automatically. |
19
-
|`mnemonic`|`String`|`ESPRESSO_SEQUENCER_ETH_MNEMONIC`|`test test test test test test test test test test test junk`| Mnemonic for an L1 wallet. This wallet is used to deploy the contracts, so the account indicated by `ACCOUNT_INDEX` must be funded with ETH. |
20
-
|`account_index`|`u32`|`ESPRESSO_DEPLOYER_ACCOUNT_INDEX`|`0`| Account index of the L1 wallet generated from `MNEMONIC`. Used when deploying contracts. |
21
-
|`sequencer_api_port`|`u16`|`ESPRESSO_SEQUENCER_API_PORT`| Required | Port that the HTTP API will use. |
22
-
|`sequencer_api_max_connections`|`Option<usize>`|`ESPRESSO_SEQUENCER_MAX_CONNECTIONS`| None | Maximum concurrent connections allowed by the HTTP API server. |
23
-
|`builder_port`|`Option<u16>`|`ESPRESSO_BUILDER_PORT`| An unused port | Port for connecting to the builder. |
24
-
|`prover_port`|`Option<u16>`|`ESPRESSO_PROVER_PORT`| An unused port | Port for connecting to the prover. If this is not provided, an available port will be selected. |
25
-
|`dev_node_port`|`u16`|`ESPRESSO_DEV_NODE_PORT`|`20000`| Port for the dev node. This is used to provide tools and information to facilitate developers debugging. |
18
+
| Name | Type | Environment Variable | Default Value | Description |
|`rpc_url`|`Option<Url>`|`ESPRESSO_SEQUENCER_L1_PROVIDER`| Automatically launched Avil node if not provided. | The JSON-RPC endpoint of the L1. If not provided, an Avil node will be launched automatically. |
21
+
|`mnemonic`|`String`|`ESPRESSO_SEQUENCER_ETH_MNEMONIC`|`test test test test test test test test test test test junk`| Mnemonic for an L1 wallet. This wallet is used to deploy the contracts, so the account indicated by`ACCOUNT_INDEX` must be funded with ETH. |
22
+
|`account_index`|`u32`|`ESPRESSO_DEPLOYER_ACCOUNT_INDEX`|`0`| Account index of the L1 wallet generated from`MNEMONIC`. Used when deploying contracts. |
23
+
|`sequencer_api_port`|`u16`|`ESPRESSO_SEQUENCER_API_PORT`| Required | Port that the HTTP API will use. |
24
+
|`sequencer_api_max_connections`|`Option<usize>`|`ESPRESSO_SEQUENCER_MAX_CONNECTIONS`| None | Maximum concurrent connections allowed by the HTTP API server. |
25
+
|`builder_port`|`Option<u16>`|`ESPRESSO_BUILDER_PORT`| An unused port | Port for connecting to the builder. |
26
+
|`prover_port`|`Option<u16>`|`ESPRESSO_PROVER_PORT`| An unused port | Port for connecting to the prover. If this is not provided, an available port will be selected. |
27
+
|`dev_node_port`|`u16`|`ESPRESSO_DEV_NODE_PORT`|`20000`| Port for the dev node. This is used to provide tools and information to facilitate developers debugging. |
28
+
|`update_interval`|`Duration`|`ESPRESSO_STATE_PROVER_UPDATE_INTERVAL`|`20s`| The frequency of updating the light client state |
29
+
|`retry_interval`|`Duration`|`ESPRESSO_STATE_PROVER_RETRY_INTERVAL`|`2s`| Interval between retries if a state update fails. |
30
+
|`alt_chain_providers`|`Vec<Url>`|`ESPRESSO_DEPLOYER_ALT_CHAIN_PROVIDERS`|`None`| Optional list of URLs representing alternate chains where the dev node will deploy Light client contracts and submit Light contract state updates. Useful for test environments involving L3s. |
31
+
|`alt_mnemonics`|`Vec<String>`|`ESPRESSO_DEPLOYER_ALT_MNEMONICS`|`None`| Optional list of mnemonics for the alternate chains. If there are fewer mnemonics provided than chains, the base `MNEMONIC` will be used. |
32
+
|`alt_account_indices`|`Vec<u32>`|`ESPRESSO_SEQUENCER_DEPLOYER_ALT_INDICES`|`None`| Optional list of account indices to use when deploying the contracts. If there are fewer indices provided than chains, the base ACCOUNT_INDEX will be used. |
33
+
|`alt_prover_update_intervals`|`Vec<Duration>`|`ESPRESSO_STATE_PROVER_ALT_UPDATE_INTERVALS`|`None`| The frequency of updating the light client state for alternate chains. If there are fewer provided than chains, the base update_interval will be used. |
34
+
|`alt_prover_retry_intervals`|`Vec<Duration>`|`ESPRESSO_STATE_PROVER_ALT_RETRY_INTERVALS`|`None`| Interval between retries if a state update fails for alternate chains. If there are fewer intervals provided than chains, the base retry_interval will be used. |
26
35
27
36
## APIs
28
37
@@ -42,9 +51,23 @@ An example response is like this:
/// Alternate account indices generated by the mnemonics to use when deploying the contracts. If there are fewer indices provided than chains, the base ACCOUNT_INDEX will be used.
0 commit comments