Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a custom field to the ethconfig.Config to test deserialisation #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jp-imx
Copy link
Owner

@jp-imx jp-imx commented Sep 5, 2024

To test, run:

make all
 ./build/bin/geth --config custom-config.toml 

Expected behaviour: toml file is deserialised successfully.

Actual behaviour:

./build/bin/geth --config custom-config.toml
INFO [09-05|12:43:39.710] Starting Geth on Ethereum mainnet...
INFO [09-05|12:43:39.711] Bumping default cache on mainnet         provided=1024 updated=4096
Fatal: custom-config.toml, line 23: field 'CustomField' is not defined in ethconfig.Config, see https://godoc.org/github.com/ethereum/go-ethereum/eth/ethconfig#Config for available fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant