Skip to content

root_hash_use_sparse_trie=true and root_hash_compare_sparse_trie=false must be set #589

@ohko4711

Description

@ohko4711

my config(refer from live-example.toml):

# ref: https://github.com/flashbots/rbuilder/blob/develop/docs/CONFIG.md
# use: ./rbuilder run config.toml

log_level = "info,rbuilder=debug"
log_color = true
redacted_telemetry_server_port = 6061
redacted_telemetry_server_ip = "0.0.0.0"
full_telemetry_server_port = 6060
full_telemetry_server_ip = "0.0.0.0"

reth_datadir = "./execution-data"

relay_secret_key = "xxx"


# cl_node_url can be a single value, array of values, or passed by an environment variables with values separated with a comma
cl_node_url = "http://localhost:5052"
# cl_node_url = ["env:CL_NODE_URL"]
jsonrpc_server_port = 8645
jsonrpc_server_ip = "0.0.0.0"
el_node_ipc_path = "./execution-data/reth.ipc"
extra_data = "pectra-devnet-1-builder"

ignore_cancellable_orders = true

# ref:https://collective.flashbots.net/t/announcing-multi-client-support-for-rbuilder/4895
watchdog_timeout_sec = 600
simulation_threads = 4

sbundle_mergeable_signers = []
live_builders = ["mp-ordering", "mgp-ordering"]

#enabled_relays = ["flashbots"]

# fix: Error: root_hash_use_sparse_trie=true and root_hash_compare_sparse_trie=false must be set, otherwise node will produce incorrect blocks or confusing error messages. These settings are enforced temporarily because upstream parallel root hash implementation is not correct.
# root_hash_use_sparse_trie = true
# root_hash_compare_sparse_trie = false


# This can be used with test-relay
[[relays]]
name = "local-relay"
url = "http://localhost:9062"
priority = 0

[[builders]]
name = "mgp-ordering"
algo = "ordering-builder"
discard_txs = true
sorting = "mev-gas-price"
failed_order_retries = 1
drop_failed_orders = true

[[builders]]
name = "mp-ordering"
algo = "ordering-builder"
discard_txs = true
sorting = "max-profit"
failed_order_retries = 1
drop_failed_orders = true

Error: root_hash_use_sparse_trie=true and root_hash_compare_sparse_trie=false must be set, otherwise node will produce incorrect blocks or confusing error messages. These settings are enforced temporarily because upstream parallel root hash implementation is not correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions