Skip to content

Node can't read StateScheme entries in configuration file #2053

@YuXiaoCoder

Description

@YuXiaoCoder

System information

Geth version: 1.3.5
OS & Version: Linux
Commit hash : (if develop)

Expected behaviour

With the StateScheme set to path in config.toml, run the node as configured

Actual behaviour

Configuration not recognized, node was run with default value hash

Steps to reproduce the behaviour

cat /mnt/bscmain/conf/config.toml | grep -i state
StateHistory = 90000
StateScheme = "path"
/opt/bscmain/core/geth --config=/mnt/bscmain/conf/config.toml --rpc.allow-unprotected-txs --history.transactions=0 --pruneancient

When submitting logs: please submit them as text and not screenshots.

INFO [12-11|11:09:41.977] Maximum peer count                       ETH=200 LES=0 total=200
INFO [12-11|11:09:41.979] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
WARN [12-11|11:09:41.979] Option nousb is deprecated and USB is deactivated by default. Use --usb to enable
INFO [12-11|11:09:41.987] Enabling recording of key preimages since archive mode is used
INFO [12-11|11:09:41.988] Using pebble as the backing database
INFO [12-11|11:09:41.989] Allocated cache and file handles         database=/mnt/bscmain/node/geth/geth/chaindata cache=409.00MiB handles=524,288 "memory table"=102.25MiB
INFO [12-11|11:09:42.033] Opened ancient database                  database=/mnt/bscmain/node/geth/geth/chaindata/ancient/chain readonly=false frozen=0
INFO [12-11|11:09:42.037] State schema set to default              scheme=hash
INFO [12-11|11:09:42.037] Freezer shutting down
INFO [12-11|11:09:42.165] Set global gas cap                       cap=50,000,000
INFO [12-11|11:09:42.166] Initializing the KZG library             backend=gokzg
INFO [12-11|11:09:42.189] Using pebble as the backing database
INFO [12-11|11:09:42.189] Allocated cache and file handles         database=/mnt/bscmain/node/geth/geth/chaindata cache=16.00MiB  handles=16      "memory table"=4.00MiB
INFO [12-11|11:09:42.211] Opened ancient database                  database=/mnt/bscmain/node/geth/geth/chaindata/ancient/chain readonly=false frozen=0
INFO [12-11|11:09:42.213] State schema set to default              scheme=hash

Metadata

Metadata

Assignees

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