From 23c4d228857e18ebd30f8bed1c94fc2bc338442c Mon Sep 17 00:00:00 2001 From: nabarun Date: Wed, 25 May 2022 18:15:08 +0530 Subject: [PATCH] Add ethereum config to fix db import in file mode --- README.md | 8 ++++++++ environments/example.toml | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/README.md b/README.md index 1c0bed2..ca4744e 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,12 @@ Config format: httpAddr = "0.0.0.0" # prometheus http host (default: 127.0.0.1) httpPort = 9101 # prometheus http port (default: 8086) dbStats = true # enable prometheus db stats (default: false) + +# node info +[ethereum] + clientName = "Geth" # $ETH_CLIENT_NAME + nodeID = "arch1" # $ETH_NODE_ID + networkID = "1" # $ETH_NETWORK_ID + chainID = "1" # $ETH_CHAIN_ID + genesisBlock = "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3" # $ETH_GENESIS_BLOCK ``` diff --git a/environments/example.toml b/environments/example.toml index d3d181a..9b2b5be 100644 --- a/environments/example.toml +++ b/environments/example.toml @@ -27,3 +27,10 @@ [file] outputDir = "output_dir/" + +[ethereum] + clientName = "Geth" # $ETH_CLIENT_NAME + nodeID = "arch1" # $ETH_NODE_ID + networkID = "1" # $ETH_NETWORK_ID + chainID = "1" # $ETH_CHAIN_ID + genesisBlock = "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3" # $ETH_GENESIS_BLOCK