Skip to content

Commit 269f902

Browse files
committed
update readme to match latest config changes
1 parent 48769bd commit 269f902

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Finally, if it's non-empty, the submit task attempts to get a signature for the
8686
The Builder is configured via environment variables. The following values are supported for configuration.
8787

8888
Key | Required | Description
89-
----------------------------- | -------- | ------------------------------------------------------------------------------
89+
----------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------
9090
`RUST_LOG` | No | The log level of the builder
9191
`CHAIN_NAME` | No | The chain name ("pecorino", or the corresponding name)
9292
`HOST_RPC_URL` | Yes | RPC endpoint for the host chain
@@ -97,7 +97,8 @@ Key | Required | Description
9797
`FLASHBOTS_ENDPOINT` | No | Flashbots API to submit blocks to
9898
`ROLLUP_BLOCK_GAS_LIMIT` | No | Override for rollup block gas limit
9999
`MAX_HOST_GAS_COEFFICIENT` | No | Optional maximum host gas coefficient, as a percentage, to use when building blocks
100-
`BUILDER_KEY` | Yes | AWS KMS key ID _or_ local private key for builder signing
100+
`BUILDER_KEY` | Yes | AWS KMS key ID _or_ local private key for builder signin
101+
`BLOCK_QUERY_CUTOFF_BUFFER` | Yes | Number of milliseconds before the end of the slot to stop querying for new transactions and start the block signing and submission process
101102
`AWS_ACCESS_KEY_ID` | No | AWS secret access key ID (required if not using `BUILDER_KEY`)
102103
`AWS_SECRET_ACCESS_KEY` | No | AWS secret access key (required if not using `BUILDER_KEY`)
103104
`AWS_DEFAULT_REGION` | No | AWS region for the KMS key in question (required if not using `BUILDER_KEY`)

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub struct BuilderConfig {
158158
/// Number of seconds before the end of the slot to stop querying for new blocks
159159
#[from_env(
160160
var = "BLOCK_QUERY_CUTOFF_BUFFER",
161-
desc = "Number of milliseconds before the end of the slot to stop querying for new blocks",
161+
desc = "Number of milliseconds before the end of the slot to stop querying for new transactions and start the block signing and submission process",
162162
default = 3000
163163
)]
164164
pub block_query_cutoff_buffer: u64,

0 commit comments

Comments
 (0)