From 179fa4ae46feef857d6bb6cc42cfd16e0bb3d4ed Mon Sep 17 00:00:00 2001 From: raina Date: Wed, 13 Mar 2024 15:43:10 +0800 Subject: [PATCH] chore: fix readme --- README.builder.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.builder.md b/README.builder.md index b21cf36e17..6b2c8eb77b 100644 --- a/README.builder.md +++ b/README.builder.md @@ -13,20 +13,23 @@ See also: https://github.com/bnb-chain/BEPs/pull/322 Builder-related settings are configured in the `config.toml` file. The following is an example of a `config.toml` file: ``` -[Eth.Miner.Bidder] -Enable = true -Account = {{BUILDER_ADDRESS}} -DelayLeftOver = {{DELAY_LEFT_OVER}} - -[[Eth.Miner.Bidder.Validators]] +[Eth.Miner.Mev] +Enabled = false +ValidatorCommission = 100 +BidSimulationLeftOver = 50 +BuilderEnabled = true +BuilderAccount = {{BUILDER_ADDRESS}} + +[[Eth.Miner.Mev.Validators]] Address = {{VALIDATOR_ADDRESS}} URL = {{VALIDATOR_URL}} ... ``` -- `Enable`: Whether to enable the builder. -- `Account`: The account address to unlock of the builder. -- `DelayLeftOver`: Submit bid no later than `DelayLeftOver` before the next block time. +- `Enabled`: Whether to enable validator mev. +- `BuilderEnabled`: Whether to enable the builder mev. +- `BuilderAccount`: The account address to unlock of the builder. +- `BidSimulationLeftOver`: The left over of the bid simulation. - `Validators`: A list of validators to bid for. - `Address`: The address of the validator. - `URL`: The URL of the validator.