Roy Crihfield
00141776bf
* Refactors to replace most of the code with the statediff plugin. * Adds basic CI test workflows for Gitea * Refactors fixtures to use https://git.vdb.to/cerc-io/eth-testing * Renames env vars for consistency with flags and other services: - LOGRUS_{LEVEL,FILE} => LOG_LEVEL, etc. - LVL_DB_PATH => LEVELDB_PATH - ANCIENT_DB_PATH => LEVELDB_ANCIENT - These will need to be updated wherever they are used Reviewed-on: #1
38 lines
957 B
TOML
38 lines
957 B
TOML
[database]
|
|
name = "cerc_testing"
|
|
hostname = "localhost"
|
|
port = 8077
|
|
user = "vdbm"
|
|
password = "password"
|
|
|
|
[leveldb]
|
|
path = "/Users/user/go/src/github.com/cerc-io/ipld-eth-state-snapshot/fixture/chain2data"
|
|
ancient = "/Users/user/go/src/github.com/cerc-io/ipld-eth-state-snapshot/fixture/chain2data/ancient"
|
|
|
|
[log]
|
|
level = "info"
|
|
file = "" # Leave blank to output to stdout
|
|
|
|
[prom]
|
|
metrics = true
|
|
http = true
|
|
httpAddr = "0.0.0.0"
|
|
httpPort = 9101
|
|
dbStats = true
|
|
|
|
[snapshot]
|
|
mode = "file"
|
|
workers = 4
|
|
blockHeight = 32
|
|
recoveryFile = "recovery_file"
|
|
|
|
[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
|